=>> Building mail/alpine build started at Wed Oct 15 05:46:16 CDT 2025 port directory: /usr/ports/mail/alpine package name: alpine-2.26_3 building for: FreeBSD 143amd64-current-job-02 14.3-RELEASE FreeBSD 14.3-RELEASE amd64 maintained by: mbeis@xs4all.nl Makefile datestamp: -rw-r--r-- 1 root wheel 4526 Oct 14 17:31 /usr/ports/mail/alpine/Makefile Ports top last git commit: 356114b982d7 Ports top unclean checkout: no Port dir last git commit: 34d27bcd2758 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.3 Host OSVERSION: 1403000 Jail OSVERSION: 1403000 Job Id: 02 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE UNAME_r=14.3-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git USE_COLORS=no LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.3 MASTERMNT=/poudriere/data/.m/143amd64-current/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/poudriere/data/.m/143amd64-current/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=143amd64-current SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/poudriere/data/.m/143amd64-current/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.3 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for alpine-2.26_3: ASPELL=on: Spell checking support via GNU Aspell CONS25=off: Add a patch to support color for default console DOCS=on: Build and/or install documentation IPV6=on: IPv6 protocol support LDAP=on: LDAP protocol support MAILDIR=off: Add a patch to support maildir MOUSE=on: Mouse support NLS=on: Native Language Support NTLM=off: Support for Windows NT Lan Manager authentication PASSFILE=off: Support for a stored password file THREADS=on: Threading support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- mbeis@xs4all.nl --End MAINTAINER-- --CONFIGURE_ARGS-- --enable-background-post --with-debug-level=2 --with-password-prog=/usr/bin/passwd --with-ssl-certs-dir=/etc/ssl/certs --with-ssl-dir=/etc/ssl --with-ssl-include-dir=/usr/include --with-ssl-lib-dir=/usr/lib --with-system-fixed-pinerc=/usr/local/etc/alpine.conf.fixed --with-system-mail-directory=/var/mail --with-system-pinerc=/usr/local/etc/alpine.conf --without-krb5 --without-tcl --with-interactive-spellcheck=/usr/local/bin/aspell --with-ipv6 --with-ldap --enable-mouse --enable-nls --without-ntlm --without-passfile --without-passfile --with-pthread --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/alpine/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/alpine/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/alpine/work/.cache HOME=/wrkdirs/usr/ports/mail/alpine/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/alpine/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/alpine/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/mail/alpine/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/alpine/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/alpine/work/.cache HOME=/wrkdirs/usr/ports/mail/alpine/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/alpine/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/alpine/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/alpine" EXAMPLESDIR="share/examples/alpine" DATADIR="share/alpine" WWWDIR="www/alpine" ETCDIR="etc/alpine" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/alpine DOCSDIR=/usr/local/share/doc/alpine EXAMPLESDIR=/usr/local/share/examples/alpine WWWDIR=/usr/local/www/alpine ETCDIR=/usr/local/etc/alpine --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 63795 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License APACHE20 accepted by the user =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> alpine-2.26_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [143amd64-current-job-02] Installing pkg-2.3.1... [143amd64-current-job-02] Extracting pkg-2.3.1: .......... done ===> alpine-2.26_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of alpine-2.26_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =>> Debug: gather_distfiles: missing '/poudriere/data/.m/143amd64-current/02/portdistfiles//alpine-2.26.tar.gz' =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by alpine-2.26_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by alpine-2.26_3 for building => SHA256 Checksum OK for alpine-2.26.tar.gz. =========================================================================== =>> Debug: gather_distfiles: skipping copy '/poudriere/distfiles//alpine-2.26.tar.gz' =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by alpine-2.26_3 for building ===> Extracting for alpine-2.26_3 => SHA256 Checksum OK for alpine-2.26.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for alpine-2.26_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> alpine-2.26_3 depends on executable: aspell - not found ===> Installing existing package /packages/All/aspell-0.60.8.1_1,1.pkg [143amd64-current-job-02] Installing aspell-0.60.8.1_1,1... [143amd64-current-job-02] `-- Installing gettext-runtime-0.23.1... [143amd64-current-job-02] | `-- Installing indexinfo-0.3.1_1... [143amd64-current-job-02] | `-- Extracting indexinfo-0.3.1_1: .... done [143amd64-current-job-02] `-- Extracting gettext-runtime-0.23.1: .......... done [143amd64-current-job-02] `-- Installing perl5-5.42.0_1... [143amd64-current-job-02] | `-- Installing gdbm-1.26... [143amd64-current-job-02] | | `-- Installing readline-8.2.13_2... [143amd64-current-job-02] | | `-- Extracting readline-8.2.13_2: .......... done [143amd64-current-job-02] | `-- Extracting gdbm-1.26: .......... done [143amd64-current-job-02] `-- Extracting perl5-5.42.0_1: .......... done [143amd64-current-job-02] Extracting aspell-0.60.8.1_1,1: .......... done ===> alpine-2.26_3 depends on executable: aspell - found ===> Returning to build of alpine-2.26_3 ===> alpine-2.26_3 depends on package: gettext-runtime>=0.22_1 - found ===> alpine-2.26_3 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [143amd64-current-job-02] Installing ccache-3.7.12_8... [143amd64-current-job-02] Extracting ccache-3.7.12_8: .......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> alpine-2.26_3 depends on file: /usr/local/bin/ccache - found ===> Returning to build of alpine-2.26_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> alpine-2.26_3 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> alpine-2.26_3 depends on shared library: libldap.so.2 - not found ===> Installing existing package /packages/All/openldap26-client-2.6.10.pkg [143amd64-current-job-02] Installing openldap26-client-2.6.10... [143amd64-current-job-02] `-- Installing cyrus-sasl-2.1.28_5... [143amd64-current-job-02] | `-- Installing lmdb-0.9.33,1... [143amd64-current-job-02] | `-- Extracting lmdb-0.9.33,1: .......... done *** Added group `cyrus' (id 60) *** Added user `cyrus' (id 60) [143amd64-current-job-02] `-- Extracting cyrus-sasl-2.1.28_5: .......... done [143amd64-current-job-02] Extracting openldap26-client-2.6.10: .......... done ===== Message from cyrus-sasl-2.1.28_5: -- You can use sasldb2 for authentication, to add users use: saslpasswd2 -c username If you want to enable SMTP AUTH with the system Sendmail, read Sendmail.README NOTE: This port has been compiled with a default pwcheck_method of auxprop. If you want to authenticate your user by /etc/passwd, PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and set sasl_pwcheck_method to saslauthd after installing the Cyrus-IMAPd 2.X port. You should also check the /usr/local/lib/sasl2/*.conf files for the correct pwcheck_method. If you want to use GSSAPI mechanism, install ports/security/cyrus-sasl2-gssapi. If you want to use SRP mechanism, install ports/security/cyrus-sasl2-srp. If you want to use LDAP auxprop plugin, install ports/security/cyrus-sasl2-ldapdb. ===== Message from openldap26-client-2.6.10: -- The OpenLDAP client package has been successfully installed. Edit /usr/local/etc/openldap/ldap.conf to change the system-wide client defaults. Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at http://www.OpenLDAP.org/faq/index.cgi?file=3 for more information. ===> alpine-2.26_3 depends on shared library: libldap.so.2 - found (/usr/local/lib/libldap.so.2) ===> Returning to build of alpine-2.26_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for alpine-2.26_3 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/config.rpath configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk 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... amd64-portbld-freebsd14.3 checking host system type... amd64-portbld-freebsd14.3 configure: Configuring for alpine 2.26 (amd64-portbld-freebsd14.3) checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking how to run the C preprocessor... cpp checking for amd64-portbld-freebsd14.3-gcc... no checking for gcc... no checking for amd64-portbld-freebsd14.3-cc... no checking for cc... cc checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 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 how to run the C preprocessor... cc -E checking for cc option to accept ISO C99... none needed checking for cc 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) /usr/bin/awk checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /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 checking the name lister (/usr/bin/nm) interface... BSD nm checking the maximum length of command line arguments... (cached) 524288 checking how to convert amd64-portbld-freebsd14.3 file names to amd64-portbld-freebsd14.3 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd14.3 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd14.3 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... /bin/rm checking for cp... /bin/cp checking for ln... /bin/ln checking for ls... /bin/ls checking for sed... (cached) /usr/bin/sed checking for make... /usr/bin/make checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no 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... no checking for iconv... yes checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib checking option: dmalloc enabled... no checking option: debugging is enabled... yes 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 sendmail... /usr/sbin/sendmail checking for inews... no checking for /usr/bin/passwd... no checking for hunspell... no checking for aspell... aspell checking for aspell... /usr/local/bin/aspell checking for /usr/local/bin/aspell... no configure: Excluding TCL Support, and thus Web Alpine Support configure: * * * Setting up .alpine.pwd as default password file configure: --with-passfile definition overrides OS-Specific password caching checking for setupterm in -ltinfo... yes checking for library containing dlopen... none required 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 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... -D_THREAD_SAFE 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... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether termios.h defines TIOCGWINSZ... yes checking for unistd.h... (cached) yes checking for errno.h... (cached) yes checking for ctype.h... (cached) yes checking for fcntl.h... (cached) yes checking for signal.h... (cached) yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for memory.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/uio.h... (cached) yes checking for sys/un.h... (cached) yes checking for limits.h... (cached) yes checking for wchar.h... (cached) yes checking for sys/poll.h... (cached) yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking for netdb.h... (cached) 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 for locale.h... (cached) yes checking for langinfo.h... (cached) yes checking for utime.h... (cached) yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking for pthread.h... (cached) yes checking for pwd.h... (cached) 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... (cached) yes checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking for uid_t in sys/types.h... (cached) 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 for sys/select.h... (cached) 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 for vfork.h... (cached) no checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... yes checking for working vfork... (cached) yes checking for strchr... (cached) yes checking for memcpy... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for select... (cached) yes checking for poll... (cached) yes checking for qsort... yes checking for getuid... (cached) yes checking for getpwuid... yes checking for getpwnam... yes checking for gettimeofday... (cached) yes checking for tmpfile... yes checking for uname... (cached) yes checking for rename... (cached) yes checking for read... yes checking for signal... yes checking for setjmp... yes checking for chown... (cached) yes checking for wait4... (cached) yes checking for waitpid... (cached) yes checking for wait... (cached) yes checking for srandom... (cached) yes checking for popen... yes checking for pclose... yes checking for fsync... (cached) yes checking for truncate... (cached) yes checking for listen... yes checking for wcwidth... (cached) yes checking for mbstowcs... (cached) yes checking for wcrtomb... (cached) yes checking for wctomb... yes checking for putenv... (cached) yes checking for setenv... (cached) 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... (cached) yes checking for sigemptyset... yes checking for sigaddset... yes checking for sigprocmask... (cached) yes checking for library containing syslog... none required configure: * * * S/MIME support enabled 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 rm: libtoolT: No such file or directory config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for alpine-2.26_3 if test ! -L c-client ; then ln -s imap/c-client c-client ; fi touch imap/ip6 cd imap && /usr/bin/make bsf EXTRACFLAGS=" -I/usr/include -I/usr/local/include -I/usr/local/include/include -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -lcrypt -lldap -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo -llber" EXTRAAUTHENTICATORS="" EXTRASPECIALS="SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private" BUNDLED="no" +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 . touch ip6 make build EXTRACFLAGS='-I/usr/include -I/usr/local/include -I/usr/local/include/include -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -lcrypt -lldap -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo -llber' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private' BUNDLED='no' BUILDTYPE=bsf IP=6 PASSWDTYPE=pam SPECIALS="GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam" `ip6' is up to date. Building c-client for bsf... echo `cat SPECIALS` SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private > c-client/SPECIALS cd c-client;make bsf EXTRACFLAGS='-I/usr/include -I/usr/local/include -I/usr/local/include/include -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -lcrypt -lldap -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo -llber' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=nopwd IP=6 GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private BUNDLED='no' make build EXTRACFLAGS='-I/usr/include -I/usr/local/include -I/usr/local/include/include -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -lcrypt -lldap -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo -llber' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=bsf SIGTYPE=psx CRXTYPE=nfs SPOOLDIR=/var ACTIVEFILE=/usr/local/news/lib/active RSHPATH=/usr/bin/rsh BASECFLAGS="-O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing " BASELDFLAGS="-lcrypt" 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 -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing '-I/usr/include -I/usr/local/include -I/usr/local/include/include -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" -DANONYMOUSHOME=\"/var/mail/anonymous\" -DACTIVEFILE=\"/usr/local/news/lib/active\" -DNEWSSPOOL=\"/var/news\" -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/usr/local/libexec/mlock\" -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" -DLOCKPGM3=\"/etc/mlock\" -DLOCKPGM4=\"/usr/bin/mlock\" > OSCFLAGS echo -lcrypt -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -lcrypt -lldap -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo -llber > 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 sha.o;ranlib c-client.a" > ARCHIVE echo bsf > OSTYPE ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths ext md5 pla log bea oa2 echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c sh -c '(test nopwd != none) && echo "int pith_ssl_encryption_version(char *);" >> linkage.h || true' ln -s os_bsf.h osdep.h ln -s os_bsf.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 bsf = sc5 -o bsf = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || grep -F statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' PAM password authentication echo -lpam >> LDFLAGS ln -s ckp_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/etc/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/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 bsf SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from osdep.c:46: In file included from ./env_unix.c:259: ./pmatch.c:41:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 41 | if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:202:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 202 | if(read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size) < 0) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./auth_md5.c:205:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++); | ^ ~~~~ ./auth_md5.c:207:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 207 | lusr = *s ? lcase (cpystr (user)) : NIL; | ^~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here 83 | unsigned char *lcase (unsigned char *string); | ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:208:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | for (s = strtok_r ((char *) buf,"\015\012",&r),lret = NIL; s; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./auth_md5.c:209:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | s = ret ? NIL : strtok_r (NIL,"\015\012",&r)) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./auth_md5.c:211:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 211 | if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:211:35: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 211 | if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { | ^ ~~~~~~~~~~~~~~~ ./auth_md5.c:213:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | if (!strcmp (s,user)) ret = cpystr (t); | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:213:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | if (!strcmp (s,user)) ret = cpystr (t); | ^ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:214:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 214 | else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:214:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 214 | else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; | ^~~~ /usr/include/string.h:85:39: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:217:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 217 | if (!ret && lret) ret = cpystr (lret); | ^~~~ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ In file included from osdep.c:46: ./env_unix.c:679:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 679 | struct passwd *pw = getpwnam (user); | ^~~~ /usr/include/pwd.h:149:37: note: passing argument to parameter here 149 | struct passwd *getpwnam(const char *); | ^ In file included from osdep.c:46: ./env_unix.c:683:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 683 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ In file included from osdep.c:46: ./env_unix.c:683:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 683 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here 83 | unsigned char *lcase (unsigned char *string); | ^ In file included from osdep.c:46: ./env_unix.c:683:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 683 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pwd.h:149:37: note: passing argument to parameter here 149 | struct passwd *getpwnam(const char *); | ^ In file included from osdep.c:46: ./env_unix.c:709:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 709 | ret = pwuser (user); /* validated, get passwd entry for user */ | ^~~~ ./env_unix.c:676:46: note: passing argument to parameter 'user' here 676 | static struct passwd *pwuser (unsigned char *user) | ^ ./env_unix.c:714:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 714 | else if ((pw = pwuser (user)) != NULL) {/* can get user? */ | ^~~~ ./env_unix.c:676:46: note: passing argument to parameter 'user' here 676 | static struct passwd *pwuser (unsigned char *user) | ^ ./env_unix.c:717:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 717 | (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) | ^ ./env_unix.c:676:46: note: passing argument to parameter 'user' here 676 | static struct passwd *pwuser (unsigned char *user) | ^ ./env_unix.c:748:58: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 748 | else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); | ^~~~ ./env_unix.c:676:46: note: passing argument to parameter 'user' here 676 | static struct passwd *pwuser (unsigned char *user) | ^ ./env_unix.c:766:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 766 | return pw_login (pwuser (user),authuser,user,NIL,argc,argv); | ^~~~ ./env_unix.c:676:46: note: passing argument to parameter 'user' here 676 | static struct passwd *pwuser (unsigned char *user) | ^ ./env_unix.c:805:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 805 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:805:59: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 805 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:808:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 808 | if (!compare_cstring (auser,*t++)) | ^~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:808:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 808 | if (!compare_cstring (auser,*t++)) | ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1093:47: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1093 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ^~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1093:54: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1093 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1103:63: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1103 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1103:67: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1103 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1127:55: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1127 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1127:59: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1127 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1141:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1141 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1141:29: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1141 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1155:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1155 | if (!compare_cstring (name+1,"NBOX")) { | ^~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1155:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1155 | if (!compare_cstring (name+1,"NBOX")) { | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1606:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1606 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1606:31: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1606 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1620:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1620 | if (!compare_cstring (s,"set new-mailbox-format") || | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1620:28: warning: passing 'char[23]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1620 | if (!compare_cstring (s,"set new-mailbox-format") || | ^~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1621:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1621 | !compare_cstring (s,"set new-folder-format")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1621:28: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1621 | !compare_cstring (s,"set new-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1622:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1622 | if (!compare_cstring (k,"same-as-inbox")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1622:30: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1622 | if (!compare_cstring (k,"same-as-inbox")) { | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1624:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1624 | if (!compare_cstring (d->name,"mbox")) | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1624:33: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1624 | if (!compare_cstring (d->name,"mbox")) | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1627:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1627 | else if (!compare_cstring (d->name,"dummy")) d = NIL; | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1627:38: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1627 | else if (!compare_cstring (d->name,"dummy")) d = NIL; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1631:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1631 | else if (!compare_cstring (k,"system-standard")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1631:35: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1631 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1634:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1634 | if (!compare_cstring (k,"mbox")) k = "unix"; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1634:32: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1634 | if (!compare_cstring (k,"mbox")) k = "unix"; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1645:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1645 | if (!compare_cstring (s,"set empty-mailbox-format") || | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1645:28: warning: passing 'char[25]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1645 | if (!compare_cstring (s,"set empty-mailbox-format") || | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1646:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1646 | !compare_cstring (s,"set empty-folder-format")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1646:28: warning: passing 'char[24]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1646 | !compare_cstring (s,"set empty-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1647:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1647 | if (!compare_cstring (k,"invalid")) appendProto = NIL; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1647:30: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1647 | if (!compare_cstring (k,"invalid")) appendProto = NIL; | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1648:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1648 | else if (!compare_cstring (k,"same-as-inbox")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1648:35: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1648 | else if (!compare_cstring (k,"same-as-inbox")) | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1650:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1650 | compare_cstring (d->name,"dummy")) ? | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1650:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1650 | compare_cstring (d->name,"dummy")) ? | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1652:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1652 | else if (!compare_cstring (k,"system-standard")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1652:35: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1652 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1656:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1656 | d && compare_cstring (d->name,k); d = d->next); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1656:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1656 | d && compare_cstring (d->name,k); d = d->next); | ^ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1667:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1667 | if (!compare_cstring (s,"set local-host")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1667:26: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1667 | if (!compare_cstring (s,"set local-host")) { | ^~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1671:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1671 | else if (!compare_cstring (s,"set news-active-file")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1671:31: warning: passing 'char[21]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1671 | else if (!compare_cstring (s,"set news-active-file")) { | ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1675:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1675 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1675:31: warning: passing 'char[25]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1675 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1679:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1679 | else if (!compare_cstring (s,"set mh-path")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1679:31: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1679 | else if (!compare_cstring (s,"set mh-path")) | ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1681:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1681 | else if (!compare_cstring (s,"set mh-allow-inbox")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1681:31: warning: passing 'char[19]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1681 | else if (!compare_cstring (s,"set mh-allow-inbox")) | ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1683:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1683 | else if (!compare_cstring (s,"set news-state-file")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1683:31: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1683 | else if (!compare_cstring (s,"set news-state-file")) { | ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1687:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1687 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1687:31: warning: passing 'char[25]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1687 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1691:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1691 | else if (!compare_cstring (s,"set public-home-directory")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1691:31: warning: passing 'char[26]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1691 | else if (!compare_cstring (s,"set public-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1695:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1695 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1695:31: warning: passing 'char[26]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1695 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1699:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1699 | else if (!compare_cstring (s,"set system-inbox")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1699:31: warning: passing 'char[17]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1699 | else if (!compare_cstring (s,"set system-inbox")) { | ^~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1703:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1703 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1703:31: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1703 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1707:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1707 | else if (!compare_cstring (s,"set from-widget")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1707:31: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1707 | else if (!compare_cstring (s,"set from-widget")) | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1709:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1709 | compare_cstring (k,"header-only") ? | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1709:26: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1709 | compare_cstring (k,"header-only") ? | ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1712:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1712 | else if (!compare_cstring (s,"set rsh-command")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1712:31: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1712 | else if (!compare_cstring (s,"set rsh-command")) | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1714:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1714 | else if (!compare_cstring (s,"set rsh-path")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1714:31: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1714 | else if (!compare_cstring (s,"set rsh-path")) | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1716:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1716 | else if (!compare_cstring (s,"set ssh-command")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1716:31: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1716 | else if (!compare_cstring (s,"set ssh-command")) | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1718:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1718 | else if (!compare_cstring (s,"set ssh-path")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1718:31: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1718 | else if (!compare_cstring (s,"set ssh-path")) | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1720:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1720 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1720:31: warning: passing 'char[21]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1720 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1722:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1722 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1722:31: warning: passing 'char[21]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1722 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1724:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1724 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1724:31: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1724 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1726:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1726 | else if (!compare_cstring (s,"set rsh-timeout")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1726:31: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1726 | else if (!compare_cstring (s,"set rsh-timeout")) | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1728:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1728 | else if (!compare_cstring (s,"set ssh-timeout")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1728:31: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1728 | else if (!compare_cstring (s,"set ssh-timeout")) | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1730:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1730 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1730:31: warning: passing 'char[25]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1730 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1732:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1732 | else if (!compare_cstring (s,"set lookahead")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1732:31: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1732 | else if (!compare_cstring (s,"set lookahead")) | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1734:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1734 | else if (!compare_cstring (s,"set prefetch")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1734:31: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1734 | else if (!compare_cstring (s,"set prefetch")) | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1736:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1736 | else if (!compare_cstring (s,"set close-on-error")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1736:31: warning: passing 'char[19]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1736 | else if (!compare_cstring (s,"set close-on-error")) | ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1738:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1738 | else if (!compare_cstring (s,"set imap-port")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1738:31: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1738 | else if (!compare_cstring (s,"set imap-port")) | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1740:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1740 | else if (!compare_cstring (s,"set pop3-port")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1740:31: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1740 | else if (!compare_cstring (s,"set pop3-port")) | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1742:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1742 | else if (!compare_cstring (s,"set uid-lookahead")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1742:31: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1742 | else if (!compare_cstring (s,"set uid-lookahead")) | ^~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1744:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1744 | else if (!compare_cstring (s,"set try-ssl-first")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1744:31: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1744 | else if (!compare_cstring (s,"set try-ssl-first")) | ^~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1747:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1747 | else if (!compare_cstring (s,"set mailbox-protection")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1747:31: warning: passing 'char[23]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1747 | else if (!compare_cstring (s,"set mailbox-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1749:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1749 | else if (!compare_cstring (s,"set directory-protection")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1749:31: warning: passing 'char[25]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1749 | else if (!compare_cstring (s,"set directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1751:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1751 | else if (!compare_cstring (s,"set lock-protection")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1751:31: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1751 | else if (!compare_cstring (s,"set lock-protection")) | ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1753:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1753 | else if (!compare_cstring (s,"set ftp-protection")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1753:31: warning: passing 'char[19]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1753 | else if (!compare_cstring (s,"set ftp-protection")) | ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1755:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1755 | else if (!compare_cstring (s,"set public-protection")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1755:31: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1755 | else if (!compare_cstring (s,"set public-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1757:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1757 | else if (!compare_cstring (s,"set shared-protection")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1757:31: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1757 | else if (!compare_cstring (s,"set shared-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1759:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1759 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1759:31: warning: passing 'char[29]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1759 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1761:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1761 | else if (!compare_cstring (s,"set public-directory-protection")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1761:31: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1761 | else if (!compare_cstring (s,"set public-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1763:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1763 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1763:31: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1763 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1765:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1765 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1765:31: warning: passing 'char[26]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1765 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1767:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1767 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1767:31: warning: passing 'char[26]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1767 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1769:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1769 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1769:31: warning: passing 'char[25]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1769 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1771:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1771 | else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1771:31: warning: passing 'char[35]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1771 | else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1773:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1773 | else if (!compare_cstring (s,"set hide-dot-files")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1773:31: warning: passing 'char[19]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1773 | else if (!compare_cstring (s,"set hide-dot-files")) | ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1775:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1775 | else if (!compare_cstring (s,"set list-maximum-level")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1775:31: warning: passing 'char[23]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1775 | else if (!compare_cstring (s,"set list-maximum-level")) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1777:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1777 | else if (!compare_cstring (s,"set trust-dns")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1777:31: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1777 | else if (!compare_cstring (s,"set trust-dns")) | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1779:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1779 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1779:31: warning: passing 'char[23]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1779 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1781:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1781 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1781:31: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1781 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1783:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1783 | else if (!compare_cstring (s,"set nntp-range")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1783:31: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1783 | else if (!compare_cstring (s,"set nntp-range")) | ^~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1787:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1787 | if (!compare_cstring (s,"set black-box-directory") && | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1787:28: warning: passing 'char[24]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1787 | if (!compare_cstring (s,"set black-box-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1789:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1789 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1789:32: warning: passing 'char[37]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1789 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1792:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1792 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1792:33: warning: passing 'char[29]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1792 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1799:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1799 | else if (!compare_cstring (s,"set CA-certificate-path")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1799:33: warning: passing 'char[24]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1799 | else if (!compare_cstring (s,"set CA-certificate-path")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1801:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1801 | else if (!compare_cstring (s,"set CA-certificate-container")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1801:33: warning: passing 'char[29]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1801 | else if (!compare_cstring (s,"set CA-certificate-container")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1803:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1803 | else if (!compare_cstring (s,"set disable-plaintext")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1803:33: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1803 | else if (!compare_cstring (s,"set disable-plaintext")) | ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1805:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1805 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1805:33: warning: passing 'char[27]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1805 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1807:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1807 | else if (!compare_cstring (s,"set chroot-server")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1807:33: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1807 | else if (!compare_cstring (s,"set chroot-server")) | ^~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1809:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1809 | else if (!compare_cstring (s,"set restrict-mailbox-access")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1809:33: warning: passing 'char[28]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1809 | else if (!compare_cstring (s,"set restrict-mailbox-access")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1811:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1811 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1811:32: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1811 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1812:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1812 | else if (!compare_cstring (k,"otherusers")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1812:37: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1812 | else if (!compare_cstring (k,"otherusers")) | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1814:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1814 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1814:37: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1814 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1816:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1816 | else if (!compare_cstring (s,"set advertise-the-world")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1816:33: warning: passing 'char[24]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1816 | else if (!compare_cstring (s,"set advertise-the-world")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1818:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1818 | else if (!compare_cstring (s,"set limited-advertise")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1818:33: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1818 | else if (!compare_cstring (s,"set limited-advertise")) | ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1821:7: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1821 | (s,"set disable-automatic-shared-namespaces")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1821:9: warning: passing 'char[40]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1821 | (s,"set disable-automatic-shared-namespaces")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1823:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1823 | else if (!compare_cstring (s,"set allow-user-config")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1823:33: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1823 | else if (!compare_cstring (s,"set allow-user-config")) | ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1825:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1825 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1825:33: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1825 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1827:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1827 | else if (!compare_cstring (s,"set k5-cp-uses-service-name")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1827:33: warning: passing 'char[28]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1827 | else if (!compare_cstring (s,"set k5-cp-uses-service-name")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1831:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1831 | else if (!compare_cstring (s,"set plaintext-allowed-clients")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1831:33: warning: passing 'char[30]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1831 | else if (!compare_cstring (s,"set plaintext-allowed-clients")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from osdep.c:46: ./env_unix.c:1910:6: warning: address of array 'userFlags' will always evaluate to 'true' [-Wpointer-bool-conversion] 1910 | if(userFlags){ | ~~ ^~~~~~~~~ In file included from osdep.c:49: In file included from ./tcp_unix.c:26: ./ip_unix.c:130:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { | ^~~~~~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here 83 | unsigned char *lcase (unsigned char *string); | ^ In file included from osdep.c:49: In file included from ./tcp_unix.c:26: ./ip_unix.c:130:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/netdb.h:251:30: note: passing argument to parameter here 251 | int getaddrinfo(const char *, const char *, | ^ In file included from osdep.c:49: In file included from ./tcp_unix.c:26: ./ip_unix.c:248:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 248 | (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, | ^~~~~~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here 83 | unsigned char *lcase (unsigned char *string); | ^ In file included from osdep.c:49: In file included from ./tcp_unix.c:26: ./ip_unix.c:248:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 248 | (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/netdb.h:251:30: note: passing argument to parameter here 251 | int getaddrinfo(const char *, const char *, | ^ In file included from osdep.c:49: ./tcp_unix.c:477:43: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] 477 | char *ret = tcp_getline_work (stream,&n,&contd); | ^~~~~~ ./tcp_unix.c:61:17: note: passing argument to parameter 'contd' here 61 | long *contd); | ^ ./tcp_unix.c:485:41: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] 485 | ret = tcp_getline_work (stream,&n,&contd); | ^~~~~~ ./tcp_unix.c:61:17: note: passing argument to parameter 'contd' here 61 | long *contd); | ^ osdep.c:797:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 797 | ret = ssl_compare_hostnames (host,s) ? NIL : | ^~~~ osdep.c:315:51: note: passing argument to parameter 's' here 315 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ^ osdep.c:797:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 797 | ret = ssl_compare_hostnames (host,s) ? NIL : | ^ osdep.c:315:68: note: passing argument to parameter 'pat' here 315 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ^ osdep.c:806:37: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 806 | (name->type = GEN_DNS) && (s = name->d.ia5->data) && | ^ ~~~~~~~~~~~~~~~~~ osdep.c:807:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 807 | ssl_compare_hostnames (host,s)) ret = NIL; | ^~~~ osdep.c:315:51: note: passing argument to parameter 's' here 315 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ^ osdep.c:807:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 807 | ssl_compare_hostnames (host,s)) ret = NIL; | ^ osdep.c:315:68: note: passing argument to parameter 'pat' here 315 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ^ osdep.c:861:43: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] 861 | char *ret = ssl_getline_work (stream,&n,&contd); | ^~~~~~ osdep.c:317:17: note: passing argument to parameter 'contd' here 317 | long *contd); | ^ osdep.c:869:41: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] 869 | ret = ssl_getline_work (stream,&n,&contd); | ^~~~~~ osdep.c:317:17: note: passing argument to parameter 'contd' here 317 | long *contd); | ^ 216 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mail.c mail.c:407:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 407 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:407:57: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 407 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:412:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 412 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:412:57: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 412 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:417:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 417 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:417:57: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 417 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:423:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 423 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:423:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 423 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:428:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 428 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:428:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 428 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:433:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 433 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:433:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 433 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:438:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 438 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:438:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 438 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:857:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 857 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:857:26: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 857 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:858:11: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 858 | lcase (strcpy (mb->service,v)); | ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here 83 | unsigned char *lcase (unsigned char *string); | ^ mail.c:859:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 859 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:859:31: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 859 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:861:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 861 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:861:31: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 861 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:863:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 863 | else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:863:31: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 863 | else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:869:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 869 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:869:26: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 869 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:870:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 870 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:870:31: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 870 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:871:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 871 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:871:31: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 871 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:872:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 872 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:872:31: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 872 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:873:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 873 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:873:31: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 873 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:874:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 874 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:874:31: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 874 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:875:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:875:32: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:875:65: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:875:67: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:877:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 877 | else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:877:31: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 877 | else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:879:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:879:32: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:879:61: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:879:63: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:881:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 881 | else if (!compare_cstring (s,"tryssl")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:881:31: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 881 | else if (!compare_cstring (s,"tryssl")) | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:883:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 883 | else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:883:48: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 883 | else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) | ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:885:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 885 | else if (!compare_cstring(s, "tls1") | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:885:31: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 885 | else if (!compare_cstring(s, "tls1") | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:888:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 888 | else if (!compare_cstring(s, "tls1_1") | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:888:31: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 888 | else if (!compare_cstring(s, "tls1_1") | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:891:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 891 | else if (!compare_cstring(s, "tls1_2") | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:891:31: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 891 | else if (!compare_cstring(s, "tls1_2") | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:894:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 894 | else if (!compare_cstring(s, "tls1_3") | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:894:31: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 894 | else if (!compare_cstring(s, "tls1_3") | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:897:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 897 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:897:48: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 897 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:900:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 900 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:900:48: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 900 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:903:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 903 | else if (!compare_cstring (s,"imap") || | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:903:31: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 903 | else if (!compare_cstring (s,"imap") || | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:904:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 904 | !compare_cstring (s,"nntp") || | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:904:24: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 904 | !compare_cstring (s,"nntp") || | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:905:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 905 | !compare_cstring (s,"pop3") || | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:905:24: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 905 | !compare_cstring (s,"pop3") || | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:906:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 906 | !compare_cstring (s,"smtp") || | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:906:24: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 906 | !compare_cstring (s,"smtp") || | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:907:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 907 | !compare_cstring (s,"submit")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:907:24: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 907 | !compare_cstring (s,"submit")) | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:908:11: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 908 | lcase (strcpy (mb->service,s)); | ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here 83 | unsigned char *lcase (unsigned char *string); | ^ mail.c:909:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 909 | else if (!compare_cstring (s,"imap2") || | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:909:31: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 909 | else if (!compare_cstring (s,"imap2") || | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:910:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 910 | !compare_cstring (s,"imap2bis") || | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:910:24: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 910 | !compare_cstring (s,"imap2bis") || | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:911:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 911 | !compare_cstring (s,"imap4") || | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:911:24: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 911 | !compare_cstring (s,"imap4") || | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:912:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 912 | !compare_cstring (s,"imap4rev1")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:912:24: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 912 | !compare_cstring (s,"imap4rev1")) | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:914:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 914 | else if (!compare_cstring (s,"pop")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:914:31: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 914 | else if (!compare_cstring (s,"pop")) | ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:1087:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1087 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:1087:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1087 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:1344:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1344 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:1344:59: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1344 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ^~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:1577:48: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1577 | if (stream->dtb && mail_uid_sequence (stream,sequence) && | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mail.c:1593:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1593 | if (stream->dtb && mail_sequence (stream,sequence) && | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mail.c:1618:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1618 | ov.date = env->date; | ^ ~~~~~~~~~ mail.c:1836:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1836 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here 1787 | unsigned char *section); | ^ mail.c:1927:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1927 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here 1787 | unsigned char *section); | ^ mail.c:1981:61: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1981 | if (!(section && *section && (b = mail_body (stream,msgno,section)))) | ^~~~~~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here 1787 | unsigned char *section); | ^ mail.c:2064:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2064 | if (!(b = mail_body (stream,msgno,section))) return ""; | ^~~~~~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here 1787 | unsigned char *section); | ^ mail.c:2124:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2124 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here 1787 | unsigned char *section); | ^ mail.c:2192:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2192 | if (!(b = mail_body (stream,msgno,section))) return NIL; | ^~~~~~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here 1787 | unsigned char *section); | ^ mail.c:2414:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2414 | ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mail.c:2415:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2415 | mail_sequence (stream,sequence)) && | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mail.c:2704:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2704 | else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { | ^~~~~~~~~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here 83 | unsigned char *lcase (unsigned char *string); | ^ mail.c:2704:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2704 | else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ mail.c:2823:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2823 | if (!(i = strtoul (section,(char **) §ion,10)) || | ^~~~~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:2971:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2971 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mail.c:2971:76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2971 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ mail.c:2971:64: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2971 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^~~~~~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ mail.c:2977:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2977 | if (!(m = strtoul (s,(char **) &s,10))) return NIL; | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:2981:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2981 | if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) && | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:2983:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2983 | y = strtoul (s,(char **) &s,10); | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:2993:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2993 | if ((m = strtoul (s+1,(char **) &s,10)) && (*s++ == '-') && | ^~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:2994:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2994 | (d = strtoul (s,(char **) &s,10)) && !*s) break; | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:2999:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2999 | if (strlen (s) < (size_t) 5) return NIL; | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mail.c:3027:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3027 | y = strtoul (s,(char **) &s,10); | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:3051:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3051 | d = strtoul (s+1,(char **) &s,10); | ^~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:3053:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3053 | m = strtoul (++s,(char **) &s,10); | ^~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:3054:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3054 | y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; | ^~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:3384:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3384 | else if (!(i = strtoul (sequence,(char **) &sequence,10))) { | ^~~~~~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:3395:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3395 | else if (!(j = strtoul (sequence,(char **) &sequence,10))) { | ^~~~~~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:3492:53: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3492 | if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text)) | ^~~ ./misc.h:107:40: note: passing argument to parameter 's1' here 107 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ^ mail.c:3636:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3636 | BODY *body = mail_body (stream,msgno,section); | ^~~~~~~ mail.c:2859:72: note: passing argument to parameter 'section' here 2859 | BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) | ^ mail.c:3808:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3808 | else if ((body = mail_body (stream,msgno,section)) && | ^~~~~~~ mail.c:2859:72: note: passing argument to parameter 'section' here 2859 | BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) | ^ mail.c:3975:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3975 | if (!compare_csizedtext (stream->user_flags[i],&st->text)) { | ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:107:40: note: passing argument to parameter 's1' here 107 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ^ mail.c:4106:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4106 | switch (*ucase (criterion)) { | ^~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ mail.c:4197:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4197 | mail_parse_date (&elt,(char *) s->text.data) && | ^~~~~~~~~~~~~~~~~~~~~ mail.c:2953:56: note: passing argument to parameter 's' here 2953 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ^ mail.c:4453:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4453 | if (env) t = env->date; | ^ ~~~~~~~~~ mail.c:4469:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4469 | if (!(t && mail_parse_date (&telt,t) && | ^ mail.c:2953:56: note: passing argument to parameter 's' here 2953 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ^ mail.c:4772:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4772 | i = compare_string (s1->from,s2->from); | ^~~~~~~~ ./misc.h:105:36: note: passing argument to parameter 's1' here 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ^ mail.c:4772:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4772 | i = compare_string (s1->from,s2->from); | ^~~~~~~~ ./misc.h:105:54: note: passing argument to parameter 's2' here 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ^ mail.c:4775:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4775 | i = compare_string (s1->to,s2->to); | ^~~~~~ ./misc.h:105:36: note: passing argument to parameter 's1' here 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ^ mail.c:4775:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4775 | i = compare_string (s1->to,s2->to); | ^~~~~~ ./misc.h:105:54: note: passing argument to parameter 's2' here 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ^ mail.c:4778:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4778 | i = compare_string (s1->cc,s2->cc); | ^~~~~~ ./misc.h:105:36: note: passing argument to parameter 's1' here 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ^ mail.c:4778:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4778 | i = compare_string (s1->cc,s2->cc); | ^~~~~~ ./misc.h:105:54: note: passing argument to parameter 's2' here 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ^ mail.c:4781:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4781 | i = compare_string (s1->subject,s2->subject); | ^~~~~~~~~~~ ./misc.h:105:36: note: passing argument to parameter 's1' here 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ^ mail.c:4781:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4781 | i = compare_string (s1->subject,s2->subject); | ^~~~~~~~~~~ ./misc.h:105:54: note: passing argument to parameter 's2' here 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ^ mail.c:4880:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4880 | if (!compare_cstring (type,t->name)) { | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:4880:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4880 | if (!compare_cstring (type,t->name)) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:4924:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4924 | if (compare_cstring (top->sc->subject,s->subject)) { | ^~~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:4924:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4924 | if (compare_cstring (top->sc->subject,s->subject)) { | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5246:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5246 | if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) { | ^~~~~~~~ mail.c:2953:56: note: passing argument to parameter 's' here 2953 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ^ mail.c:5501:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5501 | else if (!(i = strtoul (sequence,(char **) &sequence,10)) || | ^~~~~~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:5517:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5517 | else if (!(j = strtoul (sequence,(char **) &sequence,10)) || | ^~~~~~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mail.c:5572:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5572 | if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5572:28: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5572 | if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5573:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5573 | else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5573:33: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5573 | else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5574:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5574 | else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5574:33: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5574 | else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5575:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5575 | else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5575:33: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5575 | else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5576:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5576 | else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5576:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5576 | else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5586:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5586 | if (!compare_cstring (t,s)) *uf |= i = 1 << j; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5586:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5586 | if (!compare_cstring (t,s)) *uf |= i = 1 << j; | ^ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5636:27: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5636 | ((!compare_cstring (smb.host,trustdns ? | ^~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5636:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5636 | ((!compare_cstring (smb.host,trustdns ? | ^~~~~~~~~~ 5637 | (s = tcp_canonical (nmb.host)) : nmb.host) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5642:27: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5642 | (!compare_cstring (omb.host,nmb.host) && | ^~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:5642:36: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5642 | (!compare_cstring (omb.host,nmb.host) && | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:6215:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6215 | if (auth->server && !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:6215:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6215 | if (auth->server && !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:6248:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6248 | !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mail.c:6248:62: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6248 | !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:72:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 72 | && !compare_cstring(oauth2->param[i].name, name)) | ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:72:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 72 | && !compare_cstring(oauth2->param[i].name, name)) | ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:109:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 109 | || !compare_cstring(oauth2->param[k].value, "plain")) | ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:109:46: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 109 | || !compare_cstring(oauth2->param[k].value, "plain")) | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:111:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 111 | else if(!compare_cstring(oauth2->param[k].value, "S256")){ | ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:111:56: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 111 | else if(!compare_cstring(oauth2->param[k].value, "S256")){ | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:122:31: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | oauth2->param[j].value = t; | ^ ~ ./oauth2_aux.c:219:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); | ^~~~~~~~~~~~~~~~~~~~~~~ ./oauth2_aux.c:174:22: note: passing argument to parameter 'server' here 174 | xoauth2_server(char *server, char *tenant) | ^ ./oauth2_aux.c:221:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 221 | && ((stream = http_open(server)) != NULL) | ^~~~~~ ./http.h:125:39: note: passing argument to parameter here 125 | HTTPSTREAM *http_open (unsigned char *); | ^ In file included from mail.c:6498: ./oauth2_aux.c:284:33: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 284 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^ In file included from mail.c:6498: ./oauth2_aux.c:293:33: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 293 | if((jx = json_body_value(json, "interval")) != NULL) | ^~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^ In file included from mail.c:6498: ./oauth2_aux.c:333:36: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 333 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^ In file included from mail.c:6498: ./oauth2_aux.c:347:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 347 | jx = json_body_value(json, "error"); | ^~~~~~~ ./json.h:39:50: note: passing argument to parameter here 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^ In file included from mail.c:6498: ./oauth2_aux.c:349:33: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 349 | jx = json_body_value(json, "error_description"); | ^~~~~~~~~~~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^ In file included from mail.c:6498: ./oauth2_aux.c:376:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 376 | char *server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); | ^~~~~~~~~~~~~~~~~~~~~~~ ./oauth2_aux.c:174:22: note: passing argument to parameter 'server' here 174 | xoauth2_server(char *server, char *tenant) | ^ ./oauth2_aux.c:377:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 377 | char *url = http_get_param_url(server, params); | ^~~~~~ ./http.h:137:50: note: passing argument to parameter here 137 | unsigned char *http_get_param_url(unsigned char *, HTTP_PARAM_S *); | ^ In file included from mail.c:6498: ./oauth2_aux.c:377:8: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 377 | char *url = http_get_param_url(server, params); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./oauth2_aux.c:382:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 382 | oauth2->param[OA2_Code].value = (*ogac)(url, method, oauth2, tryanother); | ^~~ ./oauth2_aux.c:401:39: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 401 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^ In file included from mail.c:6498: ./oauth2_aux.c:416:39: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 416 | jx = json_body_value(json, "error"); | ^~~~~~~ ./json.h:39:50: note: passing argument to parameter here 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^ In file included from mail.c:6498: ./oauth2_aux.c:418:39: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 418 | jx = json_body_value(json, "error_description"); | ^~~~~~~~~~~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^ In file included from mail.c:6498: ./oauth2_aux.c:448:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 448 | oauth2->param[OA2_DeviceCode].value = cpystr(dcode->device_code); | ^~~~~~~~~~~~~~~~~~ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ In file included from mail.c:6498: ./oauth2_aux.c:460:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 460 | if(compare_cstring(error, "authorization_pending") == 0) | ^~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:460:30: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 460 | if(compare_cstring(error, "authorization_pending") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:462:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 462 | else if(compare_cstring(error, "authorization_declined") == 0) | ^~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:462:35: warning: passing 'char[23]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 462 | else if(compare_cstring(error, "authorization_declined") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:464:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 464 | else if(compare_cstring(error, "bad_verification_code") == 0) | ^~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:464:35: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 464 | else if(compare_cstring(error, "bad_verification_code") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:466:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 466 | else if(compare_cstring(error, "expired_token") == 0) | ^~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:466:35: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 466 | else if(compare_cstring(error, "expired_token") == 0) | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ In file included from mail.c:6498: ./oauth2_aux.c:481:35: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 481 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^ In file included from mail.c:6498: ./oauth2_aux.c:536:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 536 | if(x->name) y->name = cpystr(x->name); | ^~~~~~~ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ In file included from mail.c:6498: ./oauth2_aux.c:536:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 536 | if(x->name) y->name = cpystr(x->name); | ^ ~~~~~~~~~~~~~~~ 191 warnings generated. `cat CCTYPE` -c `cat CFLAGS` misc.c misc.c:488:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 488 | for (s = (char *) s2->data,j = s2->size; *s1 && j; ++s1,++s,--j) | ^ ~~~~~~~~~~~~~~~~~ 1 warning generated. `cat CCTYPE` -c `cat CFLAGS` newsrc.c newsrc.c:173:19: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 173 | if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); | ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ newsrc.c:173:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 173 | if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); | ^~~~~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ newsrc.c:176:21: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | if (pmatch_full (name,pattern,'.')) | ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ newsrc.c:176:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ 4 warnings generated. `cat CCTYPE` -c `cat CFLAGS` smanager.c smanager.c:42:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 42 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smanager.c:42:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 42 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smanager.c:75:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 75 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smanager.c:75:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 75 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ 4 warnings generated. `cat CCTYPE` -c `cat CFLAGS` utf8.c utf8.c:383:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 383 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ^~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ utf8.c:383:36: warning: passing 'char *const' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 383 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ utf8.c:400:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 400 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ utf8.c:400:37: warning: passing 'char *const' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 400 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ utf8.c:586:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 586 | short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ utf8.c:586:47: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 586 | short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ utf8.c:613:26: warning: passing 'char *const' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 613 | !compare_cstring (dcs->name,"ISO-2022-JP"))) ? | ^~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ utf8.c:613:36: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 613 | !compare_cstring (dcs->name,"ISO-2022-JP"))) ? | ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ utf8.c:647:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 647 | return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ utf8.c:647:50: warning: passing 'char *const' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 647 | return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ utf8.c:1323:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1323 | if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ utf8.c:1323:29: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1323 | if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; | ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ 12 warnings generated. `cat CCTYPE` -c `cat CFLAGS` utf8aux.c utf8aux.c:413:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 413 | if (mail_utf7_valid (src)) return NIL; | ^~~ ./mail.h:1722:30: note: passing argument to parameter 'mailbox' here 1722 | char *mail_utf7_valid (char *mailbox); | ^ utf8aux.c:418:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 418 | for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ utf8aux.c:418:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 418 | for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { | ^~~ ./misc.h:85:36: note: passing argument to parameter 'text' here 85 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ^ utf8aux.c:418:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 418 | for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c dummy.c:122:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | else if (!compare_cstring (name,"INBOX")) return &dummydriver; | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:122:37: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | else if (!compare_cstring (name,"INBOX")) return &dummydriver; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:183:32: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 183 | if (pmatch ("INBOX",ucase (test))) { | ^~~~ ./misc.h:78:18: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ dummy.c:183:17: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 183 | if (pmatch ("INBOX",ucase (test))) { | ^~~~~~~ ./misc.h:78:16: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:222:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 222 | if (!compare_cstring (s,"INBOX") && | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:222:31: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 222 | if (!compare_cstring (s,"INBOX") && | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:223:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 223 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~~~~~~~~~~~ ./misc.h:78:18: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ dummy.c:223:12: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 223 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~ ./misc.h:78:16: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:225:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:225:31: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:228:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 228 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:228:21: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 228 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:289:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 289 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:289:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 289 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:289:64: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 289 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ ./misc.h:78:16: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:289:68: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 289 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~~~~~ ./misc.h:78:18: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:303:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 303 | if ((pmatch_full (strcpy (path,tmp),pat,'/') || | ^~~~~~~~~~~~~~~~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:303:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 303 | if ((pmatch_full (strcpy (path,tmp),pat,'/') || | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:304:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 304 | pmatch_full (strcat (path,"/"),pat,'/') || | ^~~~~~~~~~~~~~~~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:304:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 304 | pmatch_full (strcat (path,"/"),pat,'/') || | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:305:15: warning: passing 'char[1025]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 305 | dmatch (path,pat,'/')) && | ^~~~ ./env.h:30:29: note: passing argument to parameter 's' here 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:305:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 305 | dmatch (path,pat,'/')) && | ^~~ ./env.h:30:46: note: passing argument to parameter 'pat' here 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:314:19: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 314 | if (!pmatch (tmp,"INBOX")) { | ^~~ ./misc.h:78:16: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:314:23: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 314 | if (!pmatch (tmp,"INBOX")) { | ^~~~~~~ ./misc.h:78:18: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:315:25: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 315 | if (pmatch_full (tmp,pat,'/')) { | ^~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:315:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 315 | if (pmatch_full (tmp,pat,'/')) { | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:320:30: warning: passing 'char[1025]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 320 | else if (pmatch_full (path,pat,'/') && | ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:320:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 320 | else if (pmatch_full (path,pat,'/') && | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:324:18: warning: passing 'char[1025]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 324 | if (dmatch (path,pat,'/') && | ^~~~ ./env.h:30:29: note: passing argument to parameter 's' here 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:324:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 324 | if (dmatch (path,pat,'/') && | ^~~ ./env.h:30:46: note: passing argument to parameter 'pat' here 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:330:23: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 330 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:330:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 330 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ dummy.c:330:56: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 330 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:330:60: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 330 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:457:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 457 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:457:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 457 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:567:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 567 | if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:567:29: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 567 | if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:596:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 596 | if (compare_cstring (stream->mailbox,"INBOX")) | ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:596:42: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 596 | if (compare_cstring (stream->mailbox,"INBOX")) | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:703:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 703 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ dummy.c:704:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 704 | mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ dummy.c:725:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 725 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ dummy.c:725:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 725 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ 44 warnings generated. `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c netmsg.c:63:45: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | sprintf (tmp,".%lx.%lx",(unsigned long) time (0),(unsigned long)getpid ()); | ^ 1 warning generated. `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c `cat CCTYPE` -c `cat CFLAGS` rfc822.c rfc822.c:163:14: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 163 | ucase (tmp); /* coerce to uppercase */ | ^~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ rfc822.c:202:53: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 202 | if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d); | ^ ~~~~~~~~~~ rfc822.c:379:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 379 | s1 = (char *) rfc822_base64 (s, strlen(s), &k); | ^ ./rfc822.h:102:37: note: passing argument to parameter 'src' here 102 | void *rfc822_base64 (unsigned char *src,unsigned long srcl,unsigned long *len); | ^ rfc822.c:555:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 555 | rfc822_parse_content_header (&part->body,ucase (s1+8),s); | ^~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ rfc822.c:555:47: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 555 | rfc822_parse_content_header (&part->body,ucase (s1+8),s); | ^~~~~~~~~~~~ ./rfc822.h:64:52: note: passing argument to parameter 'name' here 64 | void rfc822_parse_content_header (BODY *body,char *name,char *s); | ^ rfc822.c:626:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 626 | body->disposition.type = ucase (cpystr (s)); | ^~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ rfc822.c:626:30: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 626 | body->disposition.type = ucase (cpystr (s)); | ^ ~~~~~~~~~~~~~~~~~~ rfc822.c:640:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 640 | stl->text.data = (unsigned char *) ucase (cpystr (s)); | ^~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ rfc822.c:667:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 667 | compare_cstring (s,body_types[i]); i++); | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ rfc822.c:667:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 667 | compare_cstring (s,body_types[i]); i++); | ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ rfc822.c:678:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 678 | body_types[body->type] = ucase (s); | ^ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ rfc822.c:678:27: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 678 | body_types[body->type] = ucase (s); | ^ ~~~~~~~~~ rfc822.c:690:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 690 | if (s) body->subtype = ucase (rfc822_cpy (s)); | ^~~~~~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ rfc822.c:690:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 690 | if (s) body->subtype = ucase (rfc822_cpy (s)); | ^ ~~~~~~~~~~~~~~~~~~~~~~ rfc822.c:708:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 708 | compare_cstring (s,body_encodings[i]); i++); | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ rfc822.c:708:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 708 | compare_cstring (s,body_encodings[i]); i++); | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ rfc822.c:719:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 719 | body_encodings[body->encoding] = ucase (s); | ^ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ rfc822.c:719:35: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 719 | body_encodings[body->encoding] = ucase (s); | ^ ~~~~~~~~~ rfc822.c:752:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 752 | param->attribute = ucase (cpystr (s)); | ^~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ rfc822.c:752:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 752 | param->attribute = ucase (cpystr (s)); | ^ ~~~~~~~~~~~~~~~~~~ rfc822.c:1528:45: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1528 | rfc822_output_header_line (buf,"Date",i,env->date) && | ^~~~~~~~~ ./rfc822.h:89:11: note: passing argument to parameter 'text' here 89 | char *text); | ^ 21 warnings generated. `cat CCTYPE` -c `cat CFLAGS` nntp.c nntp.c:366:19: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 366 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ nntp.c:366:24: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 366 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ nntp.c:369:21: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 369 | if (pmatch_full (name,pattern,'.')) | ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ nntp.c:369:26: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 369 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ nntp.c:401:74: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 401 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) | ^ ./misc.h:78:16: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ nntp.c:401:76: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 401 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) | ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ nntp.c:571:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 571 | newsrc_check_uid (state,k,&status.recent,&status.unseen); | ^~~~~ ./newsrc.h:42:39: note: passing argument to parameter 'state' here 42 | void newsrc_check_uid (unsigned char *state,unsigned long uid, | ^ nntp.c:580:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 580 | newsrc_check_uid (state,i++,&status.recent,&status.unseen); | ^~~~~ ./newsrc.h:42:39: note: passing argument to parameter 'state' here 42 | void newsrc_check_uid (unsigned char *state,unsigned long uid, | ^ nntp.c:752:12: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 752 | lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 753 | net_host (nstream->netstream) : mb.host)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here 83 | unsigned char *lcase (unsigned char *string); | ^ nntp.c:875:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 875 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ nntp.c:876:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 876 | mail_sequence (stream,sequence))) | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ nntp.c:918:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 918 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ nntp.c:918:67: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 918 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ nntp.c:1021:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1021 | while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c:1021:72: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1021 | while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ nntp.c:1067:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1067 | if (!elt->day) mail_parse_date (elt,ov->date); | ^~~~~~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ nntp.c:1283:39: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1283 | unsigned long now = (unsigned long) time (0); | ^ nntp.c:1336:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1336 | (!mail_parse_date (&delt,ov->date) || | ^~~~~~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ nntp.c:1553:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1553 | if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt); | ^ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ nntp.c:1845:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1845 | if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1845:29: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1845 | if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1846:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1846 | else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1846:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1846 | else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1847:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1847 | else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1847:34: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1847 | else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; | ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1848:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1848 | else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1848:34: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1848 | else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; | ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1849:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1849 | else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1849:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1849 | else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1850:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1850 | else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1850:34: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1850 | else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; | ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1852:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1852 | else if (!compare_cstring (t,"AUTHINFO") && args) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1852:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1852 | else if (!compare_cstring (t,"AUTHINFO") && args) { | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1855:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1855 | if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1855:29: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1855 | if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ nntp.c:1943:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1943 | if ((s = strstr (env->date," (")) != NULL) *s = NIL; | ^~~~~~~~~ /usr/include/string.h:131:26: note: passing argument to parameter here 131 | char *strstr(const char *, const char *) __pure; | ^ 36 warnings generated. `cat CCTYPE` -c `cat CFLAGS` smtp.c smtp.c:164:34: warning: passing 'char[21]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 164 | else if (!compare_cstring (mb.service,"submit")) { | ^~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:164:45: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 164 | else if (!compare_cstring (mb.service,"submit")) { | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:182:23: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 182 | s = compare_cstring ("localhost",mb.host) ? | ^~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:182:35: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 182 | s = compare_cstring ("localhost",mb.host) ? | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:293:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 293 | if(!compare_cstring(at->name, mb->auth)) | ^~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:293:38: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 293 | if(!compare_cstring(at->name, mb->auth)) | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:727:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 727 | if (!compare_cstring (s,"SIZE")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:727:31: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 727 | if (!compare_cstring (s,"SIZE")) { | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:731:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 731 | else if (!compare_cstring (s,"DELIVERBY")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:731:36: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 731 | else if (!compare_cstring (s,"DELIVERBY")) { | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:735:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 735 | else if (!compare_cstring (s,"ATRN")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:735:36: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 735 | else if (!compare_cstring (s,"ATRN")) { | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:739:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 739 | else if (!compare_cstring (s,"AUTH")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:739:36: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 739 | else if (!compare_cstring (s,"AUTH")) | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:745:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 745 | else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:745:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 745 | else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:746:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 746 | else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:746:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 746 | else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:747:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 747 | else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:747:34: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 747 | else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; | ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:748:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 748 | else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:748:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 748 | else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:749:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 749 | else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:749:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 749 | else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:750:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 750 | else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:750:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 750 | else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:751:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 751 | else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:751:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 751 | else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:752:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 752 | else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:752:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 752 | else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:753:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 753 | else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:753:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 753 | else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:754:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 754 | else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:754:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 754 | else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:755:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 755 | else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:755:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 755 | else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:756:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 756 | else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:756:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 756 | else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:757:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 757 | else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:757:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 757 | else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:758:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 758 | else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:758:34: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 758 | else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:759:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 759 | else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:759:34: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 759 | else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) | ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:761:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 761 | else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:761:34: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 761 | else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:762:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 762 | else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ smtp.c:762:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 762 | else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ 48 warnings generated. `cat CCTYPE` -c `cat CFLAGS` imap4r1.c imap4r1.c:524:74: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 524 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) | ^ ./misc.h:78:16: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ imap4r1.c:524:76: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 524 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) | ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ imap4r1.c:584:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 584 | if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:584:33: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 584 | if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:586:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 586 | else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:586:38: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 586 | else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:598:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 598 | strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:599:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 599 | !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:722:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 722 | mm_log (reply->text,ret ? NIL : ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:906:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 906 | if (!reply || strcmp (reply->tag,"*") || | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:907:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 907 | (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:907:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 907 | (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:908:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 908 | if (reply) mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:917:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 917 | preauthed = !strcmp (reply->key,"PREAUTH"); | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:1062:36: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1062 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ^~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:1062:47: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1062 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:1072:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1072 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:1118:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1118 | !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:1122:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1122 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:1122:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1122 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:1158:37: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1158 | if (compare_cstring (reply->tag,tag)) { | ^~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:1160:70: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1160 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:1175:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1175 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:1198:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1198 | if(!compare_cstring(at->name, mb->auth)) | ^~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:1198:38: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1198 | if(!compare_cstring(at->name, mb->auth)) | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:1244:39: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1244 | else if (compare_cstring (reply->tag,tag)) | ^~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:1245:69: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1245 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:1259:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1259 | lsterr = cpystr (reply->text); | ^~~~~~~~~~~ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ imap4r1.c:1325:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1325 | mm_log (reply->text,WARN); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:1356:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1356 | !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:1361:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1361 | strlen (reply->text),len))) { | ^~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ imap4r1.c:1430:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1430 | mm_log (reply->text,WARN); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:1471:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1471 | if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:1492:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1492 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:1545:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1545 | ov.date = env->date; | ^ ~~~~~~~~~ imap4r1.c:1593:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1593 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:1720:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1720 | else mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:1722:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1722 | else mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:1952:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1952 | mm_log (reply->text,WARN); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:1962:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1962 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:1971:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1971 | mm_log (reply->text,WARN); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:1975:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1975 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2028:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2028 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2064:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2064 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2105:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2105 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2177:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2177 | !strcmp (reply->key,"BAD")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:2196:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2196 | if (!strcmp (reply->key,"BAD")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:2202:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2202 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2238:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2238 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2301:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2301 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:2308:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2308 | if (!strcmp (reply->key,"BAD")) | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:2317:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2317 | else mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2404:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2404 | if (!compare_cstring (thr->name,type)) | ^~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:2404:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2404 | if (!compare_cstring (thr->name,type)) | ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:2464:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2464 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:2471:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2471 | if (!strcmp (reply->key,"BAD")) | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:2479:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2479 | else mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2503:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2503 | mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2528:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2528 | else if (mail_sequence (stream,sequence)) { | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ imap4r1.c:2556:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2556 | if (reply) mm_log (reply->text,ret ? (long) NIL : ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2594:65: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2594 | else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ imap4r1.c:2598:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2598 | else mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2651:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2651 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2714:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2714 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2744:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2744 | if (!mail_parse_date (&elt,date)) { | ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ imap4r1.c:2748:44: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2748 | LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); | ^ ~~~~~~~~~~~~ imap4r1.c:2749:24: warning: assigning to 'unsigned char *' from 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2749 | LOCAL->reply.key = "BAD"; | ^ ~~~~~ imap4r1.c:2750:25: warning: assigning to 'unsigned char *' from 'char[19]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2750 | LOCAL->reply.text = "Bad date in append"; | ^ ~~~~~~~~~~~~~~~~~~~~ imap4r1.c:2946:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2946 | else mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:2970:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2970 | else mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:3048:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3048 | else mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:3072:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3072 | else mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:3095:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3095 | else mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:3132:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3132 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:3132:46: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3132 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:3133:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3133 | compare_cstring (cmd,"STORE") && | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:3133:25: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3133 | compare_cstring (cmd,"STORE") && | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:3134:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3134 | compare_cstring (cmd,"SEARCH")) ? | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:3134:25: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3134 | compare_cstring (cmd,"SEARCH")) ? | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:3287:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3287 | if (!map->date || mail_parse_date (&elt,map->date)) { | ^~~~~~~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ imap4r1.c:3413:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3413 | if (strcmp (reply->tag,"+")) {/* prompt for more data? */ | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:3627:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3627 | if (!strcmp (reply->key,"BAD")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:3633:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3633 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:3668:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3668 | mm_log (reply->text,ERROR); | ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ imap4r1.c:4001:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4001 | if (!strcmp (reply->tag,"+")) return reply; | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4003:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4003 | else if (!strcmp (reply->tag,"*")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4008:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4008 | if (tag && !compare_cstring (tag,reply->tag)) return reply; | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4034:27: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4034 | if (!(LOCAL->reply.line = text)) { | ^ ~~~~ imap4r1.c:4040:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4040 | if (stream->debug) mm_dlog (LOCAL->reply.line); | ^~~~~~~~~~~~~~~~~ imap4r1.c:117:15: note: expanded from macro 'LOCAL' 117 | #define LOCAL ((IMAPLOCAL *) stream->local) | ^ ./mail.h:1695:21: note: passing argument to parameter 'string' here 1695 | void mm_dlog (char *string); | ^ imap4r1.c:4041:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4041 | if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { | ^~~~~~~~~~~~~~~~~ imap4r1.c:117:15: note: expanded from macro 'LOCAL' 117 | #define LOCAL ((IMAPLOCAL *) stream->local) | ^ /usr/include/string.h:134:22: note: passing argument to parameter here 134 | char *strtok_r(char *, const char *, char **); | ^ imap4r1.c:4041:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4041 | if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4047:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4047 | if (strcmp (LOCAL->reply.tag,"+")) { | ^~~~~~~~~~~~~~~~ imap4r1.c:117:15: note: expanded from macro 'LOCAL' 117 | #define LOCAL ((IMAPLOCAL *) stream->local) | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4049:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4049 | if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) { | ^ ~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4059:29: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4059 | if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) | ^ ~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4060:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4060 | LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); | ^~~~~~~~~~~~~~~~ imap4r1.c:117:15: note: expanded from macro 'LOCAL' 117 | #define LOCAL ((IMAPLOCAL *) stream->local) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ imap4r1.c:4063:22: warning: assigning to 'unsigned char *' from 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4063 | LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ | ^ ~~~~~ imap4r1.c:4064:29: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4064 | if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) | ^ ~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4065:25: warning: assigning to 'unsigned char *' from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4065 | LOCAL->reply.text = ""; | ^ ~~ imap4r1.c:4085:40: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4085 | LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4086:20: warning: assigning to 'unsigned char *' from 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4086 | LOCAL->reply.key = "NO"; | ^ ~~~~ imap4r1.c:4087:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4087 | LOCAL->reply.text = text; | ^ ~~~~ imap4r1.c:4102:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4102 | if (!strcmp (reply->key,"OK")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4103:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4103 | imap_parse_response (stream,reply->text,NIL,NIL); | ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ^ imap4r1.c:4107:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4107 | else if (!strcmp (reply->key,"NO")) | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4108:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4108 | imap_parse_response (stream,reply->text,WARN,NIL); | ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ^ imap4r1.c:4110:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4110 | if (!strcmp (reply->key,"BAD")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4111:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4111 | imap_parse_response (stream,reply->text,ERROR,NIL); | ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ^ imap4r1.c:4135:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4135 | msgno = strtoul (reply->key,(char **) &s,10); | ^~~~~~~~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:4149:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4149 | s = ucase (strtok_r (reply->text," ",&r)); | ^~~~~~~~~~~ /usr/include/string.h:134:22: note: passing argument to parameter here 134 | char *strtok_r(char *, const char *, char **); | ^ imap4r1.c:4149:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4149 | s = ucase (strtok_r (reply->text," ",&r)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ imap4r1.c:4150:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4150 | t = strtok_r (NIL,"\n",&r); /* and locate the text after it */ | ^ ~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4153:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4153 | if (LOCAL->authed && !strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4155:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4155 | else if (LOCAL->authed && !strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4157:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4157 | else if (LOCAL->authed && !strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4165:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4165 | else if (LOCAL->authed && t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4165:69: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4165 | else if (LOCAL->authed && t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4176:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4176 | while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { | ^ /usr/include/string.h:134:22: note: passing argument to parameter here 134 | char *strtok_r(char *, const char *, char **); | ^ imap4r1.c:4176:52: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4176 | while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4180:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4180 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ imap4r1.c:4180:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4180 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4188:27: warning: passing 'char[27]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4188 | mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ imap4r1.c:4194:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4194 | LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:4235:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4235 | if (!(s = strchr (md.what,']'))) { | ^ ~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4237:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4237 | for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); | ^ ~~~~~~~ imap4r1.c:4239:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4239 | if (strncmp (s,"HEADER.FIELDS",13) && | ^ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ imap4r1.c:4240:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4240 | (!s[13] || strcmp (s+13,".NOT"))) | ^~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4250:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4250 | else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; | ^~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ imap4r1.c:4250:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4250 | else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; | ^ ~~~~~~~~~~~~~~~~~~ imap4r1.c:4255:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4255 | md.first = strtoul (s+1,(char **) &s,10) + 1; | ^~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:4298:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4298 | elt->rfc822_size = strtoul (t,(char **) &t,10); | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:4334:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4334 | else if (strcmp (s,"COPY") || !LOCAL->authed) { | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4341:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4341 | else if (LOCAL->authed && !strcmp (reply->key,"FLAGS") && reply->text && | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4343:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4343 | (s = strtok_r (reply->text+1," )",&r))) | ^~~~~~~~~~~~~ /usr/include/string.h:134:22: note: passing argument to parameter here 134 | char *strtok_r(char *, const char *, char **); | ^ imap4r1.c:4343:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4343 | (s = strtok_r (reply->text+1," )",&r))) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4346:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4346 | compare_cstring (s,stream->user_flags[i]); i++); | ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4352:74: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4352 | else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); | ^ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ imap4r1.c:4354:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4354 | while ((s = strtok_r (NIL," )",&r)) != NULL); | ^ ~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4355:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4355 | else if (LOCAL->authed && !strcmp (reply->key,"SEARCH")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4357:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4357 | if (reply->text && (t = strtok_r (reply->text," ",&r))) do | ^~~~~~~~~~~ /usr/include/string.h:134:22: note: passing argument to parameter here 134 | char *strtok_r(char *, const char *, char **); | ^ imap4r1.c:4357:27: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4357 | if (reply->text && (t = strtok_r (reply->text," ",&r))) do | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4358:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4358 | if ((i = strtoul (t,NIL,10)) != 0L) { | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:4367:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4367 | } while ((t = strtok_r (NIL," ",&r)) != NULL); | ^ ~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4369:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4369 | else if (LOCAL->authed && !strcmp (reply->key,"SORT")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4377:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4377 | if (reply->text && (t = strtok_r (reply->text," ",&r))) { | ^~~~~~~~~~~ /usr/include/string.h:134:22: note: passing argument to parameter here 134 | char *strtok_r(char *, const char *, char **); | ^ imap4r1.c:4377:27: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4377 | if (reply->text && (t = strtok_r (reply->text," ",&r))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4378:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4378 | do if ((i = atol (t)) && (LOCAL->filter ? | ^ /usr/include/stdlib.h:94:24: note: passing argument to parameter here 94 | long atol(const char *); | ^ imap4r1.c:4381:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4381 | while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs)); | ^ ~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4387:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4387 | else if (LOCAL->authed && !strcmp (reply->key,"THREAD")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4402:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4402 | else if (LOCAL->authed && !strcmp (reply->key,"STATUS") && reply->text) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4406:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4406 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ imap4r1.c:4406:43: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4406 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^ ~~~~~~~~~~~~~~~~ imap4r1.c:4412:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4412 | while (*txt && (s = strchr (txt,' '))) { | ^~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ imap4r1.c:4412:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4412 | while (*txt && (s = strchr (txt,' '))) { | ^ ~~~~~~~~~~~~~~~~ imap4r1.c:4415:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4415 | i = strtoul (s,(char **) &s,10); | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:4416:28: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4416 | if (!compare_cstring (txt,"MESSAGES")) { | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4420:33: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4420 | else if (!compare_cstring (txt,"RECENT")) { | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4424:33: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4424 | else if (!compare_cstring (txt,"UNSEEN")) { | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4428:33: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4428 | else if (!compare_cstring (txt,"UIDNEXT")) { | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4432:33: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4432 | else if (!compare_cstring (txt,"UIDVALIDITY")) { | ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4441:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4441 | strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); | ^ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ imap4r1.c:4450:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4450 | && (!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4450:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4450 | && (!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4452:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4452 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ^~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ imap4r1.c:4452:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4452 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4456:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4456 | if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { | ^~~~~~~~~~~~~ /usr/include/string.h:134:22: note: passing argument to parameter here 134 | char *strtok_r(char *, const char *, char **); | ^ imap4r1.c:4456:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4456 | if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4457:31: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4457 | if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4458:36: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4458 | else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4459:36: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4459 | else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4460:36: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4460 | else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4461:36: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4461 | else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4462:36: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4462 | else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4463:36: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4463 | else if (!compare_cstring (t,"\\All")) i |= LATT_ALL; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4464:36: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4464 | else if (!compare_cstring (t,"\\Archive")) i |= LATT_ARCHIVE; | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4465:36: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4465 | else if (!compare_cstring (t,"\\Drafts")) i |= LATT_DRAFTS; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4466:36: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4466 | else if (!compare_cstring (t,"\\Flagged")) i |= LATT_FLAGGED; | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4467:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4467 | else if (!compare_cstring (t,"\\Junk")) i |= LATT_JUNK; | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4468:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4468 | else if (!compare_cstring (t,"\\Sent")) i |= LATT_SENT; | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4469:36: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4469 | else if (!compare_cstring (t,"\\Trash")) i |= LATT_TRASH; | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4472:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4472 | while ((t = strtok_r (NIL," ",&r)) != NULL); | ^ ~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4486:13: warning: assigning to 'unsigned char *' from 'char[16384]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4486 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ^ ~~~~~~~~~~ imap4r1.c:4486:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4486 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ^~~~~~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ imap4r1.c:4489:59: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4489 | if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); | ^ ./mail.h:1692:54: note: passing argument to parameter 'name' here 1692 | void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ^ imap4r1.c:4490:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4490 | else mm_list (stream,delimiter,s,i); | ^ ./mail.h:1691:54: note: passing argument to parameter 'name' here 1691 | void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ^ imap4r1.c:4494:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4494 | else if (LOCAL->authed && !strcmp (reply->key,"NAMESPACE")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4517:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4517 | else if (LOCAL->authed && !strcmp (reply->key,"ACL") && (s = reply->text) && | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4523:30: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4523 | do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4525:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4525 | ac->rights = imap_parse_astring (stream,&s,reply,NIL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4534:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4534 | else if (ar) (*ar) (stream,t,al); | ^ imap4r1.c:4538:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4538 | else if (ar) (*ar) (stream,t,NIL); | ^ imap4r1.c:4542:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4542 | else if (LOCAL->authed && !strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4546:35: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4546 | if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4548:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4548 | (r = imap_parse_astring (stream,&s,reply,NIL))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4562:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4562 | else if (lr) (*lr) (stream,t,id,r,rl); | ^ imap4r1.c:4567:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4567 | else if (lr) (*lr) (stream,t,id,r,NIL); | ^ imap4r1.c:4586:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4586 | && !strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4590:34: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4590 | if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4596:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4596 | else if (mr) (*mr) (stream,t,r); | ^ imap4r1.c:4608:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4608 | else if (LOCAL->authed && !strcmp (reply->key,"QUOTA") && (s = reply->text) && | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4619:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4619 | if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4621:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4621 | if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10); | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:4622:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4622 | else if ((t = strchr (s,' ')) != NULL) t = s; | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ imap4r1.c:4622:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4622 | else if ((t = strchr (s,' ')) != NULL) t = s; | ^ ~~~~~~~~~~~~~~ imap4r1.c:4624:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4624 | if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10); | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:4625:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4625 | else if ((t = strpbrk (s," )")) != NULL) t = s; | ^ /usr/include/string.h:122:27: note: passing argument to parameter here 122 | char *strpbrk(const char *, const char *) __pure; | ^ imap4r1.c:4625:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4625 | else if ((t = strpbrk (s," )")) != NULL) t = s; | ^ ~~~~~~~~~~~~~~~~ imap4r1.c:4630:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4630 | if (qt) (*qt) (stream,t,ql); | ^ imap4r1.c:4649:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4649 | else if (LOCAL->authed && !strcmp (reply->key,"ID") && (s = reply->text)){ | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4650:24: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4650 | if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); | ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4650:62: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4650 | if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); | ^ imap4r1.c:2976:34: note: passing argument to parameter 'text' here 2976 | IDLIST *imap_parse_idlist (char *text) | ^ imap4r1.c:4652:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4652 | else if (LOCAL->authed && !strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4667:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4667 | else if (qr) (*qr) (stream,t,rl); | ^ imap4r1.c:4678:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4678 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4678:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4678 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4679:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4679 | imap_parse_response (stream,reply->text,NIL,T); | ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ^ imap4r1.c:4680:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4680 | else if (!strcmp (reply->key,"NO")) | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4681:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4681 | imap_parse_response (stream,reply->text,WARN,T); | ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ^ imap4r1.c:4682:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4682 | else if (!strcmp (reply->key,"BAD")) | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4683:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4683 | imap_parse_response (stream,reply->text,ERROR,T); | ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ^ imap4r1.c:4684:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4684 | else if (!strcmp (reply->key,"BYE")) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4686:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4686 | imap_parse_response (stream,reply->text,BYE,T); | ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ^ imap4r1.c:4688:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4688 | else if (!strcmp (reply->key,"CAPABILITY") && reply->text) | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4689:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4689 | imap_parse_capabilities (stream,reply->text); | ^~~~~~~~~~~ imap4r1.c:275:56: note: passing argument to parameter 't' here 275 | void imap_parse_capabilities (MAILSTREAM *stream,char *t); | ^ imap4r1.c:4690:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4690 | else if (LOCAL->authed && !strcmp (reply->key,"MAILBOX") && reply->text) { | ^~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ imap4r1.c:4692:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4692 | ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) | ^~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ imap4r1.c:4693:18: warning: assigning to 'unsigned char *' from 'char[16384]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4693 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ^ ~~~~~~~~~~ imap4r1.c:4693:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4693 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ^~~~~~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ imap4r1.c:4695:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4695 | mm_list (stream,NIL,t,NIL); | ^ ./mail.h:1691:54: note: passing argument to parameter 'name' here 1691 | void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ^ imap4r1.c:4728:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4728 | if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4728:31: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4728 | if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4729:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4729 | else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4729:36: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4729 | else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && | ^~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4737:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4737 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4737:30: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4737 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4738:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4738 | else if (!compare_cstring (s,"\\Deleted")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4738:35: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4738 | else if (!compare_cstring (s,"\\Deleted")) | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4740:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4740 | else if (!compare_cstring (s,"\\Flagged")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4740:35: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4740 | else if (!compare_cstring (s,"\\Flagged")) | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4742:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4742 | else if (!compare_cstring (s,"\\Answered")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4742:35: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4742 | else if (!compare_cstring (s,"\\Answered")) | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4744:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4744 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4744:35: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4744 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4752:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4752 | else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4752:36: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4752 | else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ | ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4763:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4763 | else if (!compare_cstring (t,"UIDNEXT")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4763:36: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4763 | else if (!compare_cstring (t,"UIDNEXT")) | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4766:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4766 | !compare_cstring (t,"COPYUID") && | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4766:29: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4766 | !compare_cstring (t,"COPYUID") && | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4772:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4772 | else if (j && !compare_cstring (t,"APPENDUID") && | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4772:41: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4772 | else if (j && !compare_cstring (t,"APPENDUID") && | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4779:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4779 | if (!compare_cstring (t,"REFERRAL")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4779:26: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4779 | if (!compare_cstring (t,"REFERRAL")) | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4786:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4786 | if (!compare_cstring (t,"UIDNOTSTICKY")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4786:31: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4786 | if (!compare_cstring (t,"UIDNOTSTICKY")) { | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4790:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4790 | else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4790:36: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4790 | else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4791:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4791 | else if (!compare_cstring (t,"READ-WRITE")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4791:36: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4791 | else if (!compare_cstring (t,"READ-WRITE")) | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4793:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4793 | else if (!compare_cstring (t,"PARSE") && !errflg) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4793:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4793 | else if (!compare_cstring (t,"PARSE") && !errflg) | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:4835:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4835 | nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4860:25: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4860 | if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4861 | NIL,NIL))) { | ~~~~~~~~ imap4r1.c:4872:25: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4872 | if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4873 | NIL,LONGT))) { | ~~~~~~~~~~ imap4r1.c:4945:29: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4945 | else if (isdigit (*(s = *txtptr)) && | ^ ~~~~~~~ /usr/include/ctype.h:92:32: note: expanded from macro 'isdigit' 92 | #define isdigit(c) __sbistype((c), _CTYPE_D) | ^ imap4r1.c:4947:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 4947 | strtoul (*txtptr,(char **) txtptr,10))) { | ^~~~~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:5033:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5033 | (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5040:25: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5040 | (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5041 | LONGT); | ~~~~~~ imap4r1.c:5042:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5042 | (*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5140:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5140 | adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5141:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5141 | adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5142:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5142 | adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5143:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5143 | adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5240:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5240 | while (*(flag = ++*txtptr) == ' '); | ^ ~~~~~~~~~ imap4r1.c:5248:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5248 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5248:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5248 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5249:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5249 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5249:39: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5249 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5250:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5250 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5250:39: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5250 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5251:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5251 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5251:39: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5251 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5252:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5252 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5252:39: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5252 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5253:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5253 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5253:39: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5253 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5281:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5281 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5281:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5281 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5314:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5314 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ imap4r1.c:5314:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5314 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5355:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5355 | if (c) st = ++*txtptr; /* remember start of string */ | ^ ~~~~~~~~~ imap4r1.c:5410:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5410 | else if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) { | ^~~~~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:5442:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5442 | if (!(reply->line = net_getline (LOCAL->netstream))) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5443:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5443 | reply->line = cpystr (""); | ^ ~~~~~~~~~~~ imap4r1.c:5444:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5444 | if (stream->debug) mm_dlog (reply->line); | ^~~~~~~~~~~ ./mail.h:1695:21: note: passing argument to parameter 'string' here 1695 | void mm_dlog (char *string); | ^ imap4r1.c:5512:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5512 | if (!(b = mail_body (stream,msgno,seg))) { | ^~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here 1787 | unsigned char *section); | ^ imap4r1.c:5590:26: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5590 | if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5591:9: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5591 | ucase (body->subtype); | ^~~~~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ imap4r1.c:5609:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5609 | body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5630:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5630 | if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5631:9: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5631 | ucase (s); /* application always gets uppercase form */ | ^ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ imap4r1.c:5643:26: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5643 | if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5644:9: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5644 | ucase (body->subtype); /* parse subtype */ | ^~~~~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ imap4r1.c:5651:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5651 | body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5652:25: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5652 | body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5653 | LONGT); | ~~~~~~ imap4r1.c:5654:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5654 | if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5655:9: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5655 | ucase (s); /* application always gets uppercase form */ | ^ ./misc.h:82:38: note: passing argument to parameter 'string' here 82 | unsigned char *ucase (unsigned char *string); | ^ imap4r1.c:5671:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5671 | body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:5692:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5692 | body->size.lines = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:5699:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5699 | body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5712:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5712 | body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5759:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5759 | if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5760 | LONGT))) { | ~~~~~~ imap4r1.c:5765:22: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5765 | if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5791:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5791 | ((*(s = *txtptr) == 'I') || (*s == 'i')) && | ^ ~~~~~~~ imap4r1.c:5815:28: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5815 | body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5816 | LONGT); | ~~~~~~ imap4r1.c:5858:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5858 | else if ((s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) != NULL) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5927:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5927 | if ((i = strtoul (*txtptr,(char **) txtptr,10)) != 0L) do | ^~~~~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:5932:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5932 | if (!(reply->line = net_getline (LOCAL->netstream))) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5933:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5933 | reply->line = cpystr (""); | ^ ~~~~~~~~~~~ imap4r1.c:5934:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5934 | if (stream->debug) mm_dlog (reply->line); | ^~~~~~~~~~~ ./mail.h:1695:21: note: passing argument to parameter 'string' here 1695 | void mm_dlog (char *string); | ^ imap4r1.c:5939:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5939 | strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ imap4r1.c:5973:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5973 | if (!compare_cstring (t,"IMAP4")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5973:29: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5973 | if (!compare_cstring (t,"IMAP4")) | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5975:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5975 | else if (!compare_cstring (t,"IMAP4rev1")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5975:34: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5975 | else if (!compare_cstring (t,"IMAP4rev1")) | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5977:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5977 | else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5977:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5977 | else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5978:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5978 | else if (!compare_cstring (t,"IMAP2bis")) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5978:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5978 | else if (!compare_cstring (t,"IMAP2bis")) | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5980:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5980 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5980:34: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5980 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5981:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5981 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5981:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5981 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5982:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5982 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5982:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5982 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5983:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5983 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5983:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5983 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5984:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5984 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5984:34: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5984 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5985:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5985 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5985:34: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5985 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5986:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5986 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5986:34: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5986 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5987:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5987 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5987:34: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5987 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5988:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5988 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5988:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5988 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5989:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5989 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5989:34: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5989 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5990:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5990 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5990:34: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5990 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5991:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5991 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5991:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5991 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5992:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5992 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5992:34: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5992 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5993:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5993 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5993:34: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5993 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5994:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5994 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5994:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5994 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5995:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5995 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5995:34: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5995 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5996:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5996 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5996:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5996 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5997:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5997 | else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5997:34: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5997 | else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5998:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5998 | else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5998:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5998 | else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5999:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5999 | else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:5999:34: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5999 | else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:6000:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6000 | else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:6000:34: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6000 | else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:6001:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6001 | else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:6001:34: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6001 | else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:6009:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6009 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:6009:31: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6009 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:6016:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6016 | else if (!compare_cstring (t,"AUTH")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:6016:36: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6016 | else if (!compare_cstring (t,"AUTH")) { | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:6019:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6019 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ imap4r1.c:6019:31: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 6019 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ 378 warnings generated. `cat CCTYPE` -c `cat CFLAGS` http.c http.c:137:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 137 | s = strstr(stream->reply, "\r\n\r\n"); | ^~~~~~~~~~~~~ /usr/include/string.h:131:26: note: passing argument to parameter here 131 | char *strstr(const char *, const char *) __pure; | ^ http.c:137:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 137 | s = strstr(stream->reply, "\r\n\r\n"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:360:36: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 360 | if(h->data) buffer_add(&h->data, ", "); | ^~~~ http.c:90:50: note: passing argument to parameter here 90 | void buffer_add(unsigned char **, unsigned char *); | ^ http.c:380:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 380 | if((h = strchr(hdata, ':'))){ | ^~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:380:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 380 | if((h = strchr(hdata, ':'))){ | ^ ~~~~~~~~~~~~~~~~~~ http.c:383:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 383 | strncpy(hname, hdata, h-hdata); | ^~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ http.c:383:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 383 | strncpy(hname, hdata, h-hdata); | ^~~~~ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ http.c:385:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 385 | if(!valid_token_name(hname)) | ^~~~~~~~~~~~~~~~~~~~~~~ http.c:102:39: note: expanded from macro 'valid_token_name' 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ /usr/include/string.h:122:27: note: passing argument to parameter here 122 | char *strpbrk(const char *, const char *) __pure; | ^ http.c:395:46: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 395 | case 'a': if(!compare_cstring(hname+1, "ccept:")) /* RFC 7231, Section 5.3.2 */ | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:397:37: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 397 | else if(!compare_cstring(hname+1, "ccept-charset:")) /* RFC 7231, Section 5.3.3 */ | ^~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:399:37: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 399 | else if(!compare_cstring(hname+1, "ccept-encoding:")) /* RFC 7231, Section 5.3.4 */ | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:401:37: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 401 | else if(!compare_cstring(hname+1, "ccept-language:")) /* RFC 7231, Section 5.3.5 */ | ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:403:37: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 403 | else if(!compare_cstring(hname+1, "ccept-ranges:")) /* RFC 7233, Section 2.3 */ | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:405:37: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 405 | else if(!compare_cstring(hname+1, "ge:")) /* RFC 7234, Section 5.1 */ | ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:407:37: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 407 | else if(!compare_cstring(hname+1, "llow:")) /* RFC 7231, Section 7.4.1 */ | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:413:46: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 413 | case 'c': if(!compare_cstring(hname+1, "ache-control:")) /* RFC 7234, Section 5.2 */ | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:415:37: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 415 | else if(!compare_cstring(hname+1, "onnection:")) /* RFC 7230, Section 6.1 */ | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:417:37: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 417 | else if(!compare_cstring(hname+1, "ontent-disposition:")) /* RFC 6266 */ | ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:419:37: warning: passing 'char[17]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 419 | else if(!compare_cstring(hname+1, "ontent-encoding:")) /* RFC 7231, Section 3.1.2.2 */ | ^~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:421:37: warning: passing 'char[17]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 421 | else if(!compare_cstring(hname+1, "ontent-language:")) /* RFC 7231, Section 3.1.3.2 */ | ^~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:423:37: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 423 | else if(!compare_cstring(hname+1, "ontent-length:")) /* RFC 7230, Section 3.3.2 */ | ^~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:425:37: warning: passing 'char[17]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 425 | else if(!compare_cstring(hname+1, "ontent-location:")) /* RFC 7231, Section 3.1.4.2 */ | ^~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:427:37: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 427 | else if(!compare_cstring(hname+1, "ontent-type:")) /* RFC 7231, Section 3.1.1.5 */ | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:433:45: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 433 | case 'd': if(!compare_cstring(hname+1, "ate:")) /* RFC 7231, Section 7.1.1.2 */ | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:439:46: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 439 | case 'e': if(!compare_cstring(hname+1, "tag:")) /* RFC 7232, Section 2.3 */ | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:441:37: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 441 | else if(!compare_cstring(hname+1, "xpect:")) /* RFC 7231, Section 5.1.1 */ | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:443:37: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 443 | else if(!compare_cstring(hname+1, "xpires:")) /* RFC 7234, Section 5.3 */ | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:449:45: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 449 | case 'f': if(!compare_cstring(hname+1, "rom:")) /* RFC 7231, Section 5.5.1 */ | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:455:45: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 455 | case 'h': if(!compare_cstring(hname+1, "ost:")) /* RFC 7230, Section 5.4 */ | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:461:45: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 461 | case 'l': if(!compare_cstring(hname+1, "ast-modified:")) /* RFC 7232, Section 2.2 */ | ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:463:37: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 463 | else if(!compare_cstring(hname+1, "ocation:")) /* RFC 7231, Section 7.1.2 */ | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:469:45: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 469 | case 'm': if(!compare_cstring(hname+1, "ax-forwards:")) /* RFC 7231, Section 5.1.2 */ | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:471:37: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 471 | else if(!compare_cstring(hname+1, "ime-version:")) /* RFC 7231, Appendix A.1 */ | ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:477:45: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 477 | case 'p': if(!compare_cstring(hname+1, "ragma:")) /* RFC 7234, Section 5.4 */ | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:479:37: warning: passing 'char[19]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 479 | else if(!compare_cstring(hname+1, "roxy-authenticate:")) /* RFC 7235, Section 4.3 */ | ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:485:45: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 485 | case 'r': if(!compare_cstring(hname+1, "eferer:")) /* RFC 7231, Section 5.5.2 */ | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:487:37: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 487 | else if(!compare_cstring(hname+1, "etry-after:")) /* RFC 7231, Section 7.1.3 */ | ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:493:45: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 493 | case 's': if(!compare_cstring(hname+1, "erver:")) /* RFC 7231, Section 7.4.2 */ | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:499:45: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 499 | case 't': if(!compare_cstring(hname+1, "e:")) /* RFC 7230, Section 4.3 */ | ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:501:37: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 501 | else if(!compare_cstring(hname+1, "railer:")) /* RFC 7230, Section 4.4 */ | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:503:37: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 503 | else if(!compare_cstring(hname+1, "ransfer-encoding:")) /* RFC 7230, Section 3.3.1 */ | ^~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:510:45: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 510 | case 'u': if(!compare_cstring(hname+1, "pgrade:")) /* RFC 7230, Section 6.7 */ | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:512:37: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 512 | else if(!compare_cstring(hname+1, "ser-agent:")) /* RFC 7231, Section 5.5.3 */ | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:518:45: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 518 | case 'v': if(!compare_cstring(hname+1, "ia:")) /* RFC 7230, Section 5.7.1 */ | ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:520:37: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 520 | else if(!compare_cstring(hname+1, "ary:")) /* RFC 7231, Section 7.1.4 */ | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:526:45: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 526 | case 'w': if(!compare_cstring(hname+1, "arning:")) /* RFC 7234, Section 5.5 */ | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:528:37: warning: passing 'char[17]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 528 | else if(!compare_cstring(hname+1, "ww-authenticate:")) /* RFC 7235, Section 4.1 */ | ^~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:555:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 555 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~~~~ http.c:102:39: note: expanded from macro 'valid_token_name' 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ /usr/include/string.h:122:27: note: passing argument to parameter here 122 | char *strpbrk(const char *, const char *) __pure; | ^ http.c:563:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 563 | rv->vp->value = cpystr(s); | ^ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ http.c:604:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 604 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~~~~ http.c:102:39: note: expanded from macro 'valid_token_name' 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ /usr/include/string.h:122:27: note: passing argument to parameter here 122 | char *strpbrk(const char *, const char *) __pure; | ^ http.c:617:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 617 | rv->vp->value = cpystr(s); | ^ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ http.c:635:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 635 | t = strchr(s+1, '\"'); | ^~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:635:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 635 | t = strchr(s+1, '\"'); | ^ ~~~~~~~~~~~~~~~~~ http.c:652:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 652 | for(t = s; strlen(t) > 0 ;) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:653:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 653 | if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:653:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 653 | if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:654:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 654 | t[strlen(t)-1] = '\0'; | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:675:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 675 | u = strchr(s, '='); | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:675:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 675 | u = strchr(s, '='); | ^ ~~~~~~~~~~~~~~ http.c:680:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 680 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^~~~~~~~~~~~~~~~~~~ http.c:102:39: note: expanded from macro 'valid_token_name' 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ /usr/include/string.h:122:27: note: passing argument to parameter here 122 | char *strpbrk(const char *, const char *) __pure; | ^ http.c:680:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 680 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:104:4: note: expanded from macro 'valid_parameter_value' 104 | ((valid_token_name((X)) || valid_dquote_text((X))) ? 1 : 0) | ^~~~~~~~~~~~~~~~~~~~~ http.c:102:39: note: expanded from macro 'valid_token_name' 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ /usr/include/string.h:122:27: note: passing argument to parameter here 122 | char *strpbrk(const char *, const char *) __pure; | ^ http.c:683:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 683 | p->attribute = cpystr(s); | ^ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ http.c:684:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 684 | p->value = cpystr(u+1); | ^~~ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ http.c:693:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 693 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~~~~ http.c:102:39: note: expanded from macro 'valid_token_name' 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ /usr/include/string.h:122:27: note: passing argument to parameter here 122 | char *strpbrk(const char *, const char *) __pure; | ^ http.c:696:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 696 | p->attribute = cpystr(s); | ^ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ http.c:713:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 713 | enc_param.name = hex_escape_url_part(param[i].name, NULL); | ^~~~~~~~~~~~~ http.c:91:51: note: passing argument to parameter here 91 | unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); | ^ http.c:713:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 713 | enc_param.name = hex_escape_url_part(param[i].name, NULL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:714:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 714 | enc_param.value = hex_escape_url_part(param[i].value, NULL); | ^~~~~~~~~~~~~~ http.c:91:51: note: passing argument to parameter here 91 | unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); | ^ http.c:714:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 714 | enc_param.value = hex_escape_url_part(param[i].value, NULL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:715:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 715 | buffer_add(&rv, i == 0 ? "?" : "&"); | ^~~~~~~~~~~~~~~~~~ http.c:90:50: note: passing argument to parameter here 90 | void buffer_add(unsigned char **, unsigned char *); | ^ http.c:716:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 716 | buffer_add(&rv, enc_param.name); | ^~~~~~~~~~~~~~ http.c:90:50: note: passing argument to parameter here 90 | void buffer_add(unsigned char **, unsigned char *); | ^ http.c:717:21: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 717 | buffer_add(&rv, "="); | ^~~ http.c:90:50: note: passing argument to parameter here 90 | void buffer_add(unsigned char **, unsigned char *); | ^ http.c:718:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 718 | buffer_add(&rv, enc_param.value); | ^~~~~~~~~~~~~~~ http.c:90:50: note: passing argument to parameter here 90 | void buffer_add(unsigned char **, unsigned char *); | ^ http.c:749:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 749 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:749:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 749 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:749:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 749 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:752:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 752 | sprintf(line, "%s %s %s", method, target, version); | ^~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:765:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 765 | len = strlen(name) + 2 + strlen(value) + 2 + 1; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:765:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 765 | len = strlen(name) + 2 + strlen(value) + 2 + 1; | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:766:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 766 | hlen = (*reqp)->header ? strlen((*reqp)->header) : 0; | ^~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:769:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 769 | sprintf((*reqp)->header + hlen, "%s: %s\015\012", name, value); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:779:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 779 | len = *bufp ? strlen(*bufp) : 0; | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:780:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 780 | fs_resize((void **) bufp, (len + strlen(text) + 1)*sizeof(char)); | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:782:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 782 | strcat(*bufp, text); | ^~~~~ /usr/include/string.h:79:31: note: passing argument to parameter here 79 | char *strcat(char * __restrict, const char * __restrict); | ^ http.c:782:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 782 | strcat(*bufp, text); | ^~~~ /usr/include/string.h:79:56: note: passing argument to parameter here 79 | char *strcat(char * __restrict, const char * __restrict); | ^ http.c:832:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 832 | unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:837:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 837 | || (addsafe != NULL && strchr(addsafe, *t) != NULL)) | ^~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:838:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 838 | sprintf(s + strlen(s), "%c", *t); | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:838:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 838 | sprintf(s + strlen(s), "%c", *t); | ^~~~~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:840:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 840 | sprintf(s + strlen(s), "%%%X", *t); | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:840:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 840 | sprintf(s + strlen(s), "%%%X", *t); | ^~~~~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:841:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 841 | fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:850:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 850 | unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:855:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 855 | sprintf(s + strlen(s), "%c", '+'); | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:855:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 855 | sprintf(s + strlen(s), "%c", '+'); | ^~~~~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:857:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 857 | || (addsafe != NULL && strchr(addsafe, *t) != NULL)) | ^~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:858:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 858 | sprintf(s + strlen(s), "%c", *t); | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:858:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 858 | sprintf(s + strlen(s), "%c", *t); | ^~~~~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:860:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 860 | sprintf(s + strlen(s), "%%%X", *t); | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:860:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 860 | sprintf(s + strlen(s), "%%%X", *t); | ^~~~~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ http.c:861:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 861 | fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:887:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 887 | s = strchr(url+i+1, '/'); | ^~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:887:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 887 | s = strchr(url+i+1, '/'); | ^ ~~~~~~~~~~~~~~~~~~~~ http.c:888:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 888 | len = s ? s - url - i - 1 : strlen(url+i+1); | ^~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:889:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 889 | strncpy(mb->orighost, url+i+1, len); | ^~~~~~~ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ http.c:915:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 915 | s = strchr((char *) url + 7 + (mb.trysslflag ? 1 : 0) + 1, '/'); /* 7 = strlen("http://") + 1 */ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:916:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 916 | stream->url = cpystr(url); | ^~~ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ http.c:941:45: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 941 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~ http.c:747:34: note: passing argument to parameter 'method' here 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ^ http.c:941:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 941 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~ http.c:747:57: note: passing argument to parameter 'target' here 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ^ http.c:941:70: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 941 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~~ ./http.h:76:26: note: expanded from macro 'HTTP_1_1_VERSION' 76 | #define HTTP_1_1_VERSION "HTTP/1.1" | ^~~~~~~~~~ http.c:747:80: note: passing argument to parameter 'version' here 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ^ http.c:942:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 942 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~ http.c:757:55: note: passing argument to parameter 'name' here 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ^ http.c:942:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 942 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~~~~~~~~~~ http.c:757:76: note: passing argument to parameter 'value' here 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ^ http.c:943:34: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 943 | http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); | ^~~~~~~~~~~~~~ http.c:757:55: note: passing argument to parameter 'name' here 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ^ http.c:943:50: warning: passing 'char[34]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 943 | http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); | ^~~~~~~~~~~~~~~~~~~~ ./http.h:74:30: note: expanded from macro 'HTTP_MIME_URLENCODED' 74 | #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:757:76: note: passing argument to parameter 'value' here 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ^ http.c:946:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 946 | enc_param.name = encode_url_body_part(param[i].name, NULL); | ^~~~~~~~~~~~~ http.c:847:37: note: passing argument to parameter 'text' here 847 | encode_url_body_part(unsigned char *text, unsigned char *addsafe) | ^ http.c:946:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 946 | enc_param.name = encode_url_body_part(param[i].name, NULL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:947:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 947 | enc_param.value = encode_url_body_part(param[i].value, NULL); | ^~~~~~~~~~~~~~ http.c:847:37: note: passing argument to parameter 'text' here 847 | encode_url_body_part(unsigned char *text, unsigned char *addsafe) | ^ http.c:947:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 947 | enc_param.value = encode_url_body_part(param[i].value, NULL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:949:37: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 949 | http_add_body(&http_request, "&"); | ^~~ http.c:786:53: note: passing argument to parameter 'text' here 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ^ http.c:950:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 950 | http_add_body(&http_request, enc_param.name); | ^~~~~~~~~~~~~~ http.c:786:53: note: passing argument to parameter 'text' here 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ^ http.c:951:34: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 951 | http_add_body(&http_request, "="); | ^~~ http.c:786:53: note: passing argument to parameter 'text' here 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ^ http.c:952:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 952 | http_add_body(&http_request, enc_param.value); | ^~~~~~~~~~~~~~~ http.c:786:53: note: passing argument to parameter 'text' here 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ^ http.c:959:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 959 | response = cpystr(s ? (char *) s : ""); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:977:45: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 977 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ^~~~~ http.c:747:34: note: passing argument to parameter 'method' here 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ^ http.c:977:52: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 977 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~ http.c:747:57: note: passing argument to parameter 'target' here 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ^ http.c:977:69: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 977 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~~ ./http.h:76:26: note: expanded from macro 'HTTP_1_1_VERSION' 76 | #define HTTP_1_1_VERSION "HTTP/1.1" | ^~~~~~~~~~ http.c:747:80: note: passing argument to parameter 'version' here 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ^ http.c:978:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 978 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~ http.c:757:55: note: passing argument to parameter 'name' here 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ^ http.c:978:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 978 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~~~~~~~~~~ http.c:757:76: note: passing argument to parameter 'value' here 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ^ http.c:980:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 980 | http_add_header(&http_request, h[i]->name, h[i]->value); | ^~~~~~~~~~ http.c:757:55: note: passing argument to parameter 'name' here 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ^ http.c:980:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 980 | http_add_header(&http_request, h[i]->name, h[i]->value); | ^~~~~~~~~~~ http.c:757:76: note: passing argument to parameter 'value' here 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ^ http.c:984:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 984 | response = cpystr(s ? (char *) s : ""); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:1014:29: warning: passing 'char[21]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1014 | ret = http_fake (stream,"http connection lost"); | ^~~~~~~~~~~~~~~~~~~~~~ http.c:96:46: note: passing argument to parameter here 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^ http.c:1019:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1019 | sprintf(length, "%lu", strlen(req->body)); | ^~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ http.c:1020:29: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1020 | http_add_header(&req, "Content-Length", length); | ^~~~~~~~~~~~~~~~ http.c:757:55: note: passing argument to parameter 'name' here 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ^ http.c:1020:47: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1020 | http_add_header(&req, "Content-Length", length); | ^~~~~~ http.c:757:76: note: passing argument to parameter 'value' here 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ^ http.c:1023:50: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1023 | buffer_add(&s, req->request); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ http.c:773:49: note: passing argument to parameter 'text' here 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ^ http.c:1024:49: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1024 | buffer_add(&s, req->header); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ http.c:773:49: note: passing argument to parameter 'text' here 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ^ http.c:1025:47: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1025 | buffer_add(&s, req->body); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ http.c:773:49: note: passing argument to parameter 'text' here 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ^ http.c:1027:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1027 | if(stream->debug) mm_log(s, HTTPDEBUG); | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ http.c:1029:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1029 | ret = net_soutr (stream->netstream,s) | ^ ./mail.h:1913:41: note: passing argument to parameter 'string' here 1913 | long net_soutr (NETSTREAM *stream,char *string); | ^ http.c:1031:24: warning: passing 'char[34]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1031 | : http_fake (stream,"http connection broken in command"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:96:46: note: passing argument to parameter here 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^ http.c:1046:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1046 | if((s = strchr(status_line, ' ')) != NIL){ | ^~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ http.c:1048:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1048 | version = cpystr(status_line); | ^~~~~~~~~~~ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ http.c:1083:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1083 | if(stream->debug) mm_log(stream->response ? stream->response : (unsigned char *) "", HTTPDEBUG); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ http.c:1087:33: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1087 | buffer_add(&stream->reply, "\015\012"); | ^~~~~~~~~~ http.c:773:49: note: passing argument to parameter 'text' here 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ^ http.c:1094:23: warning: passing 'char[49]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1094 | http_fake(stream, "Invalid status line received. Closing connection"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:96:46: note: passing argument to parameter here 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^ http.c:1104:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1104 | if(stream->debug) mm_log(stream->response, HTTPDEBUG); | ^~~~~~~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ http.c:1106:33: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1106 | buffer_add(&stream->reply, "\015\012"); | ^~~~~~~~~~ http.c:773:49: note: passing argument to parameter 'text' here 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ^ http.c:1119:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1119 | if(stream->debug) mm_log(stream->response, HTTPDEBUG); | ^~~~~~~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ http.c:1125:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1125 | if(!compare_cstring(p->vp->value, "chunked")) | ^~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:1125:36: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1125 | if(!compare_cstring(p->vp->value, "chunked")) | ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ http.c:1134:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1134 | if(stream->debug) mm_log(s, HTTPDEBUG); | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ http.c:1135:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1135 | size = strtol(s, NIL, 16); | ^ /usr/include/stdlib.h:116:37: note: passing argument to parameter here 116 | long strtol(const char * __restrict, char ** __restrict, int); | ^ http.c:1140:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1140 | if(stream->debug) mm_log(stream->response, HTTPDEBUG); | ^~~~~~~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ http.c:1148:23: warning: passing 'char[33]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1148 | http_fake(stream, "Connection to HTTP server closed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:96:46: note: passing argument to parameter here 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^ 155 warnings generated. `cat CCTYPE` -c `cat CFLAGS` json.c json.c:454:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 454 | JSON_S *json = json_body_value(j, s); | ^ json.c:137:43: note: passing argument to parameter 's' here 137 | json_body_value(JSON_S *j, unsigned char *s) | ^ json.c:475:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 475 | if(j->name && !compare_cstring(j->name, name)) | ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ 2 warnings generated. `cat CCTYPE` -c `cat CFLAGS` pop3.c pop3.c:179:22: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 179 | !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; | ^~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:179:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 179 | !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:231:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 231 | (pop3_valid (ref) && pmatch ("INBOX",pat)) : | ^~~~~~~ ./misc.h:78:16: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ pop3.c:231:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 231 | (pop3_valid (ref) && pmatch ("INBOX",pat)) : | ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ pop3.c:232:60: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 232 | (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) | ^~~~~~~ ./misc.h:78:16: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ pop3.c:232:68: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 232 | (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) | ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ pop3.c:247:37: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 247 | if (pop3_valid (ref) && pmatch ("INBOX",pat)) { | ^~~~~~~ ./misc.h:78:16: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ pop3.c:247:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 247 | if (pop3_valid (ref) && pmatch ("INBOX",pat)) { | ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ pop3.c:252:64: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 252 | else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { | ^~~~~~~ ./misc.h:78:16: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ pop3.c:252:72: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 252 | else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { | ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ pop3.c:278:74: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 278 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) | ^ ./misc.h:78:16: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ pop3.c:278:76: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 278 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) | ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ pop3.c:504:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 504 | if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:504:29: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 504 | if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:505:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 505 | else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:505:34: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 505 | else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:506:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 506 | else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:506:34: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 506 | else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:507:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 507 | else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:507:34: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 507 | else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; | ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:508:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 508 | else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:508:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 508 | else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:509:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 509 | else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:509:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 509 | else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:510:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 510 | else if (!compare_cstring (t,"IMPLEMENTATION") && args) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:510:34: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 510 | else if (!compare_cstring (t,"IMPLEMENTATION") && args) | ^~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:512:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 512 | else if (!compare_cstring (t,"EXPIRE") && args) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:512:34: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 512 | else if (!compare_cstring (t,"EXPIRE") && args) { | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:520:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 520 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:520:26: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 520 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:521:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 521 | ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:521:31: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 521 | ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:523:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 523 | else if (!compare_cstring (t,"LOGIN-DELAY") && args) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:523:34: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 523 | else if (!compare_cstring (t,"LOGIN-DELAY") && args) { | ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:531:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 531 | LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:531:56: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 531 | LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:534:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 534 | else if (!compare_cstring (t,"SASL") && args) | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:534:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 534 | else if (!compare_cstring (t,"SASL") && args) | ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:618:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 618 | if(!compare_cstring(at->name, mb->auth)) | ^~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:618:42: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 618 | if(!compare_cstring(at->name, mb->auth)) | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ pop3.c:830:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 830 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ pop3.c:831:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 831 | mail_sequence (stream,sequence))) | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ pop3.c:994:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 994 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ pop3.c:995:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 995 | mail_sequence (stream,sequence)) : | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ 44 warnings generated. `cat CCTYPE` -c `cat CFLAGS` unix.c unix.c:470:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 470 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:470:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 470 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:482:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 482 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:591:26: warning: initializing 'unsigned char *' with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 591 | STRINGLIST XIMAPbase = {{"X-IMAPbase", 10}, NIL}; | ^~~~~~~~~~~~ unix.c:592:26: warning: initializing 'unsigned char *' with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 592 | STRINGLIST XIMAP = {{"X-IMAP", 6}, &XIMAPbase}; | ^~~~~~~~ unix.c:593:26: warning: initializing 'unsigned char *' with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 593 | STRINGLIST XUID = {{"X-UID", 5}, &XIMAP}; | ^~~~~~~ unix.c:594:26: warning: initializing 'unsigned char *' with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 594 | STRINGLIST XKeywords = {{"X-Keywords", 10}, &XUID}; | ^~~~~~~~~~~~ unix.c:595:26: warning: initializing 'unsigned char *' with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 595 | STRINGLIST XStatus = {{"X-Status", 8}, &XKeywords}; | ^~~~~~~~~~ unix.c:596:26: warning: initializing 'unsigned char *' with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 596 | STRINGLIST Status = {{"Status", 6}, &XStatus}; | ^~~~~~~~ unix.c:615:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 615 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 616 | elt->private.msg.header.text.size) + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:629:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 629 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:642:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 642 | *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1800:34: note: passing argument to parameter 'text' here 1800 | unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, | ^ unix.c:692:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 692 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 693 | elt->private.msg.text.text.size) + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:720:13: warning: assigning to 'char *' from 'unsigned char[65536]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 720 | d.chunk = tmp; /* initial buffer chunk */ | ^ ~~~ unix.c:723:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 723 | for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:776:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 776 | sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:778:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 778 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:835:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 835 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ unix.c:836:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 836 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ unix.c:849:27: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 849 | if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); | ^ ~~~~~~~~~~ unix.c:891:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 891 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ unix.c:892:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 892 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ unix.c:898:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 898 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:898:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 898 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:905:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 905 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:906:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 906 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:910:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 910 | sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:911:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 911 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:915:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 915 | sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:916:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 916 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:925:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 925 | sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:927:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 927 | MM_LOG (LOCAL->buf,WARN); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:936:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 936 | sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:937:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 937 | MM_LOG (LOCAL->buf,ERROR);/* log the error */ | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:946:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 946 | if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ unix.c:954:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 954 | unix_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ unix.c:131:54: note: passing argument to parameter 'status' here 131 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ^ unix.c:955:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 955 | unix_xstatus (stream,LOCAL->buf,elt,NIL,NIL); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ unix.c:131:54: note: passing argument to parameter 'status' here 131 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ^ unix.c:956:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 956 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ unix.c:970:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 970 | sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:996:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 996 | if (!ret) MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:1040:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1040 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:1040:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1040 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:1082:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1082 | if (!mail_parse_date (&elt,date)) { | ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ unix.c:1185:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1185 | if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:1451:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1451 | sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:1452:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1452 | MM_LOG (tmp,ERROR); | ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:1461:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1461 | sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:1463:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1463 | MM_LOG (tmp,ERROR); /* this is pretty bad */ | ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:1475:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1475 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ ~~~~~~~~~~ unix.c:1484:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1484 | s = unix_mbxline (stream,&bs,&i); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:1488:11: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1488 | sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:1490:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1490 | MM_LOG (tmp,ERROR); | ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:1539:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1539 | sprintf (tmp,"Unable to parse internal date: %s",(char *) date); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:1540:12: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1540 | MM_LOG (tmp,WARN); | ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:1544:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1544 | s = t = unix_mbxline (stream,&bs,&i); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:1561:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1561 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ /usr/include/string.h:122:27: note: passing argument to parameter here 122 | char *strpbrk(const char *, const char *) __pure; | ^ unix.c:1561:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1561 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ ~~~~~~~~~~~~~~~~~~~ unix.c:1561:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1561 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ unix.c:1567:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1567 | if (!compare_csizedtext (stream->user_flags[j],&uf)) { | ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:107:40: note: passing argument to parameter 's1' here 107 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ^ unix.c:1615:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1615 | u = strpbrk (s," \n\r"); | ^ /usr/include/string.h:122:27: note: passing argument to parameter here 122 | char *strpbrk(const char *, const char *) __pure; | ^ unix.c:1615:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1615 | u = strpbrk (s," \n\r"); | ^ ~~~~~~~~~~~~~~~~~~~ unix.c:1622:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1622 | strncpy (stream->user_flags[j],s,k); | ^ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ unix.c:1650:16: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1650 | sprintf (tmp,"Message %lu UID %lu already has UID %lu", | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:1655:16: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1655 | sprintf (tmp,"Message %lu UID %lu less than %lu", | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:1675:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1675 | MM_LOG (tmp,WARN); | ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:1731:34: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1731 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:1732:27: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1732 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:1733:27: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1733 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:1734:27: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1734 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:1735:27: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1735 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:1736:27: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1736 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:1759:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1759 | if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; | ^ ~~~~~~~~~~~~~~~~~~~~ unix.c:1785:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1785 | s = unix_mbxline (stream,&bs,&i); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2071:60: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2071 | unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ unix.c:1951:53: note: passing argument to parameter 'hdr' here 1951 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ^ unix.c:2079:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2079 | unix_xstatus (stream,LOCAL->buf,elt,NIL,flag) + | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ unix.c:1978:54: note: passing argument to parameter 'status' here 1978 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ^ unix.c:2087:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2087 | size = unix_pseudo (stream,LOCAL->buf); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ unix.c:1951:53: note: passing argument to parameter 'hdr' here 1951 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ^ unix.c:2107:53: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2107 | unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ unix.c:1951:53: note: passing argument to parameter 'hdr' here 1951 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ^ unix.c:2107:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2107 | unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ unix.c:136:36: note: passing argument to parameter 's' here 136 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ^ unix.c:2124:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2124 | unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ unix.c:1978:54: note: passing argument to parameter 'status' here 1978 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ^ unix.c:2138:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2138 | unix_write (&f,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ unix.c:136:36: note: passing argument to parameter 's' here 136 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ^ unix.c:2159:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2159 | j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ unix.c:1978:54: note: passing argument to parameter 'status' here 1978 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ^ unix.c:2158:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2158 | unix_write (&f,LOCAL->buf, | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ unix.c:136:36: note: passing argument to parameter 's' here 136 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ^ unix.c:2244:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2244 | sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:2245:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2245 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:2266:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2266 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2271:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2271 | if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ unix.c:2277:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2277 | sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:2278:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2278 | if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:2450:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2450 | if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:2450:30: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2450 | if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:2465:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2465 | if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:2465:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2465 | if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ unix.c:2593:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2593 | sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format", | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:2595:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2595 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:2607:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2607 | sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:2608:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2608 | MM_LOG (LOCAL->buf,WARN); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:2614:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2614 | sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu", | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:2616:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2616 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ unix.c:2632:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2632 | sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s", | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ unix.c:2637:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2637 | else MM_LOG (LOCAL->buf,WARN); | ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' 81 | #define LOCAL ((UNIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ 100 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mbx.c mbx.c:308:61: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 308 | else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mbx.c:308:66: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 308 | else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mbx.c:507:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 507 | if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mbx.c:507:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 507 | if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mbx.c:588:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 588 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:591:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 591 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mbx.c:591:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 591 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mbx.c:678:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 678 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mbx.c:679:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 679 | mail_sequence (stream,sequence))) | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mbx.c:707:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 707 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:710:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 710 | read (LOCAL->fd,s = LOCAL->buf,*length); | ^ ~~~~~~~~~~ mbx.c:747:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 747 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ ~~~~~~~~~~ mbx.c:857:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 857 | sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:858:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 858 | MM_LOG (LOCAL->buf,(long) NIL); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mbx.c:890:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 890 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mbx.c:891:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 891 | mail_sequence (stream,sequence)) : LONGT) != 0L) { | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mbx.c:897:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 897 | sprintf (LOCAL->buf,"Expunged %lu messages",nexp); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:898:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 898 | MM_LOG (LOCAL->buf,(long) NIL); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mbx.c:901:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 901 | sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:902:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 902 | MM_LOG (LOCAL->buf,(long) NIL); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mbx.c:941:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 941 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./mail.h:1788:24: note: passing argument to parameter 'string' here 1788 | char *mail_date (char *string,MESSAGECACHE *elt); | ^ mbx.c:942:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 942 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mbx.c:942:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 942 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:948:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 948 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mbx.c:948:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 948 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mbx.c:964:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 964 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:965:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 965 | MM_LOG (LOCAL->buf,WARN); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mbx.c:1000:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1000 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mbx.c:1001:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1001 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mbx.c:1010:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1010 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1011:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1011 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mbx.c:1015:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1015 | sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1016:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1016 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mbx.c:1020:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1020 | sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1021:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1021 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mbx.c:1033:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1033 | mail_date(LOCAL->buf,elt);/* build target header */ | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./mail.h:1788:24: note: passing argument to parameter 'string' here 1788 | char *mail_date (char *string,MESSAGECACHE *elt); | ^ mbx.c:1038:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1038 | if (!compare_cstring (s,t) && (k |= 1 << m)) break; | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mbx.c:1038:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1038 | if (!compare_cstring (s,t) && (k |= 1 << m)) break; | ^ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mbx.c:1039:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1039 | sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mbx.c:1039:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1039 | sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1045:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1045 | if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mbx.c:1045:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1045 | if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mbx.c:1048:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1048 | ret = write (fd,LOCAL->buf,j) >= 0; | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mbx.c:1059:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1059 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1060:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1060 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mbx.c:1066:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1066 | sprintf (LOCAL->buf,"%08lx",dstream->uid_last); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1067:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1067 | write (fd,LOCAL->buf,8); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mbx.c:1124:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1124 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mbx.c:1124:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1124 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mbx.c:1166:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1166 | if (!mail_parse_date (&elt,date)) { | ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ mbx.c:1275:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1275 | stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); | ^~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mbx.c:1278:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1278 | i = strtoul (LOCAL->buf + 15,NIL,16); | ^~~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mbx.c:1282:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1282 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ mbx.c:1282:31: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1282 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ ~~~~~~~~~~~~~~~~~ mbx.c:1285:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1285 | if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG)) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mbx.c:1286:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1286 | stream->user_flags[i] = cpystr (s); | ^ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ mbx.c:1296:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1296 | strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mbx.c:1313:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1313 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ mbx.c:1313:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1313 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1322:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ mbx.c:1322:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1322:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ mbx.c:1322:47: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ ~~~~~~~~~~~~~~~~ mbx.c:1352:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1352 | if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) { | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mbx.c:1370:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1370 | if ((m = strtoul (t+13,NIL,16)) && | ^~~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mbx.c:1386:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1386 | if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) { | ^~~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mbx.c:1420:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1420 | elt->user_flags = strtoul (t,NIL,16); | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mbx.c:1502:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1502 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!", | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1504:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1504 | fatal (LOCAL->buf); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here 32 | void fatal (char *string); | ^ mbx.c:1511:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1511 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1512:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1512 | fatal (LOCAL->buf); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here 32 | void fatal (char *string); | ^ mbx.c:1517:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1517 | strncpy(tmp, LOCAL->buf, 14); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ mbx.c:1518:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1518 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1521:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1521 | fatal (LOCAL->buf+50); | ^~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here 32 | void fatal (char *string); | ^ mbx.c:1525:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1525 | i = strtoul (LOCAL->buf+9,NIL,16); | ^~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mbx.c:1534:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1534 | elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); | ^~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mbx.c:1550:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1550 | char *s = LOCAL->buf; | ^ ~~~~~~~~~~ mbx.c:1561:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1561 | sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1565:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1565 | if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mbx.c:1588:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1588 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!", | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1590:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1590 | fatal (LOCAL->buf); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here 32 | void fatal (char *string); | ^ mbx.c:1597:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1597 | sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1598:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1598 | fatal (LOCAL->buf); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here 32 | void fatal (char *string); | ^ mbx.c:1603:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1603 | strncpy(tmp, LOCAL->buf, 14); | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ mbx.c:1605:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1605 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1608:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1608 | fatal (LOCAL->buf+50); | ^~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here 32 | void fatal (char *string); | ^ mbx.c:1613:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1613 | fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + | ^~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mbx.c:1611:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1611 | sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned) | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mbx.c:1621:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1621 | if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mbx.c:1669:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1669 | if (hdr) *hdr = LOCAL->buf; | ^ ~~~~~~~~~~ mbx.c:1676:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1676 | if (hdr) *hdr = LOCAL->buf; | ^ ~~~~~~~~~~ mbx.c:1686:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1686 | if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ | ^ ~~~~~~~~~~ mbx.c:1767:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1767 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ 93 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mmdf.c mmdf.c:609:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 609 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mmdf.c:609:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 609 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mmdf.c:621:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 621 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:767:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 767 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 768 | elt->private.msg.header.text.size) + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:781:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 781 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:794:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 794 | *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./mail.h:1800:34: note: passing argument to parameter 'text' here 1800 | unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, | ^ mmdf.c:844:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 844 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 845 | elt->private.msg.text.text.size) + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:872:13: warning: assigning to 'char *' from 'unsigned char[65536]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 872 | d.chunk = tmp; /* initial buffer chunk */ | ^ ~~~ mmdf.c:875:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 875 | for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:928:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 928 | sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:930:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 930 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:987:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 987 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mmdf.c:988:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 988 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mmdf.c:1001:27: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1001 | if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); | ^ ~~~~~~~~~~ mmdf.c:1040:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1040 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mmdf.c:1041:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1041 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mmdf.c:1046:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1046 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mmdf.c:1046:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1046 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mmdf.c:1053:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1053 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:1054:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1054 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:1058:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1058 | sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:1059:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1059 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:1063:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1063 | sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:1064:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1064 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:1073:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1073 | sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:1075:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1075 | MM_LOG (LOCAL->buf,WARN); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:1084:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1084 | sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:1085:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1085 | MM_LOG (LOCAL->buf,ERROR); /* log the error */ | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:1094:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1094 | if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mmdf.c:1102:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1102 | mmdf_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ mmdf.c:287:54: note: passing argument to parameter 'status' here 287 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ^ mmdf.c:1103:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1103 | mmdf_xstatus (stream,LOCAL->buf,elt,NIL,NIL); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ mmdf.c:287:54: note: passing argument to parameter 'status' here 287 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ^ mmdf.c:1104:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1104 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mmdf.c:1119:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1119 | sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:1145:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1145 | if (!ret) MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:1190:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1190 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mmdf.c:1190:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1190 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mmdf.c:1232:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1232 | if (!mail_parse_date (&elt,date)) { | ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ mmdf.c:1334:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1334 | if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1593:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1593 | sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:1594:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1594 | MM_LOG (tmp,ERROR); | ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:1603:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1603 | sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:1605:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1605 | MM_LOG (tmp,ERROR); /* this is pretty bad */ | ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:1617:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1617 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ ~~~~~~~~~~ mmdf.c:1626:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1626 | s = mmdf_mbxline (stream,&bs,&i); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1630:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1630 | sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:1636:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1636 | s = mmdf_mbxline (stream,&bs,&i); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1641:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1641 | MM_LOG (tmp,ERROR); | ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:1658:4: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1658 | s = mmdf_mbxline (stream,&bs,&i); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1694:15: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1694 | sprintf (tmp,"Unable to parse internal date: %s",(char *) date); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:1695:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1695 | MM_LOG (tmp,WARN); | ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:1712:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1712 | if (t) s = t = mmdf_mbxline (stream,&bs,&i); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1738:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1738 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ /usr/include/string.h:122:27: note: passing argument to parameter here 122 | char *strpbrk(const char *, const char *) __pure; | ^ mmdf.c:1738:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1738 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ ~~~~~~~~~~~~~~~~~~~ mmdf.c:1738:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1738 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mmdf.c:1744:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1744 | if (!compare_csizedtext (stream->user_flags[j],&uf)) { | ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:107:40: note: passing argument to parameter 's1' here 107 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ^ mmdf.c:1792:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1792 | u = strpbrk (s," \n\r"); | ^ /usr/include/string.h:122:27: note: passing argument to parameter here 122 | char *strpbrk(const char *, const char *) __pure; | ^ mmdf.c:1792:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1792 | u = strpbrk (s," \n\r"); | ^ ~~~~~~~~~~~~~~~~~~~ mmdf.c:1799:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1799 | strncpy (stream->user_flags[j],s,k); | ^ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ mmdf.c:1827:16: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1827 | sprintf (tmp,"Message %lu UID %lu already has UID %lu", | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:1832:16: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1832 | sprintf (tmp,"Message %lu UID %lu less than %lu", | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:1852:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1852 | MM_LOG (tmp,WARN); | ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:1908:34: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1908 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mmdf.c:1909:27: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1909 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mmdf.c:1910:27: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1910 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mmdf.c:1911:27: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1911 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mmdf.c:1912:27: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1912 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mmdf.c:1913:27: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1913 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mmdf.c:1936:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1936 | if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; | ^ ~~~~~~~~~~~~~~~~~~~~ mmdf.c:1960:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1960 | s = mmdf_mbxline (stream,&bs,&i); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1985:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1985 | s = mmdf_mbxline (stream,&bs,&i); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:2247:60: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2247 | unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ mmdf.c:2127:53: note: passing argument to parameter 'hdr' here 2127 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ^ mmdf.c:2255:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2255 | mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag) + | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ mmdf.c:2154:54: note: passing argument to parameter 'status' here 2154 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ^ mmdf.c:2263:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2263 | size = mmdf_pseudo (stream,LOCAL->buf); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ mmdf.c:2127:53: note: passing argument to parameter 'hdr' here 2127 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ^ mmdf.c:2283:53: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2283 | mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ mmdf.c:2127:53: note: passing argument to parameter 'hdr' here 2127 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ^ mmdf.c:2283:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2283 | mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ mmdf.c:292:36: note: passing argument to parameter 's' here 292 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ^ mmdf.c:2300:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2300 | mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ mmdf.c:2154:54: note: passing argument to parameter 'status' here 2154 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ^ mmdf.c:2314:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2314 | mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ mmdf.c:292:36: note: passing argument to parameter 's' here 292 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ^ mmdf.c:2335:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2335 | j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ mmdf.c:2154:54: note: passing argument to parameter 'status' here 2154 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ^ mmdf.c:2334:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2334 | mmdf_write (&f,LOCAL->buf, | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ mmdf.c:292:36: note: passing argument to parameter 's' here 292 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ^ mmdf.c:2403:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2403 | sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:2404:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2404 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mmdf.c:2425:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2425 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:2430:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2430 | if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mmdf.c:2436:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2436 | sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mmdf.c:2437:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2437 | if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' 236 | #define LOCAL ((MMDFLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ 85 warnings generated. `cat CCTYPE` -c `cat CFLAGS` tenex.c tenex.c:212:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 212 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ tenex.c:212:56: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 212 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ tenex.c:354:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 354 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ tenex.c:354:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 354 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ tenex.c:431:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 431 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:437:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 437 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ tenex.c:437:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 437 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ tenex.c:504:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 504 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ tenex.c:505:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 505 | mail_sequence (stream,sequence))) | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ tenex.c:515:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 515 | LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:542:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 542 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ tenex.c:543:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 543 | mail_sequence (stream,sequence))) | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ tenex.c:568:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 568 | LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:578:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 578 | *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i); | ^ ./nl.h:33:21: note: passing argument to parameter 'src' here 33 | unsigned char *src,unsigned long srcl); | ^ tenex.c:613:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 613 | LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:636:50: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 636 | strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i); | ^ ./nl.h:33:21: note: passing argument to parameter 'src' here 33 | unsigned char *src,unsigned long srcl); | ^ tenex.c:778:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 778 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./mail.h:1788:24: note: passing argument to parameter 'string' here 1788 | char *mail_date (char *string,MESSAGECACHE *elt); | ^ tenex.c:779:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 779 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ tenex.c:779:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 779 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ tenex.c:785:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 785 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ tenex.c:785:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 785 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ tenex.c:801:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 801 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ tenex.c:802:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 802 | MM_LOG (LOCAL->buf,WARN); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ tenex.c:837:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 837 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ tenex.c:838:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 838 | mail_sequence (stream,sequence)) : LONGT) && | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ tenex.c:899:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 899 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ tenex.c:915:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 915 | sprintf (LOCAL->buf, | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ tenex.c:918:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 918 | MM_LOG (LOCAL->buf,WARN); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ tenex.c:922:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 922 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ tenex.c:924:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 924 | MM_LOG (LOCAL->buf,(long) NIL); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ tenex.c:965:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 965 | if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ tenex.c:177:37: note: passing argument to parameter 'tmp' here 177 | int tenex_isvalid (char *name,char *tmp) | ^ tenex.c:972:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 972 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ tenex.c:973:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 973 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ tenex.c:977:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 977 | sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ tenex.c:978:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 978 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ tenex.c:982:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 982 | sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ tenex.c:983:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 983 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ tenex.c:986:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 986 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ tenex.c:987:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 987 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ tenex.c:990:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 990 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ tenex.c:991:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 991 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ tenex.c:1013:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1013 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ tenex.c:1018:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1018 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ tenex.c:1019:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1019 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ tenex.c:1076:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1076 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ tenex.c:1076:35: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1076 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ tenex.c:1126:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1126 | if (!mail_parse_date (&elt,date)) { | ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ tenex.c:1248:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1248 | if (!(s = strchr (LOCAL->buf,'\012'))) { | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ tenex.c:1248:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1248 | if (!(s = strchr (LOCAL->buf,'\012'))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:1257:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ tenex.c:1257:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:1257:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ tenex.c:1257:47: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ ~~~~~~~~~~~~~~~~ tenex.c:1280:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1280 | (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) && | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ tenex.c:1304:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1304 | j = strtoul (t,NIL,8); /* get user flags value */ | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ tenex.c:1382:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1382 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ tenex.c:1383:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1383 | fatal (LOCAL->buf); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here 32 | void fatal (char *string); | ^ tenex.c:1391:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1391 | j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ tenex.c:1417:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1417 | sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ tenex.c:1425:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1425 | write (LOCAL->fd,LOCAL->buf,12); | ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' 70 | #define LOCAL ((TENEXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ tenex.c:1460:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1460 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); | ^ ~~~~~~~~~~ 61 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mtx.c mtx.c:205:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mtx.c:205:56: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mtx.c:345:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 345 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mtx.c:345:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 345 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mtx.c:423:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 423 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:426:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 426 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mtx.c:426:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 426 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mtx.c:489:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 489 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mtx.c:490:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 490 | mail_sequence (stream,sequence))) | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mtx.c:513:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 513 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:548:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 548 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ ~~~~~~~~~~ mtx.c:687:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 687 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./mail.h:1788:24: note: passing argument to parameter 'string' here 1788 | char *mail_date (char *string,MESSAGECACHE *elt); | ^ mtx.c:688:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 688 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mtx.c:688:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 688 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mtx.c:694:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 694 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mtx.c:694:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 694 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mtx.c:710:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 710 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mtx.c:711:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 711 | MM_LOG (LOCAL->buf,WARN); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mtx.c:746:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 746 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mtx.c:747:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 747 | mail_sequence (stream,sequence)) : LONGT) && | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mtx.c:808:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 808 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mtx.c:823:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 823 | sprintf (LOCAL->buf, | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mtx.c:826:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 826 | MM_LOG (LOCAL->buf,WARN); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mtx.c:830:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 830 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mtx.c:832:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 832 | MM_LOG (LOCAL->buf,(long) NIL); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mtx.c:873:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 873 | if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ mtx.c:170:35: note: passing argument to parameter 'tmp' here 170 | int mtx_isvalid (char *name,char *tmp) | ^ mtx.c:880:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 880 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mtx.c:881:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 881 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mtx.c:885:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 885 | sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mtx.c:886:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 886 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mtx.c:890:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 890 | sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mtx.c:891:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 891 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mtx.c:894:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 894 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mtx.c:895:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 895 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mtx.c:898:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 898 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mtx.c:899:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 899 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mtx.c:921:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 921 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mtx.c:926:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 926 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mtx.c:927:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 927 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mtx.c:984:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 984 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mtx.c:984:35: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 984 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mtx.c:1034:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1034 | if (!mail_parse_date (&elt,date)) { | ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ mtx.c:1134:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1134 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ mtx.c:1134:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1134 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:1143:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ mtx.c:1143:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:1143:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ mtx.c:1143:47: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ ~~~~~~~~~~~~~~~~ mtx.c:1166:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1166 | (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) && | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mtx.c:1190:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1190 | j = strtoul (t,NIL,8); /* get user flags value */ | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mtx.c:1268:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1268 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mtx.c:1269:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1269 | fatal (LOCAL->buf); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here 32 | void fatal (char *string); | ^ mtx.c:1277:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1277 | j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/stdlib.h:120:34: note: passing argument to parameter here 120 | strtoul(const char * __restrict, char ** __restrict, int); | ^ mtx.c:1303:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1303 | sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mtx.c:1311:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1311 | write (LOCAL->fd,LOCAL->buf,12); | ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' 66 | #define LOCAL ((MTXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ 55 warnings generated. `cat CCTYPE` -c `cat CFLAGS` news.c news.c:238:24: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 238 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ news.c:238:29: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 238 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ news.c:241:19: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 241 | if (pmatch_full (name,pattern,'.')) | ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ news.c:241:24: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 241 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ news.c:457:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 457 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ news.c:458:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 458 | mail_sequence (stream,sequence))) | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ news.c:475:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 475 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ news.c:475:67: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 475 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ news.c:496:12: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 496 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^~~~~~~~~~ news.c:61:15: note: expanded from macro 'LOCAL' 61 | #define LOCAL ((NEWSLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ news.c:501:20: warning: passing 'unsigned char[65536]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 501 | ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { | ^~~~~~~~~~ news.c:61:15: note: expanded from macro 'LOCAL' 61 | #define LOCAL ((NEWSLOCAL *) stream->local) | ^ /usr/include/fcntl.h:377:22: note: passing argument to parameter here 377 | int open(const char *, int, ...); | ^ news.c:505:13: warning: assigning to 'char *' from 'unsigned char[65536]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 505 | d.chunk = LOCAL->buf; | ^ ~~~~~~~~~~ 11 warnings generated. `cat CCTYPE` -c `cat CFLAGS` phile.c phile.c:306:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 306 | LOCAL->env->date = cpystr (tmp); | ^ ~~~~~~~~~~~~ phile.c:328:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 328 | buf->size = strcrlfcpy (&buf->data,&m,s,buf->size); | ^ ./nl.h:33:21: note: passing argument to parameter 'src' here 33 | unsigned char *src,unsigned long srcl); | ^ 2 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mh.c mh.c:191:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 191 | if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:191:49: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 191 | if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:192:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 192 | !compare_cstring (name,MHINBOX) || | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:192:30: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 192 | !compare_cstring (name,MHINBOX) || | ^~~~~~~ mh.c:43:17: note: expanded from macro 'MHINBOX' 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:196:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 196 | ret = (synonly && compare_cstring (name,"INBOX")) ? | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:196:47: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 196 | ret = (synonly && compare_cstring (name,"INBOX")) ? | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:257:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | if (!compare_cstring (s,"Path:")) { | ^ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:257:28: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | if (!compare_cstring (s,"Path:")) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:375:27: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 375 | if (!compare_cstring (test,MHINBOX)) | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:375:32: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 375 | if (!compare_cstring (test,MHINBOX)) | ^~~~~~~ mh.c:43:17: note: expanded from macro 'MHINBOX' 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:404:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 404 | do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ mh.c:404:27: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 404 | do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ mh.c:436:21: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 436 | if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); | ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ mh.c:436:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 436 | if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); | ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ mh.c:438:16: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 438 | if (dmatch (name,pat,'/') && | ^~~~ ./env.h:30:29: note: passing argument to parameter 's' here 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ mh.c:438:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 438 | if (dmatch (name,pat,'/') && | ^~~ ./env.h:30:46: note: passing argument to parameter 'pat' here 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ^ mh.c:588:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 588 | (!compare_cstring (stream->mailbox,MHINBOX) || | ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:588:40: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 588 | (!compare_cstring (stream->mailbox,MHINBOX) || | ^~~~~~~ mh.c:43:17: note: expanded from macro 'MHINBOX' 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:593:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 593 | !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; | ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:593:40: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 593 | !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:639:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 639 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mh.c:640:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 640 | mail_sequence (stream,sequence))) | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mh.c:663:12: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 663 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mh.c:668:20: warning: passing 'unsigned char[65536]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 668 | ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ /usr/include/fcntl.h:377:22: note: passing argument to parameter here 377 | int open(const char *, int, ...); | ^ mh.c:672:13: warning: assigning to 'char *' from 'unsigned char[65536]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 672 | d.chunk = LOCAL->buf; | ^ ~~~~~~~~~~ mh.c:900:11: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 900 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mh.c:903:19: warning: passing 'unsigned char[65536]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 903 | if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ /usr/include/fcntl.h:377:22: note: passing argument to parameter here 377 | int open(const char *, int, ...); | ^ mh.c:927:16: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 927 | mh_setdate (LOCAL->buf,elt); | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ mh.c:107:24: note: passing argument to parameter 'file' here 107 | void mh_setdate (char *file,MESSAGECACHE *elt); | ^ mh.c:935:14: warning: passing 'unsigned char[65536]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 935 | unlink (LOCAL->buf);/* flush this file */ | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ /usr/include/unistd.h:370:25: note: passing argument to parameter here 370 | int unlink(const char *); | ^ mh.c:982:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 982 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mh.c:983:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 983 | mail_sequence (stream,sequence)) : LONGT) != 0L) { | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mh.c:988:11: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 988 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mh.c:989:14: warning: passing 'unsigned char[65536]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 989 | if (unlink (LOCAL->buf)) {/* try to delete the message */ | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ /usr/include/unistd.h:370:25: note: passing argument to parameter here 370 | int unlink(const char *); | ^ mh.c:990:13: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 990 | sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mh.c:992:12: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 992 | mm_log (LOCAL->buf,(long) NIL); | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mh.c:1010:16: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1010 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mh.c:1011:15: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1011 | mm_log (LOCAL->buf,(long) NIL); | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mh.c:1042:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1042 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mh.c:1043:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1043 | mail_sequence (stream,sequence)) | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mh.c:1046:11: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1046 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mh.c:1047:18: warning: passing 'unsigned char[65536]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1047 | if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; | ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' 69 | #define LOCAL ((MHLOCAL *) stream->local) | ^ /usr/include/fcntl.h:377:22: note: passing argument to parameter here 377 | int open(const char *, int, ...); | ^ mh.c:1059:10: warning: assigning to 'char *' from 'unsigned char[65536]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1059 | d.chunk = LOCAL->buf; | ^ ~~~~~~~~~~ mh.c:1107:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1107 | if (!((!compare_cstring (mailbox,MHINBOX) || | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:1107:38: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1107 | if (!((!compare_cstring (mailbox,MHINBOX) || | ^~~~~~~ mh.c:43:17: note: expanded from macro 'MHINBOX' 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:1108:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1108 | !compare_cstring (mailbox,"INBOX")) && | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:1108:31: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1108 | !compare_cstring (mailbox,"INBOX")) && | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:1147:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1147 | if (!mail_parse_date (&elt,date)) { | ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ mh.c:1229:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:1229:30: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~~~~ mh.c:43:17: note: expanded from macro 'MHINBOX' 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:1229:60: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mh.c:1229:65: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ 51 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mx.c mx.c:187:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 187 | else if (!compare_cstring (name,"INBOX")) errno = NIL; | ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mx.c:187:35: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 187 | else if (!compare_cstring (name,"INBOX")) errno = NIL; | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mx.c:242:31: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 242 | if (strcmp (name,MXINDEXNAME+1)) | ~~~~~~~~~~~^~ mx.c:242:31: note: use array indexing to silence this warning 242 | if (strcmp (name,MXINDEXNAME+1)) | ^ | & [ ] mx.c:440:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 440 | if (compare_cstring (old,"INBOX")) { | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mx.c:440:30: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 440 | if (compare_cstring (old,"INBOX")) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mx.c:471:70: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 471 | if (lasterror || mx_rename_work (tmp,srcl,tmp1,dstl,MXINDEXNAME+1)) | ~~~~~~~~~~~^~ mx.c:471:70: note: use array indexing to silence this warning 471 | if (lasterror || mx_rename_work (tmp,srcl,tmp1,dstl,MXINDEXNAME+1)) | ^ | & [ ] mx.c:519:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 519 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mx.c:519:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 519 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mx.c:525:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 525 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:574:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 574 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mx.c:575:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 575 | mail_sequence (stream,sequence))) | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mx.c:592:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 592 | sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mx.c:594:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 594 | if (!elt->rfc822_size && !stat (LOCAL->buf,&sbuf)) { | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ /usr/include/sys/stat.h:398:33: note: passing argument to parameter here 398 | int stat(const char * __restrict, struct stat * __restrict); | ^ mx.c:634:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 634 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:649:43: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 649 | cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ ./misc.h:85:36: note: passing argument to parameter 'text' here 85 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ^ mx.c:650:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 650 | cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); | ^~~~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ ./misc.h:85:36: note: passing argument to parameter 'text' here 85 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ^ mx.c:768:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 768 | sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,++old); | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mx.c:771:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 771 | if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ /usr/include/fcntl.h:377:22: note: passing argument to parameter here 377 | int open(const char *, int, ...); | ^ mx.c:795:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 795 | mx_setdate (LOCAL->buf,elt); | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ mx.c:106:24: note: passing argument to parameter 'file' here 106 | void mx_setdate (char *file,MESSAGECACHE *elt); | ^ mx.c:802:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 802 | unlink (LOCAL->buf);/* flush this file */ | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ /usr/include/unistd.h:370:25: note: passing argument to parameter here 370 | int unlink(const char *); | ^ mx.c:849:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 849 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mx.c:850:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 850 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mx.c:856:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 856 | sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mx.c:857:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 857 | if (unlink (LOCAL->buf)) {/* try to delete the message */ | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ /usr/include/unistd.h:370:25: note: passing argument to parameter here 370 | int unlink(const char *); | ^ mx.c:858:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 858 | sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mx.c:860:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 860 | MM_LOG (LOCAL->buf,(long) NIL); | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mx.c:876:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 876 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mx.c:877:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 877 | MM_LOG (LOCAL->buf,(long) NIL); | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mx.c:914:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 914 | sprintf (LOCAL->buf,"Not a MX-format mailbox: %.80s",mailbox); | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mx.c:915:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 915 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' 62 | #define LOCAL ((MXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mx.c:922:63: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 922 | if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mx.c:923:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 923 | mail_sequence (stream,sequence)))); | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mx.c:945:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 945 | d.chunk = LOCAL->buf; | ^ ~~~~~~~~~~ mx.c:1004:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1004 | if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mx.c:1004:35: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1004 | if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mx.c:1039:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1039 | else if (date && !(ret = mail_parse_date (&elt,date))) { | ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ 36 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mix.c mix.c:528:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 528 | if (compare_cstring (old,"INBOX")) { | ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mix.c:528:30: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 528 | if (compare_cstring (old,"INBOX")) { | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mix.c:607:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 607 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mix.c:607:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 607 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mix.c:609:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 609 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:612:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 612 | mix_dir (LOCAL->buf,stream->mailbox); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:163:22: note: passing argument to parameter 'dst' here 163 | char *mix_dir (char *dst,char *name); | ^ mix.c:614:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 614 | stream->mailbox = cpystr (LOCAL->buf); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ ./misc.h:84:27: note: passing argument to parameter 'string' here 84 | char *cpystr (const char *string); | ^ mix.c:617:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 617 | ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:164:23: note: passing argument to parameter 'dst' here 164 | char *mix_file (char *dst,char *dir,char *name); | ^ mix.c:620:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 620 | ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:164:23: note: passing argument to parameter 'dst' here 164 | char *mix_file (char *dst,char *dir,char *name); | ^ mix.c:628:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 628 | LOCAL->index = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXINDEX)); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:164:23: note: passing argument to parameter 'dst' here 164 | char *mix_file (char *dst,char *dir,char *name); | ^ mix.c:629:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 629 | LOCAL->status = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXSTATUS)); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:164:23: note: passing argument to parameter 'dst' here 164 | char *mix_file (char *dst,char *dir,char *name); | ^ mix.c:630:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 630 | LOCAL->sortcache = cpystr (mix_file (LOCAL->buf,stream->mailbox, | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:164:23: note: passing argument to parameter 'dst' here 164 | char *mix_file (char *dst,char *dir,char *name); | ^ mix.c:719:46: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 719 | if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:165:28: note: passing argument to parameter 'dst' here 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ^ mix.c:731:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 731 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = j) + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:736:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 736 | !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ mix.c:753:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 753 | if ((s = strpbrk (LOCAL->buf,"\015\012")) != NULL) *s = '\0'; | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/string.h:122:27: note: passing argument to parameter here 122 | char *strpbrk(const char *, const char *) __pure; | ^ mix.c:782:46: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 782 | if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:165:28: note: passing argument to parameter 'dst' here 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ^ mix.c:806:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 806 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ ~~~~~~~~~~ mix.c:831:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 831 | if (((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mix.c:832:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 832 | mail_sequence (stream,sequence)) && | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mix.c:974:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 974 | sprintf (LOCAL->buf,"Can't copy new mail at message: %lu",i - 1); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:975:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 975 | MM_LOG (LOCAL->buf,WARN); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mix.c:1034:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1034 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mix.c:1035:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1035 | mail_sequence (stream,sequence))) || stream->rdonly); | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mix.c:1086:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1086 | sprintf (LOCAL->buf,"Can't locate mix message file %.08lx", | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:1088:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1088 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mix.c:1097:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1097 | else if (mix_file_data (LOCAL->buf,stream->mailbox,cur->fileno) && | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:165:28: note: passing argument to parameter 'dst' here 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ^ mix.c:1099:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1099 | truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:447:27: note: passing argument to parameter here 447 | int truncate(const char *, __off_t); | ^ mix.c:1099:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1099 | truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/unistd.h:370:25: note: passing argument to parameter here 370 | int unlink(const char *); | ^ mix.c:1100:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1100 | sprintf (LOCAL->buf, | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:1103:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1103 | MM_LOG (LOCAL->buf,WARN); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mix.c:1136:26: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1136 | if (nexp) sprintf (s = LOCAL->buf,"Expunged %lu messages",nexp); | ^ ~~~~~~~~~~ mix.c:1138:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1138 | sprintf (s=LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); | ^~~~~~~~~~~ mix.c:1228:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1228 | mix_file_data (LOCAL->buf,stream->mailbox,burp->fileno); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:165:28: note: passing argument to parameter 'dst' here 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ^ mix.c:1232:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1232 | if (stat (LOCAL->buf,&sbuf)) { | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/sys/stat.h:398:33: note: passing argument to parameter here 398 | int stat(const char * __restrict, struct stat * __restrict); | ^ mix.c:1233:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1233 | sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:1234:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1234 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mix.c:1237:54: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1237 | else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:145:55: note: passing argument to parameter 'file' here 145 | long mix_burp_check (SEARCHSET *set,size_t size,char *file); | ^ mix.c:1241:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1241 | else if ((ret = !truncate (LOCAL->buf,burp->set.last)) != 0L) | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:447:27: note: passing argument to parameter here 447 | int truncate(const char *, __off_t); | ^ mix.c:1244:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1244 | sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:1245:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1245 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mix.c:1250:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1250 | else if (((fd = open (LOCAL->buf,O_RDWR,NIL)) < 0) || | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/fcntl.h:377:22: note: passing argument to parameter here 377 | int open(const char *, int, ...); | ^ mix.c:1252:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1252 | sprintf (LOCAL->buf,"Error opening mix message file %.80s: %.80s", | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:1254:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1254 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mix.c:1258:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1258 | sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:1259:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1259 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mix.c:1264:52: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1264 | else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:145:55: note: passing argument to parameter 'file' here 145 | long mix_burp_check (SEARCHSET *set,size_t size,char *file); | ^ mix.c:1269:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1269 | strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ mix.c:1270:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1270 | sprintf (LOCAL->buf,"Bad message token in mix message file at %lu", | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:1272:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1272 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mix.c:1312:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1312 | sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:1313:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1313 | MM_LOG (LOCAL->buf,WARN); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mix.c:1362:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1362 | long ret = mix_isvalid (mailbox,LOCAL->buf); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:235:36: note: passing argument to parameter 'meta' here 235 | long mix_isvalid (char *name,char *meta) | ^ mix.c:1380:68: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1380 | else if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mix.c:1381:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1381 | mail_sequence (stream,sequence)))); | ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ^ mix.c:1398:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1398 | sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0, | ^~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:1400:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1400 | hdrsize = strlen (local->buf); | ^~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mix.c:1409:44: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] 1409 | if ((msgf = mix_data_open (astream,&fd,&size,newsize)) != NULL) { | ^~~~~ mix.c:157:55: note: passing argument to parameter 'size' here 157 | FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, | ^ mix.c:1421:47: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1421 | if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf, | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:165:28: note: passing argument to parameter 'dst' here 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ^ mix.c:1433:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1433 | d.chunk = LOCAL->buf; | ^ ~~~~~~~~~~ mix.c:1525:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1525 | if ((ret = compare_cstring (mailbox,"INBOX") ? | ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mix.c:1525:41: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1525 | if ((ret = compare_cstring (mailbox,"INBOX") ? | ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ mix.c:1556:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1556 | sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0, | ^~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:1558:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1558 | hdrsize = strlen (local->buf); | ^~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mix.c:1562:46: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] 1562 | if ((msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) != NULL){ | ^~~~~ mix.c:157:55: note: passing argument to parameter 'size' here 157 | FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, | ^ mix.c:1570:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1570 | else if (date && !(ret = mail_parse_date (&elt,date))) { | ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ mix.c:1577:30: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1577 | mail_parse_date (&elt,tmp); | ^~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ^ mix.c:1832:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1832 | while ((s = mix_read_record (*idxf,LOCAL->buf,LOCAL->buflen,"index")) && | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:161:38: note: passing argument to parameter 'buf' here 161 | char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); | ^ mix.c:1974:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1974 | if (stat (mix_file_data (LOCAL->buf,stream->mailbox, | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:165:28: note: passing argument to parameter 'dst' here 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ^ mix.c:2056:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2056 | sprintf (LOCAL->buf, | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:2059:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2059 | MM_LOG (LOCAL->buf,ERROR); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here 1694 | void mm_log (char *string,long errflg); | ^ mix.c:2069:43: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2069 | while ((t = s = mix_read_record (statf,LOCAL->buf,LOCAL->buflen, | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:161:38: note: passing argument to parameter 'buf' here 161 | char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); | ^ mix.c:2165:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2165 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2170:27: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2170 | (read (LOCAL->mfd,s = LOCAL->buf,sbuf.st_size) != sbuf.st_size)) | ^ ~~~~~~~~~~ mix.c:2205:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2205 | sprintf (LOCAL->buf,SEQFMT,LOCAL->metaseq = mix_modseq (LOCAL->metaseq)); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:2206:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2206 | sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mix.c:2206:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2206 | sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mix.c:2208:56: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2208 | for (i = 0, c = 'K', s = ss = LOCAL->buf + strlen (LOCAL->buf); | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mix.c:2209:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2209 | (i < NUSERFLAGS) && (t = stream->user_flags[i]); ++i) { | ^ ~~~~~~~~~~~~~~~~~~~~~ mix.c:2223:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2223 | ret = (write (LOCAL->mfd,LOCAL->buf,i) == i) ? LONGT : NIL; | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here 86 | long safe_write (int fd,char *buf,long nbytes); | ^ mix.c:2418:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2418 | if ((*fd = open (mix_file_data (LOCAL->buf,stream->mailbox,LOCAL->newmsg), | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:165:28: note: passing argument to parameter 'dst' here 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ^ mix.c:2435:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2435 | (LOCAL->buf,stream->mailbox, | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:165:28: note: passing argument to parameter 'dst' here 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ^ mix.c:2500:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2500 | while ((s = t = mix_read_record (srtcf,LOCAL->buf,LOCAL->buflen, | ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' 108 | #define LOCAL ((MIXLOCAL *) stream->local) | ^ mix.c:161:38: note: passing argument to parameter 'buf' here 161 | char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); | ^ mix.c:2599:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2599 | LOCAL->buf = (char *) | ^ ~~~~~~~~ 2600 | fs_get ((LOCAL->buflen = reflen) + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2611:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2611 | for (s = LOCAL->buf,sl = NIL, | ^ ~~~~~~~~~~ mix.c:2619:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2619 | sl->text.data = cpystr (s); | ^ ~~~~~~~~~~ 86 warnings generated. `cat CCTYPE` -c `cat CFLAGS` sha.c sha.c:49:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 49 | if(!compare_cstring(hashes[hashno].name, hash)) | ^~~~~~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ sha.c:49:47: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 49 | if(!compare_cstring(hashes[hashno].name, hash)) | ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ^ 2 warnings generated. 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 sha.o;ranlib c-client.a echo bsf > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Not building bundled tools. /usr/bin/make all-recursive Making all in m4 Making all in po Making all in pith cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT help_h_gen.o -MD -MP -MF .deps/help_h_gen.Tpo -c -o help_h_gen.o help_h_gen.c mv -f .deps/help_h_gen.Tpo .deps/help_h_gen.Po /bin/sh ../libtool --tag=CC --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -o help_h_gen help_h_gen.o libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -o help_h_gen help_h_gen.o -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -pthread ./help_h_gen < pine.hlp > helptext.h cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT help_c_gen.o -MD -MP -MF .deps/help_c_gen.Tpo -c -o help_c_gen.o help_c_gen.c mv -f .deps/help_c_gen.Tpo .deps/help_c_gen.Po /bin/sh ../libtool --tag=CC --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -o help_c_gen help_c_gen.o libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -o help_c_gen help_c_gen.o -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -pthread ./help_c_gen < pine.hlp > helptext.c /usr/bin/make all-recursive Making all in osdep cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT bldpath.o -MD -MP -MF .deps/bldpath.Tpo -c -o bldpath.o bldpath.c mv -f .deps/bldpath.Tpo .deps/bldpath.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT canaccess.o -MD -MP -MF .deps/canaccess.Tpo -c -o canaccess.o canaccess.c mv -f .deps/canaccess.Tpo .deps/canaccess.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT canonicl.o -MD -MP -MF .deps/canonicl.Tpo -c -o canonicl.o canonicl.c mv -f .deps/canonicl.Tpo .deps/canonicl.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT collate.o -MD -MP -MF .deps/collate.Tpo -c -o collate.o collate.c collate.c:29:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 29 | extern int collator(); /* set to strcoll if available in system.h */ | ^ ../../include/system.h:94:19: note: expanded from macro 'collator' 94 | # define collator strcoll | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ collate.c:79:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | return((*pcollator)(*(char **)s1, *(char **)s2)); | ^ 2 warnings generated. mv -f .deps/collate.Tpo .deps/collate.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c mv -f .deps/color.Tpo .deps/color.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT coredump.o -MD -MP -MF .deps/coredump.Tpo -c -o coredump.o coredump.c mv -f .deps/coredump.Tpo .deps/coredump.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT creatdir.o -MD -MP -MF .deps/creatdir.Tpo -c -o creatdir.o creatdir.c mv -f .deps/creatdir.Tpo .deps/creatdir.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT debugtime.o -MD -MP -MF .deps/debugtime.Tpo -c -o debugtime.o debugtime.c mv -f .deps/debugtime.Tpo .deps/debugtime.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT domnames.o -MD -MP -MF .deps/domnames.Tpo -c -o domnames.o domnames.c mv -f .deps/domnames.Tpo .deps/domnames.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT err_desc.o -MD -MP -MF .deps/err_desc.Tpo -c -o err_desc.o err_desc.c mv -f .deps/err_desc.Tpo .deps/err_desc.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT fgetpos.o -MD -MP -MF .deps/fgetpos.Tpo -c -o fgetpos.o fgetpos.c mv -f .deps/fgetpos.Tpo .deps/fgetpos.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT filesize.o -MD -MP -MF .deps/filesize.Tpo -c -o filesize.o filesize.c mv -f .deps/filesize.Tpo .deps/filesize.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT fnexpand.o -MD -MP -MF .deps/fnexpand.Tpo -c -o fnexpand.o fnexpand.c mv -f .deps/fnexpand.Tpo .deps/fnexpand.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT hostname.o -MD -MP -MF .deps/hostname.Tpo -c -o hostname.o hostname.c mv -f .deps/hostname.Tpo .deps/hostname.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT lstcmpnt.o -MD -MP -MF .deps/lstcmpnt.Tpo -c -o lstcmpnt.o lstcmpnt.c mv -f .deps/lstcmpnt.Tpo .deps/lstcmpnt.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mimedisp.o -MD -MP -MF .deps/mimedisp.Tpo -c -o mimedisp.o mimedisp.c mv -f .deps/mimedisp.Tpo .deps/mimedisp.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pipe.o -MD -MP -MF .deps/pipe.Tpo -c -o pipe.o pipe.c mv -f .deps/pipe.Tpo .deps/pipe.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pw_stuff.o -MD -MP -MF .deps/pw_stuff.Tpo -c -o pw_stuff.o pw_stuff.c mv -f .deps/pw_stuff.Tpo .deps/pw_stuff.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT rename.o -MD -MP -MF .deps/rename.Tpo -c -o rename.o rename.c mv -f .deps/rename.Tpo .deps/rename.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT tempfile.o -MD -MP -MF .deps/tempfile.Tpo -c -o tempfile.o tempfile.c mv -f .deps/tempfile.Tpo .deps/tempfile.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT temp_nam.o -MD -MP -MF .deps/temp_nam.Tpo -c -o temp_nam.o temp_nam.c mv -f .deps/temp_nam.Tpo .deps/temp_nam.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT writ_dir.o -MD -MP -MF .deps/writ_dir.Tpo -c -o writ_dir.o writ_dir.c mv -f .deps/writ_dir.Tpo .deps/writ_dir.Po 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 Making all in charconv cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT filesys.o -MD -MP -MF .deps/filesys.Tpo -c -o filesys.o filesys.c mv -f .deps/filesys.Tpo .deps/filesys.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT utf8.o -MD -MP -MF .deps/utf8.Tpo -c -o utf8.o utf8.c utf8.c:1989:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 1989 | #if PREREQ_FOR_SYS_TRANSLATION | ^ ../../include/system.h:99:121: note: expanded from macro 'PREREQ_FOR_SYS_TRANSLATION' 99 | #define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) | ^ utf8.c:1989:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../../include/system.h:99:142: note: expanded from macro 'PREREQ_FOR_SYS_TRANSLATION' 99 | #define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) | ^ 2 warnings generated. mv -f .deps/utf8.Tpo .deps/utf8.Po rm -f libpithcc.a /usr/bin/ar cru libpithcc.a filesys.o utf8.o ranlib libpithcc.a cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT ablookup.o -MD -MP -MF .deps/ablookup.Tpo -c -o ablookup.o ablookup.c mv -f .deps/ablookup.Tpo .deps/ablookup.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT abdlc.o -MD -MP -MF .deps/abdlc.Tpo -c -o abdlc.o abdlc.c mv -f .deps/abdlc.Tpo .deps/abdlc.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT addrbook.o -MD -MP -MF .deps/addrbook.Tpo -c -o addrbook.o addrbook.c mv -f .deps/addrbook.Tpo .deps/addrbook.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT addrstring.o -MD -MP -MF .deps/addrstring.Tpo -c -o addrstring.o addrstring.c mv -f .deps/addrstring.Tpo .deps/addrstring.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT adrbklib.o -MD -MP -MF .deps/adrbklib.Tpo -c -o adrbklib.o adrbklib.c adrbklib.c:704:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | if((*cmp_func)((qsort_t *)&ae_prev, (qsort_t *)&ae) > 0){ | ^ adrbklib.c:2042:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2042 | if((*cmp_func)((qsort_t *)&a, (qsort_t *)&ae) >= 0) | ^ adrbklib.c:4495:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4495 | result = (*pcollator)(r, s); | ^ adrbklib.c:4497:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4497 | result = (*pcollator)((*x)->nickname, (*y)->nickname); | ^ adrbklib.c:4553:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4553 | result = (*pcollator)(r, s); | ^ adrbklib.c:4555:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4555 | result = (*pcollator)((*x)->nickname, (*y)->nickname); | ^ adrbklib.c:4601:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4601 | result = (*pcollator)((*x)->nickname, (*y)->nickname); | ^ adrbklib.c:4642:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4642 | return((*pcollator)((*x)->nickname, (*y)->nickname)); | ^ adrbklib.c:4689:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4689 | return((*pcollator)(r, s)); | ^ 9 warnings generated. mv -f .deps/adrbklib.Tpo .deps/adrbklib.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT bldaddr.o -MD -MP -MF .deps/bldaddr.Tpo -c -o bldaddr.o bldaddr.c bldaddr.c:297:30: warning: address of array 'ps_global->c_client_error' will always evaluate to 'true' [-Wpointer-bool-conversion] 297 | ps_global->c_client_error ? ps_global->c_client_error : "?")); | ~~~~~~~~~~~^~~~~~~~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ bldaddr.c:1162:17: warning: address of array 'ps_global->cur_folder' will always evaluate to 'true' [-Wpointer-bool-conversion] 1162 | && ps_global->cur_folder | ~~ ~~~~~~~~~~~^~~~~~~~~~ 2 warnings generated. mv -f .deps/bldaddr.Tpo .deps/bldaddr.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT body.o -MD -MP -MF .deps/body.Tpo -c -o body.o body.c mv -f .deps/body.Tpo .deps/body.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT charset.o -MD -MP -MF .deps/charset.Tpo -c -o charset.o charset.c mv -f .deps/charset.Tpo .deps/charset.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c mv -f .deps/color.Tpo .deps/color.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c conf.c:7494:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] 7494 | #if PREREQ_FOR_SYS_TRANSLATION | ^ ../include/system.h:99:121: note: expanded from macro 'PREREQ_FOR_SYS_TRANSLATION' 99 | #define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) | ^ conf.c:7494:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../include/system.h:99:142: note: expanded from macro 'PREREQ_FOR_SYS_TRANSLATION' 99 | #define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) | ^ 2 warnings generated. mv -f .deps/conf.Tpo .deps/conf.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT context.o -MD -MP -MF .deps/context.Tpo -c -o context.o context.c mv -f .deps/context.Tpo .deps/context.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT copyaddr.o -MD -MP -MF .deps/copyaddr.Tpo -c -o copyaddr.o copyaddr.c mv -f .deps/copyaddr.Tpo .deps/copyaddr.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT detoken.o -MD -MP -MF .deps/detoken.Tpo -c -o detoken.o detoken.c mv -f .deps/detoken.Tpo .deps/detoken.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT detach.o -MD -MP -MF .deps/detach.Tpo -c -o detach.o detach.c detach.c:75:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | int detach_writec(); | ^ detach.c:382:1: note: conflicting prototype is here 382 | detach_writec(int c) | ^ 1 warning generated. mv -f .deps/detach.Tpo .deps/detach.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT editorial.o -MD -MP -MF .deps/editorial.Tpo -c -o editorial.o editorial.c mv -f .deps/editorial.Tpo .deps/editorial.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT escapes.o -MD -MP -MF .deps/escapes.Tpo -c -o escapes.o escapes.c mv -f .deps/escapes.Tpo .deps/escapes.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT filter.o -MD -MP -MF .deps/filter.Tpo -c -o filter.o filter.c filter.c:701:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | if(!(*pc)((unsigned char)*s++)) | ^ filter.c:715:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | if(!(*pc)((unsigned char)*s++)) | ^ filter.c:893:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | if((*last_filter)(*op++) <= 0) /* generic terminal filter */ | ^ filter.c:969:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | while((*gc)(&c)){ | ^ 4 warnings generated. mv -f .deps/filter.Tpo .deps/filter.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT flag.o -MD -MP -MF .deps/flag.Tpo -c -o flag.o flag.c mv -f .deps/flag.Tpo .deps/flag.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT folder.o -MD -MP -MF .deps/folder.Tpo -c -o folder.o folder.c folder.c:702:13: warning: address of array 'f->name' will always evaluate to 'true' [-Wpointer-bool-conversion] 702 | || (f->name && !strucmp(ps->VAR_INCCHECKLIST[j],f->name))) | ~~~^~~~ ~~ folder.c:759:13: warning: address of array 'f->name' will always evaluate to 'true' [-Wpointer-bool-conversion] 759 | || (f->name && !strucmp(ps_global->VAR_INCCHECKLIST[j],f->name))) | ~~~^~~~ ~~ folder.c:1182:14: warning: address of array 'f->name' will always evaluate to 'true' [-Wpointer-bool-conversion] 1182 | if(f && f->name){ | ~~ ~~~^~~~ folder.c:1268:26: warning: address of array 'f->name' will always evaluate to 'true' [-Wpointer-bool-conversion] 1268 | if(found_it && f && f->name){ | ~~ ~~~^~~~ folder.c:1839:23: warning: address of array 'f->name' will always evaluate to 'true' [-Wpointer-bool-conversion] 1839 | if(f->nickname && f->name && !strcmp(longname, f->name)) | ~~ ~~~^~~~ 5 warnings generated. mv -f .deps/folder.Tpo .deps/folder.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT handle.o -MD -MP -MF .deps/handle.Tpo -c -o handle.o handle.c mv -f .deps/handle.Tpo .deps/handle.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT help.o -MD -MP -MF .deps/help.Tpo -c -o help.o help.c help.c:61:8: warning: address of array 'h_revision' will always evaluate to 'true' [-Wpointer-bool-conversion] 61 | if(h_revision && h_revision[0] && h_revision[0][0]){ | ^~~~~~~~~~ ~~ help.c:106:8: warning: address of array 'h_revision' will always evaluate to 'true' [-Wpointer-bool-conversion] 106 | if(h_revision && h_revision[0] && h_revision[0][0]){ | ^~~~~~~~~~ ~~ help.c:216:9: warning: address of array 'p->timestamp' will always evaluate to 'true' [-Wpointer-bool-conversion] 216 | if(p->timestamp && p->timestamp[0] | ~~~^~~~~~~~~ ~~ help.c:221:9: warning: address of array 'p->message' will always evaluate to 'true' [-Wpointer-bool-conversion] 221 | if(p->message && p->message[0] | ~~~^~~~~~~ ~~ 4 warnings generated. mv -f .deps/help.Tpo .deps/help.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT helpindx.o -MD -MP -MF .deps/helpindx.Tpo -c -o helpindx.o helpindx.c mv -f .deps/helpindx.Tpo .deps/helpindx.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT hist.o -MD -MP -MF .deps/hist.Tpo -c -o hist.o hist.c mv -f .deps/hist.Tpo .deps/hist.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT icache.o -MD -MP -MF .deps/icache.Tpo -c -o icache.o icache.c mv -f .deps/icache.Tpo .deps/icache.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT ical.o -MD -MP -MF .deps/ical.Tpo -c -o ical.o ical.c ical.c:1013:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | v = (event_prop[i].parse)(v , &s, event_prop[i].prop); | ^ ical.c:1116:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1116 | v = (tz_comp[i].parse)(v, &s, tz_comp[i].prop); | ^ ical.c:1198:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | v = (tz_prop[i].parse)(v, &s, tz_prop[i].prop); | ^ ical.c:1279:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | v = (alarm_prop[i].parse)(v, &s, alarm_prop[i].prop); | ^ ical.c:1656:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1656 | v = (rrule_prop[i].parse)(v, p->value); | ^ 5 warnings generated. mv -f .deps/ical.Tpo .deps/ical.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT imap.o -MD -MP -MF .deps/imap.Tpo -c -o imap.o imap.c mv -f .deps/imap.Tpo .deps/imap.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o init.c init.c:520:5: warning: address of array 'spath' will always evaluate to 'true' [-Wpointer-bool-conversion] 520 | spath ? spath : "?", newpath ? newpath : "?")); | ^~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ init.c:524:19: warning: address of array 'spath' will always evaluate to 'true' [-Wpointer-bool-conversion] 524 | pretty_fn(spath ? spath : "?")); | ^~~~~ ~ init.c:530:37: warning: address of array 'spath' will always evaluate to 'true' [-Wpointer-bool-conversion] 530 | pretty_fn(spath ? spath : "?"), | ^~~~~ ~ init.c:533:20: warning: address of array 'spath' will always evaluate to 'true' [-Wpointer-bool-conversion] 533 | spath ? spath : "?", newpath ? newpath : "?", | ^~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ 4 warnings generated. mv -f .deps/init.Tpo .deps/init.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT keyword.o -MD -MP -MF .deps/keyword.Tpo -c -o keyword.o keyword.c keyword.c:222:26: warning: address of array 'stream->user_flags' will always evaluate to 'true' [-Wpointer-bool-conversion] 222 | if(stream && stream->user_flags && k >= 0 && k < NUSERFLAGS) | ~~ ~~~~~~~~^~~~~~~~~~ keyword.c:278:39: warning: address of array 'stream->user_flags' will always evaluate to 'true' [-Wpointer-bool-conversion] 278 | if((flags & F_KEYWORD) && stream->user_flags){ | ~~ ~~~~~~~~^~~~~~~~~~ keyword.c:308:39: warning: address of array 'stream->user_flags' will always evaluate to 'true' [-Wpointer-bool-conversion] 308 | if((flags & F_KEYWORD) && stream->user_flags){ | ~~ ~~~~~~~~^~~~~~~~~~ 3 warnings generated. mv -f .deps/keyword.Tpo .deps/keyword.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT ldap.o -MD -MP -MF .deps/ldap.Tpo -c -o ldap.o ldap.c ldap.c:539:26: warning: for loop has empty body [-Wempty-body] 539 | for( ; *t == ' '; t++); | ^ ldap.c:539:26: note: put the semicolon on a separate line to silence this warning ldap.c:920:28: warning: address of array 'filter' will always evaluate to 'true' [-Wpointer-bool-conversion] 920 | base ? base : "?", filter ? filter : "?")); | ^~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ 2 warnings generated. mv -f .deps/ldap.Tpo .deps/ldap.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c mv -f .deps/list.Tpo .deps/list.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mailcap.o -MD -MP -MF .deps/mailcap.Tpo -c -o mailcap.o mailcap.c mv -f .deps/mailcap.Tpo .deps/mailcap.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mailcmd.o -MD -MP -MF .deps/mailcmd.Tpo -c -o mailcmd.o mailcmd.c mailcmd.c:342:23: warning: address of array 'ps_global->cur_folder' will always evaluate to 'true' [-Wpointer-bool-conversion] 342 | *inbox = (ps_global->cur_folder | ~~~~~~~~~~~^~~~~~~~~~ 343 | && ps_global->inbox_name | ~~ mailcmd.c:343:26: warning: address of array 'ps_global->inbox_name' will always evaluate to 'true' [-Wpointer-bool-conversion] 343 | && ps_global->inbox_name | ~~ ~~~~~~~~~~~^~~~~~~~~~ mailcmd.c:412:20: warning: address of array 'ps_global->inbox_name' will always evaluate to 'true' [-Wpointer-bool-conversion] 412 | ps_global->inbox_name ? ps_global->inbox_name : "?")); | ~~~~~~~~~~~^~~~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c:557:10: warning: address of array 'expanded_file' will always evaluate to 'true' [-Wpointer-bool-conversion] 557 | expanded_file ? expanded_file : "?", | ^~~~~~~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ 4 warnings generated. mv -f .deps/mailcmd.Tpo .deps/mailcmd.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mailindx.o -MD -MP -MF .deps/mailindx.Tpo -c -o mailindx.o mailindx.c mv -f .deps/mailindx.Tpo .deps/mailindx.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT maillist.o -MD -MP -MF .deps/maillist.Tpo -c -o maillist.o maillist.c mv -f .deps/maillist.Tpo .deps/maillist.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mailview.o -MD -MP -MF .deps/mailview.Tpo -c -o mailview.o mailview.c mailview.c:309:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | if((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDON)){ | ^ mailview.c:309:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | if((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDON)){ | ^ mailview.c:312:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | (*pc)(TAG_EMBED); | ^ mailview.c:313:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | (*pc)(TAG_BOLDOFF); | ^ mailview.c:434:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | && (!((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDON)))) | ^ mailview.c:434:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | && (!((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDON)))) | ^ mailview.c:437:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | if(!((*pc)(TAG_EMBED) && (*pc)(TAG_HANDLE) | ^ mailview.c:437:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | if(!((*pc)(TAG_EMBED) && (*pc)(TAG_HANDLE) | ^ mailview.c:438:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | && (*pc)(strlen(buf)) && gf_puts(buf, pc))) | ^ mailview.c:449:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | if(!((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDOFF))) | ^ mailview.c:449:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | if(!((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDOFF))) | ^ mailview.c:458:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | else if(!((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDOFF))) | ^ mailview.c:458:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | else if(!((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDOFF))) | ^ mailview.c:461:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | if(!((*pc)(TAG_EMBED) && (*pc)(TAG_INVOFF))) | ^ mailview.c:461:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | if(!((*pc)(TAG_EMBED) && (*pc)(TAG_INVOFF))) | ^ mailview.c:531:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 531 | caltext = rfc822_qprint ((unsigned char *) rawtext,strlen(rawtext),&callen); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailview.c:1053:6: warning: address of array 'a->size' will always evaluate to 'true' [-Wpointer-bool-conversion] 1053 | a->size ? a->size : "", | ~~~^~~~ ~ mailview.c:1067:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | if(!(*pc)(' ')) | ^ mailview.c:1084:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | && (!((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDON)))) | ^ mailview.c:1084:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | && (!((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDON)))) | ^ mailview.c:1087:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | if(!((*pc)(TAG_EMBED) && (*pc)(TAG_HANDLE) | ^ mailview.c:1087:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | if(!((*pc)(TAG_EMBED) && (*pc)(TAG_HANDLE) | ^ mailview.c:1088:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | && (*pc)(strlen(buf)) && gf_puts(buf, pc))) | ^ mailview.c:1100:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | if(!((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDOFF))) | ^ mailview.c:1100:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | if(!((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDOFF))) | ^ mailview.c:1109:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | else if(!((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDOFF))) | ^ mailview.c:1109:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | else if(!((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDOFF))) | ^ mailview.c:1112:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | if(!((*pc)(TAG_EMBED) && (*pc)(TAG_INVOFF))) | ^ mailview.c:1112:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | if(!((*pc)(TAG_EMBED) && (*pc)(TAG_INVOFF))) | ^ mailview.c:2667:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2667 | if(!((*pc)(c >= 0x80 ? '~' : '^') | ^ mailview.c:2668:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2668 | && (*pc)((c == 0x7f) ? '?' : (c & 0x1f) + '@'))) | ^ mailview.c:2671:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2671 | else if(!(*pc)(*h++)) | ^ mailview.c:3177:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3177 | (*pc)(*q); /* write character */ | ^ mailview.c:3247:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3247 | if(!((*pc)(c >= 0x80 ? '~' : '^') | ^ mailview.c:3248:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3248 | && (*pc)((c == 0x7f) ? '?' : (c & 0x1f) + '@'))) | ^ mailview.c:3251:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3251 | else if(!(*pc)(*current++)) | ^ mailview.c:3282:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3282 | if(!((*pc)((unsigned char) (*s) >= 0x80 ? '~' : '^') | ^ mailview.c:3283:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3283 | && (*pc)((*s == 0x7f) ? '?' : (*s & 0x1f) + '@'))) | ^ mailview.c:3286:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3286 | else if(!(*pc)(*s)) | ^ mailview.c:3317:16: warning: address of array 'parmlist->attrib' will always evaluate to 'true' [-Wpointer-bool-conversion] 3317 | if(parmlist->attrib && strucmp(parmlist->attrib, "url") == 0){ | ~~~~~~~~~~^~~~~~ ~~ mailview.c:3328:18: warning: address of array 'parmlist->attrib' will always evaluate to 'true' [-Wpointer-bool-conversion] 3328 | parmlist->attrib ? parmlist->attrib : "", printme); | ~~~~~~~~~~^~~~~~ ~ mailview.c:3459:18: warning: address of array 'cp->fg' will always evaluate to 'true' [-Wpointer-bool-conversion] 3459 | if(cp && cp->fg){ | ~~ ~~~~^~ mailview.c:3465:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3465 | if(!(pc && (*pc)(TAG_EMBED) && (*pc)(TAG_FGCOLOR) && | ^ mailview.c:3465:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3465 | if(!(pc && (*pc)(TAG_EMBED) && (*pc)(TAG_FGCOLOR) && | ^ mailview.c:3470:18: warning: address of array 'cp->bg' will always evaluate to 'true' [-Wpointer-bool-conversion] 3470 | if(cp && cp->bg){ | ~~ ~~~~^~ mailview.c:3476:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3476 | if(!(pc && (*pc)(TAG_EMBED) && (*pc)(TAG_BGCOLOR) && | ^ mailview.c:3476:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3476 | if(!(pc && (*pc)(TAG_EMBED) && (*pc)(TAG_BGCOLOR) && | ^ 47 warnings generated. mv -f .deps/mailview.Tpo .deps/mailview.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT margin.o -MD -MP -MF .deps/margin.Tpo -c -o margin.o margin.c mv -f .deps/margin.Tpo .deps/margin.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mimedesc.o -MD -MP -MF .deps/mimedesc.Tpo -c -o mimedesc.o mimedesc.c mv -f .deps/mimedesc.Tpo .deps/mimedesc.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mimetype.o -MD -MP -MF .deps/mimetype.Tpo -c -o mimetype.o mimetype.c mv -f .deps/mimetype.Tpo .deps/mimetype.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT msgno.o -MD -MP -MF .deps/msgno.Tpo -c -o msgno.o msgno.c mv -f .deps/msgno.Tpo .deps/msgno.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT newmail.o -MD -MP -MF .deps/newmail.Tpo -c -o newmail.o newmail.c mv -f .deps/newmail.Tpo .deps/newmail.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT news.o -MD -MP -MF .deps/news.Tpo -c -o news.o news.c mv -f .deps/news.Tpo .deps/news.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pattern.o -MD -MP -MF .deps/pattern.Tpo -c -o pattern.o pattern.c mv -f .deps/pattern.Tpo .deps/pattern.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pipe.o -MD -MP -MF .deps/pipe.Tpo -c -o pipe.o pipe.c mv -f .deps/pipe.Tpo .deps/pipe.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT readfile.o -MD -MP -MF .deps/readfile.Tpo -c -o readfile.o readfile.c mv -f .deps/readfile.Tpo .deps/readfile.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT remote.o -MD -MP -MF .deps/remote.Tpo -c -o remote.o remote.c remote.c:2272:9: warning: address of array 'date' will always evaluate to 'true' [-Wpointer-bool-conversion] 2272 | date ? date : "?")); | ^~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ 1 warning generated. mv -f .deps/remote.Tpo .deps/remote.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT reply.o -MD -MP -MF .deps/reply.Tpo -c -o reply.o reply.c reply.c:2068:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2068 | (*pc)(' '); | ^ reply.c:2070:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2070 | (*pc)(' '); | ^ 2 warnings generated. mv -f .deps/reply.Tpo .deps/reply.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT rfc2231.o -MD -MP -MF .deps/rfc2231.Tpo -c -o rfc2231.o rfc2231.c mv -f .deps/rfc2231.Tpo .deps/rfc2231.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT save.o -MD -MP -MF .deps/save.Tpo -c -o save.o save.c save.c:1436:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1436 | else if(!(*pc)(*hdr++)) | ^ 1 warning generated. mv -f .deps/save.Tpo .deps/save.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.c mv -f .deps/search.Tpo .deps/search.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT sequence.o -MD -MP -MF .deps/sequence.Tpo -c -o sequence.o sequence.c mv -f .deps/sequence.Tpo .deps/sequence.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT send.o -MD -MP -MF .deps/send.Tpo -c -o send.o send.c send.c:1185:18: warning: address of array 'pf_template' will always evaluate to 'true' [-Wpointer-bool-conversion] 1185 | for(cnt = 0; pf_template && pf_template[cnt].name; cnt++) | ^~~~~~~~~~~ ~~ send.c:1450:15: warning: address of array 'pf_template' will always evaluate to 'true' [-Wpointer-bool-conversion] 1450 | for(cnt = 0; pf_template && pf_template[cnt].name; cnt++) | ^~~~~~~~~~~ ~~ 2 warnings generated. mv -f .deps/send.Tpo .deps/send.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT sort.o -MD -MP -MF .deps/sort.Tpo -c -o sort.o sort.c mv -f .deps/sort.Tpo .deps/sort.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c mv -f .deps/state.Tpo .deps/state.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c mv -f .deps/status.Tpo .deps/status.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT store.o -MD -MP -MF .deps/store.Tpo -c -o store.o store.c mv -f .deps/store.Tpo .deps/store.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT stream.o -MD -MP -MF .deps/stream.Tpo -c -o stream.o stream.c stream.c:3131:43: warning: address of array 'mb_s.user' will always evaluate to 'true' [-Wpointer-bool-conversion] 3131 | (!((mb_n.user && *mb_n.user) || (mb_s.user && *mb_s.user)) | ~~~~~^~~~ ~~ stream.c:3131:14: warning: address of array 'mb_n.user' will always evaluate to 'true' [-Wpointer-bool-conversion] 3131 | (!((mb_n.user && *mb_n.user) || (mb_s.user && *mb_s.user)) | ~~~~~^~~~ ~~ stream.c:3123:14: warning: address of array 'mb_s.user' will always evaluate to 'true' [-Wpointer-bool-conversion] 3123 | && mb_s.user | ~~ ~~~~~^~~~ stream.c:3122:13: warning: address of array 'mb_n.user' will always evaluate to 'true' [-Wpointer-bool-conversion] 3122 | ((!mb_n.user || !*mb_n.user) | ~~~~~~^~~~ stream.c:3120:11: warning: address of array 'mb_s.user' will always evaluate to 'true' [-Wpointer-bool-conversion] 3119 | && ((mb_n.user && *mb_n.user && | ~~ 3120 | mb_s.user && !strcmp(mb_n.user, mb_s.user)) | ~~~~~^~~~ stream.c:3119:18: warning: address of array 'mb_n.user' will always evaluate to 'true' [-Wpointer-bool-conversion] 3119 | && ((mb_n.user && *mb_n.user && | ~~~~~^~~~ ~~ stream.c:3163:17: warning: address of array 'mb_n.mailbox' will always evaluate to 'true' [-Wpointer-bool-conversion] 3163 | && (mb_n.mailbox && mb_s.mailbox | ~~~~~^~~~~~~ ~~ stream.c:3163:33: warning: address of array 'mb_s.mailbox' will always evaluate to 'true' [-Wpointer-bool-conversion] 3163 | && (mb_n.mailbox && mb_s.mailbox | ~~ ~~~~~^~~~~~~ stream.c:3229:16: warning: address of array 'mb2.user' will always evaluate to 'true' [-Wpointer-bool-conversion] 3229 | (!(mb2.user && *mb2.user) | ~~~~^~~~ ~~ stream.c:3221:16: warning: address of array 'mb1.user' will always evaluate to 'true' [-Wpointer-bool-conversion] 3221 | (!(mb1.user && *mb1.user) | ~~~~^~~~ ~~ stream.c:3219:44: warning: address of array 'mb2.user' will always evaluate to 'true' [-Wpointer-bool-conversion] 3219 | (!(mb1.user && *mb1.user) && !(mb2.user && *mb2.user)) | ~~~~^~~~ ~~ stream.c:3219:16: warning: address of array 'mb1.user' will always evaluate to 'true' [-Wpointer-bool-conversion] 3219 | (!(mb1.user && *mb1.user) && !(mb2.user && *mb2.user)) | ~~~~^~~~ ~~ stream.c:3216:39: warning: address of array 'mb2.user' will always evaluate to 'true' [-Wpointer-bool-conversion] 3216 | && ((mb1.user && *mb1.user && mb2.user && *mb2.user | ~~ ~~~~^~~~ stream.c:3216:14: warning: address of array 'mb1.user' will always evaluate to 'true' [-Wpointer-bool-conversion] 3216 | && ((mb1.user && *mb1.user && mb2.user && *mb2.user | ~~~~^~~~ ~~ stream.c:3212:27: warning: address of array 'mb2.mailbox' will always evaluate to 'true' [-Wpointer-bool-conversion] 3212 | && mb1.mailbox && mb2.mailbox | ~~ ~~~~^~~~~~~ stream.c:3212:12: warning: address of array 'mb1.mailbox' will always evaluate to 'true' [-Wpointer-bool-conversion] 3212 | && mb1.mailbox && mb2.mailbox | ~~ ~~~~^~~~~~~ 16 warnings generated. mv -f .deps/stream.Tpo .deps/stream.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT string.o -MD -MP -MF .deps/string.Tpo -c -o string.o string.c mv -f .deps/string.Tpo .deps/string.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT strlst.o -MD -MP -MF .deps/strlst.Tpo -c -o strlst.o strlst.c mv -f .deps/strlst.Tpo .deps/strlst.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT takeaddr.o -MD -MP -MF .deps/takeaddr.Tpo -c -o takeaddr.o takeaddr.c takeaddr.c:2098:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2098 | remove_quotes(new_current->addr->personal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../pith/../pith/../pith/string.h:156:39: note: passing argument to parameter here 156 | void remove_quotes(unsigned char *); | ^ 1 warning generated. mv -f .deps/takeaddr.Tpo .deps/takeaddr.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT tempfile.o -MD -MP -MF .deps/tempfile.Tpo -c -o tempfile.o tempfile.c mv -f .deps/tempfile.Tpo .deps/tempfile.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT text.o -MD -MP -MF .deps/text.Tpo -c -o text.o text.c mv -f .deps/text.Tpo .deps/text.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT thread.o -MD -MP -MF .deps/thread.Tpo -c -o thread.o thread.c mv -f .deps/thread.Tpo .deps/thread.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT adjtime.o -MD -MP -MF .deps/adjtime.Tpo -c -o adjtime.o adjtime.c mv -f .deps/adjtime.Tpo .deps/adjtime.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT url.o -MD -MP -MF .deps/url.Tpo -c -o url.o url.c mv -f .deps/url.Tpo .deps/url.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c mv -f .deps/util.Tpo .deps/util.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT helptext.o -MD -MP -MF .deps/helptext.Tpo -c -o helptext.o helptext.c mv -f .deps/helptext.Tpo .deps/helptext.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT smkeys.o -MD -MP -MF .deps/smkeys.Tpo -c -o smkeys.o smkeys.c mv -f .deps/smkeys.Tpo .deps/smkeys.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT smime.o -MD -MP -MF .deps/smime.Tpo -c -o smime.o smime.c smime.c:307:9: warning: address of array 'pathkey' will always evaluate to 'true' [-Wpointer-bool-conversion] 307 | if((pathkey && *pathkey) || text){ | ^~~~~~~ ~~ smime.c:3038:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3038 | (sig_filter[j].filter)(&mtext, &mlen, &btext, &blen); | ^ smime.c:3655:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3655 | pc(TAG_EMBED); pc(TAG_BOLDON); | ^ smime.c:3655:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3655 | pc(TAG_EMBED); pc(TAG_BOLDON); | ^ smime.c:3657:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3657 | pc(TAG_EMBED); pc(TAG_BOLDOFF); | ^ smime.c:3657:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3657 | pc(TAG_EMBED); pc(TAG_BOLDOFF); | ^ 6 warnings generated. mv -f .deps/smime.Tpo .deps/smime.Po 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 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 Making all in pico Making all in osdep cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT altedit.o -MD -MP -MF .deps/altedit.Tpo -c -o altedit.o altedit.c altedit.c:209:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | (*Pmaster->tty_fix)(0); | ^ altedit.c:234:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | (*Pmaster->newmail)(0, 0); | ^ altedit.c:298:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | (*Pmaster->tty_fix)(1); | ^ 3 warnings generated. mv -f .deps/altedit.Tpo .deps/altedit.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT chkpoint.o -MD -MP -MF .deps/chkpoint.Tpo -c -o chkpoint.o chkpoint.c mv -f .deps/chkpoint.Tpo .deps/chkpoint.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c mv -f .deps/color.Tpo .deps/color.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT filesys.o -MD -MP -MF .deps/filesys.Tpo -c -o filesys.o filesys.c filesys.c:70:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | rv = (*stat_f)(file, &sbuf); | ^ 1 warning generated. mv -f .deps/filesys.Tpo .deps/filesys.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT fsync.o -MD -MP -MF .deps/fsync.Tpo -c -o fsync.o fsync.c mv -f .deps/fsync.Tpo .deps/fsync.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT getkey.o -MD -MP -MF .deps/getkey.Tpo -c -o getkey.o getkey.c mv -f .deps/getkey.Tpo .deps/getkey.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mouse.o -MD -MP -MF .deps/mouse.Tpo -c -o mouse.o mouse.c mouse.c:164:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | (*menuitems[i].label_hiliter)(1, &menuitems[i]); | ^ mouse.c:181:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | (*menuitems[oindex].label_hiliter)(0, &menuitems[oindex]); | ^ 2 warnings generated. mv -f .deps/mouse.Tpo .deps/mouse.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT newmail.o -MD -MP -MF .deps/newmail.Tpo -c -o newmail.o newmail.c mv -f .deps/newmail.Tpo .deps/newmail.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT popen.o -MD -MP -MF .deps/popen.Tpo -c -o popen.o popen.c mv -f .deps/popen.Tpo .deps/popen.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT raw.o -MD -MP -MF .deps/raw.Tpo -c -o raw.o raw.c mv -f .deps/raw.Tpo .deps/raw.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT read.o -MD -MP -MF .deps/read.Tpo -c -o read.o read.c mv -f .deps/read.Tpo .deps/read.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT shell.o -MD -MP -MF .deps/shell.Tpo -c -o shell.o shell.c shell.c:74:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | rv = (*Pmaster->showmsg)('x'); | ^ 1 warning generated. mv -f .deps/shell.Tpo .deps/shell.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT signals.o -MD -MP -MF .deps/signals.Tpo -c -o signals.o signals.c mv -f .deps/signals.Tpo .deps/signals.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT spell.o -MD -MP -MF .deps/spell.Tpo -c -o spell.o spell.c spell.c:220:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | (*Pmaster->helper)(pinespellhelp, | ^ 1 warning generated. mv -f .deps/spell.Tpo .deps/spell.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT terminal.o -MD -MP -MF .deps/terminal.Tpo -c -o terminal.o terminal.c mv -f .deps/terminal.Tpo .deps/terminal.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT truncate.o -MD -MP -MF .deps/truncate.Tpo -c -o truncate.o truncate.c mv -f .deps/truncate.Tpo .deps/truncate.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT tty.o -MD -MP -MF .deps/tty.Tpo -c -o tty.o tty.c mv -f .deps/tty.Tpo .deps/tty.Po 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 cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT attach.o -MD -MP -MF .deps/attach.Tpo -c -o attach.o attach.c attach.c:112:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | (*Pmaster->helper)(Pmaster->attach_help, _("Attach Help"), 1); | ^ attach.c:386:56: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | if(Pmaster && Pmaster->upload && (*Pmaster->upload)(fn, fnlen, &l)){ | ^ attach.c:1321:50: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | if(Pmaster->mimetype && (*Pmaster->mimetype)(f) > 0){ | ^ attach.c:1326:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | rv = (*Pmaster->showmsg)('x'); | ^ 4 warnings generated. mv -f .deps/attach.Tpo .deps/attach.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT basic.o -MD -MP -MF .deps/basic.Tpo -c -o basic.o basic.c mv -f .deps/basic.Tpo .deps/basic.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT bind.o -MD -MP -MF .deps/bind.Tpo -c -o bind.o bind.c bind.c:135:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | (*Pmaster->helper)(Pmaster->composer_help, | ^ 1 warning generated. mv -f .deps/bind.Tpo .deps/bind.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT browse.o -MD -MP -MF .deps/browse.Tpo -c -o browse.o browse.c browse.c:416:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | if((*Pmaster->newmail)(c == NODATA ? 0 : 2, 1) >= 0){ | ^ browse.c:426:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | rv = (*Pmaster->showmsg)(c); | ^ browse.c:969:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | (*Pmaster->helper)(Pmaster->browse_help, | ^ browse.c:1752:10: warning: address of array 'pat' will always evaluate to 'true' [-Wpointer-bool-conversion] 1752 | if(pat && pat[0]) | ^~~ ~~ browse.c:2143:30: warning: address of array 'cell->size' will always evaluate to 'true' [-Wpointer-bool-conversion] 2143 | s_wid = utf8_width(cell->size ? cell->size : ""); | ~~~~~~^~~~ ~ browse.c:2198:25: warning: address of array 'cell->size' will always evaluate to 'true' [-Wpointer-bool-conversion] 2198 | s_wid, s_wid, cell->size ? cell->size : ""); | ~~~~~~^~~~ ~ browse.c:2819:18: warning: address of array 'mp->dname' will always evaluate to 'true' [-Wpointer-bool-conversion] 2819 | if(mp && mp->dname) | ~~ ~~~~^~~~~ 7 warnings generated. mv -f .deps/browse.Tpo .deps/browse.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.c mv -f .deps/buffer.Tpo .deps/buffer.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT composer.o -MD -MP -MF .deps/composer.Tpo -c -o composer.o composer.c composer.c:911:52: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | ambiguity = (*(headents[ods.cur_e].nickcmpl))(prefix, | ^ composer.c:1337:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | bufp = (*(headents[ods.cur_e].selector))(&errmss); | ^ composer.c:1528:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | errmss = (*(headents[ods.cur_e].fileedit))(filename); | ^ composer.c:1971:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | if((*Pmaster->newmail)(ch == NODATA ? 0 : 2, 1) >= 0){ | ^ composer.c:1981:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1981 | rv = (*Pmaster->showmsg)(ch); | ^ composer.c:2989:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2989 | (*Pmaster->helper)(headents[level].help, buf, 1); | ^ composer.c:3805:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3805 | retval = (*entry->builder)(sbuf, &s, err, headarg, mangled); | ^ composer.c:3889:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3889 | expret = (*Pmaster->expander)(headents, &s); | ^ 8 warnings generated. mv -f .deps/composer.Tpo .deps/composer.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o display.c display.c:789:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | rv = (*Pmaster->showmsg)('X' & 0x1f); /* ctrl-L */ | ^ 1 warning generated. mv -f .deps/display.Tpo .deps/display.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c file.c:174:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | if((*Pmaster->msgntext)(atol(fname), insmsgchar)){ | ^ file.c:310:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | retval = (*Pmaster->upload)(tfname, sizeof(tfname), NULL); | ^ file.c:335:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | (*Pmaster->helper)(msg ? Pmaster->ins_m_help | ^ 3 warnings generated. mv -f .deps/file.Tpo .deps/file.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT fileio.o -MD -MP -MF .deps/fileio.Tpo -c -o fileio.o fileio.c mv -f .deps/fileio.Tpo .deps/fileio.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT line.o -MD -MP -MF .deps/line.Tpo -c -o line.o line.c mv -f .deps/line.Tpo .deps/line.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pico.o -MD -MP -MF .deps/pico.Tpo -c -o pico.o pico.c pico.c:215:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | chkptinit((*Pmaster->ckptdir)(chkptfile, sizeof(chkptfile)), sizeof(chkptfile)); | ^ pico.c:390:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | if((*Pmaster->newmail)(c == NODATA ? 0 : 2, 1) >= 0){ | ^ pico.c:402:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | rv = (*Pmaster->showmsg)(c); | ^ pico.c:558:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | status = (*ktp->k_fp)(f, n); | ^ pico.c:675:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | || (result = (*Pmaster->canceltest)(redraw_pico_for_callback))){ | ^ pico.c:761:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | && (ret = (*Pmaster->exittest)(Pmaster->headents, | ^ 6 warnings generated. mv -f .deps/pico.Tpo .deps/pico.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT random.o -MD -MP -MF .deps/random.Tpo -c -o random.o random.c mv -f .deps/random.Tpo .deps/random.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT region.o -MD -MP -MF .deps/region.Tpo -c -o region.o region.c mv -f .deps/region.Tpo .deps/region.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.c search.c:201:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | (*Pmaster->helper)(Pmaster->search_help, | ^ search.c:426:35: warning: address of array 'defpat' will always evaluate to 'true' [-Wpointer-bool-conversion] 426 | utf8 = sucs4_to_utf8_cpystr(defpat ? defpat : x, flags & SR_BACKWRD); | ^~~~~~ ~ search.c:601:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | (*Pmaster->helper)(Pmaster->search_help, | ^ 3 warnings generated. mv -f .deps/search.Tpo .deps/search.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT window.o -MD -MP -MF .deps/window.Tpo -c -o window.o window.c mv -f .deps/window.Tpo .deps/window.Po cc -DHAVE_CONFIG_H -I../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT word.o -MD -MP -MF .deps/word.Tpo -c -o word.o word.c mv -f .deps/word.Tpo .deps/word.Po 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 Making all in alpine echo "char datestamp[]="\"Wed Oct 15 10:46:21 UTC 2025\"";" > date.c echo "char hoststamp[]="\"143amd64-current-job-02\"";" >> date.c echo "char configoptions[]="\"`../config.status --config`\"";" >> date.c /usr/bin/make all-recursive Making all in osdep cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT chnge_pw.o -MD -MP -MF .deps/chnge_pw.Tpo -c -o chnge_pw.o chnge_pw.c mv -f .deps/chnge_pw.Tpo .deps/chnge_pw.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT debuging.o -MD -MP -MF .deps/debuging.Tpo -c -o debuging.o debuging.c mv -f .deps/debuging.Tpo .deps/debuging.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT diskquot.non.o -MD -MP -MF .deps/diskquot.non.Tpo -c -o diskquot.non.o diskquot.non.c mv -f .deps/diskquot.non.Tpo .deps/diskquot.non.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT execview.o -MD -MP -MF .deps/execview.Tpo -c -o execview.o execview.c mv -f .deps/execview.Tpo .deps/execview.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT fltrname.o -MD -MP -MF .deps/fltrname.Tpo -c -o fltrname.o fltrname.c mv -f .deps/fltrname.Tpo .deps/fltrname.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT jobcntrl.o -MD -MP -MF .deps/jobcntrl.Tpo -c -o jobcntrl.o jobcntrl.c mv -f .deps/jobcntrl.Tpo .deps/jobcntrl.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT print.o -MD -MP -MF .deps/print.Tpo -c -o print.o print.c print.c:333:9: warning: address of array 'command' will always evaluate to 'true' [-Wpointer-bool-conversion] 333 | command ? command : "?")); | ^~~~~~~ ~ ./../../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ 1 warning generated. mv -f .deps/print.Tpo .deps/print.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT termin.gen.o -MD -MP -MF .deps/termin.gen.Tpo -c -o termin.gen.o termin.gen.c mv -f .deps/termin.gen.Tpo .deps/termin.gen.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT termin.unx.o -MD -MP -MF .deps/termin.unx.Tpo -c -o termin.unx.o termin.unx.c mv -f .deps/termin.unx.Tpo .deps/termin.unx.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT termout.gen.o -MD -MP -MF .deps/termout.gen.Tpo -c -o termout.gen.o termout.gen.c mv -f .deps/termout.gen.Tpo .deps/termout.gen.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT termout.unx.o -MD -MP -MF .deps/termout.unx.Tpo -c -o termout.unx.o termout.unx.c termout.unx.c:172:39: warning: address of array 'term_name' will always evaluate to 'true' [-Wpointer-bool-conversion] 172 | dprint((1, "Terminal type: %s\n", term_name ? term_name : "?")); | ^~~~~~~~~ ~ ./../../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ termout.unx.c:401:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 401 | char *stuff, *tgoto(); | ^ termout.unx.c:105:17: note: conflicting prototype is here 105 | extern char *tgoto(char *, int, int); | ^ 2 warnings generated. mv -f .deps/termout.unx.Tpo .deps/termout.unx.Po rm -f libpineosd.a /usr/bin/ar cru libpineosd.a chnge_pw.o debuging.o diskquot.non.o execview.o fltrname.o jobcntrl.o print.o termin.gen.o termin.unx.o termout.gen.o termout.unx.o ranlib libpineosd.a cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT addrbook.o -MD -MP -MF .deps/addrbook.Tpo -c -o addrbook.o addrbook.c mv -f .deps/addrbook.Tpo .deps/addrbook.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT adrbkcmd.o -MD -MP -MF .deps/adrbkcmd.Tpo -c -o adrbkcmd.o adrbkcmd.c adrbkcmd.c:4269:5: warning: address of array 'full_filename' will always evaluate to 'true' [-Wpointer-bool-conversion] 4269 | full_filename ? full_filename : "?")); | ^~~~~~~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ adrbkcmd.c:4463:9: warning: address of array 'full_filename' will always evaluate to 'true' [-Wpointer-bool-conversion] 4463 | full_filename ? full_filename : "?", | ^~~~~~~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ 2 warnings generated. mv -f .deps/adrbkcmd.Tpo .deps/adrbkcmd.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT after.o -MD -MP -MF .deps/after.Tpo -c -o after.o after.c mv -f .deps/after.Tpo .deps/after.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT alpine.o -MD -MP -MF .deps/alpine.Tpo -c -o alpine.o alpine.c mv -f .deps/alpine.Tpo .deps/alpine.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT arg.o -MD -MP -MF .deps/arg.Tpo -c -o arg.o arg.c mv -f .deps/arg.Tpo .deps/arg.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT busy.o -MD -MP -MF .deps/busy.Tpo -c -o busy.o busy.c mv -f .deps/busy.Tpo .deps/busy.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT colorconf.o -MD -MP -MF .deps/colorconf.Tpo -c -o colorconf.o colorconf.c colorconf.c:2855:13: warning: address of array 'color->bg' will always evaluate to 'true' [-Wpointer-bool-conversion] 2855 | && color->bg && color->bg[0]); | ~~ ~~~~~~~^~ colorconf.c:2854:26: warning: address of array 'color->fg' will always evaluate to 'true' [-Wpointer-bool-conversion] 2854 | def = !(color && color->fg && color->fg[0] | ~~ ~~~~~~~^~ 2 warnings generated. mv -f .deps/colorconf.Tpo .deps/colorconf.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT confscroll.o -MD -MP -MF .deps/confscroll.Tpo -c -o confscroll.o confscroll.c mv -f .deps/confscroll.Tpo .deps/confscroll.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT context.o -MD -MP -MF .deps/context.Tpo -c -o context.o context.c mv -f .deps/context.Tpo .deps/context.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT dispfilt.o -MD -MP -MF .deps/dispfilt.Tpo -c -o dispfilt.o dispfilt.c mv -f .deps/dispfilt.Tpo .deps/dispfilt.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT flagmaint.o -MD -MP -MF .deps/flagmaint.Tpo -c -o flagmaint.o flagmaint.c mv -f .deps/flagmaint.Tpo .deps/flagmaint.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT folder.o -MD -MP -MF .deps/folder.Tpo -c -o folder.o folder.c folder.c:1213:48: warning: address of array 'ps_global->last_error' will always evaluate to 'true' [-Wpointer-bool-conversion] 1213 | else if(ps_global->mm_log_error && ps_global->last_error) | ~~ ~~~~~~~~~~~^~~~~~~~~~ folder.c:1986:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | && (h1 ? ((*pc)(TAG_EMBED) && (*pc)(TAG_HANDLE) | ^ folder.c:1986:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | && (h1 ? ((*pc)(TAG_EMBED) && (*pc)(TAG_HANDLE) | ^ folder.c:1987:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1987 | && (*pc)(strlen(buf)) && gf_puts(buf, pc)) : 1) | ^ folder.c:1992:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1992 | && (h1 ? ((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDOFF) | ^ folder.c:1992:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1992 | && (h1 ? ((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDOFF) | ^ folder.c:1993:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1993 | && (*pc)(TAG_EMBED) && (*pc)(TAG_INVOFF)) : 1) | ^ folder.c:1993:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1993 | && (*pc)(TAG_EMBED) && (*pc)(TAG_INVOFF)) : 1) | ^ folder.c:2022:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2022 | rv = ((*pc)(TAG_EMBED) | ^ folder.c:2023:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2023 | && (*pc)((f->selected) ? TAG_BOLDON : TAG_BOLDOFF)) ? 0 : -1; | ^ folder.c:2053:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2053 | && (h2 ? ((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDOFF) /* tie off handle 1 */ | ^ folder.c:2053:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2053 | && (h2 ? ((*pc)(TAG_EMBED) && (*pc)(TAG_BOLDOFF) /* tie off handle 1 */ | ^ folder.c:2054:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2054 | && (*pc)(TAG_EMBED) && (*pc)(TAG_INVOFF)) : 1) | ^ folder.c:2054:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2054 | && (*pc)(TAG_EMBED) && (*pc)(TAG_INVOFF)) : 1) | ^ folder.c:2057:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2057 | && (h2 ? ((*pc)(TAG_EMBED) && (*pc)(TAG_HANDLE) /* start handle 2 */ | ^ folder.c:2057:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2057 | && (h2 ? ((*pc)(TAG_EMBED) && (*pc)(TAG_HANDLE) /* start handle 2 */ | ^ folder.c:2058:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | && (*pc)(strlen(buf)) && gf_puts(buf, pc)) : 1) | ^ folder.c:2060:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2060 | ? (fp->isdir && fp->isfolder ? (*pc)(ctxt->dir->delim) : 1) | ^ folder.c:2061:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2061 | : (((fp->isdir && fp->isfolder) ? (*pc)('[') : 1) | ^ folder.c:2062:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2062 | && ((fp->isdir) ? (*pc)(ctxt->dir->delim) : 1) | ^ folder.c:2063:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2063 | && ((fp->isdir && fp->isfolder) ? (*pc)(']') : 1))){ | ^ folder.c:2254:20: warning: address of array 'fp->name' will always evaluate to 'true' [-Wpointer-bool-conversion] 2254 | || (fp->name && !strcmp(name ? name : fs->first_folder, fp->name))))){ | ~~~~^~~~ ~~ folder.c:3898:5: warning: address of array 'full_filename' will always evaluate to 'true' [-Wpointer-bool-conversion] 3898 | if(full_filename && full_filename[0]) | ^~~~~~~~~~~~~ ~~ folder.c:4111:6: warning: address of array 'mdmbox' will always evaluate to 'true' [-Wpointer-bool-conversion] 4111 | if(mdmbox | ^~~~~~ 4112 | && (mdmbox[0] == '{' | ~~ folder.c:4903:6: warning: address of array 'nickname' will always evaluate to 'true' [-Wpointer-bool-conversion] 4903 | if(nickname && nickname[0]){ | ^~~~~~~~ ~~ folder.c:5625:47: warning: address of array 'fp->name' will always evaluate to 'true' [-Wpointer-bool-conversion] 5625 | if(!((context->use & CNTXT_INCMNG) && fp->name | ~~ ~~~~^~~~ folder.c:5670:18: warning: address of array 'fp->name' will always evaluate to 'true' [-Wpointer-bool-conversion] 5670 | else if((fp->name | ~~~~^~~~ 5671 | && (strm=context_already_open_stream(context,fp->name,AOS_NONE))) | ~~ folder.c:5750:10: warning: address of array 'fp->name' will always evaluate to 'true' [-Wpointer-bool-conversion] 5750 | fp->name ? fp->name : "?", | ~~~~^~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ 28 warnings generated. mv -f .deps/folder.Tpo .deps/folder.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT help.o -MD -MP -MF .deps/help.Tpo -c -o help.o help.c help.c:813:27: warning: address of array 'p->timestamp' will always evaluate to 'true' [-Wpointer-bool-conversion] 813 | if(timestamps && p->timestamp && p->timestamp[0]){ | ~~ ~~~^~~~~~~~~ help.c:818:13: warning: address of array 'p->message' will always evaluate to 'true' [-Wpointer-bool-conversion] 818 | if(p->message && p->message[0]){ | ~~~^~~~~~~ ~~ help.c:963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | gripe_gripe_to(url) | ^ help.c:1040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | gripe_newbody(ps, body, msgno, flags) | ^ help.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | gripe_token_addr(token) | ^ help.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | gripe_id(key) | ^ 6 warnings generated. mv -f .deps/help.Tpo .deps/help.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT imap.o -MD -MP -MF .deps/imap.Tpo -c -o imap.o imap.c imap.c:265:34: warning: address of array 'oa2list->host' will always evaluate to 'true' [-Wpointer-bool-conversion] 265 | for(i = 0; oa2list && oa2list->host && oa2list->host[i] && strucmp(oa2list->host[i], host); i++); | ~~ ~~~~~~~~~^~~~ imap.c:266:26: warning: address of array 'oa2list->host' will always evaluate to 'true' [-Wpointer-bool-conversion] 266 | if(oa2list && oa2list->host && i < OAUTH2_TOT_EQUIV && oa2list->host[i]){ | ~~ ~~~~~~~~~^~~~ imap.c:301:41: warning: address of array 'oa2list->host' will always evaluate to 'true' [-Wpointer-bool-conversion] 301 | for(i = 0; oa2list && oa2list->host && oa2list->host[i] && strucmp(oa2list->host[i], host); i++); | ~~ ~~~~~~~~~^~~~ imap.c:302:26: warning: address of array 'oa2list->host' will always evaluate to 'true' [-Wpointer-bool-conversion] 302 | if(oa2list && oa2list->host && i < OAUTH2_TOT_EQUIV && oa2list->host[i]) | ~~ ~~~~~~~~~^~~~ imap.c:316:41: warning: address of array 'oa2list->host' will always evaluate to 'true' [-Wpointer-bool-conversion] 316 | for(i = 0; oa2list && oa2list->host && oa2list->host[i] && strucmp(oa2list->host[i], host); i++); | ~~ ~~~~~~~~~^~~~ imap.c:317:26: warning: address of array 'oa2list->host' will always evaluate to 'true' [-Wpointer-bool-conversion] 317 | if(oa2list && oa2list->host && i < OAUTH2_TOT_EQUIV && oa2list->host[i]){ | ~~ ~~~~~~~~~^~~~ imap.c:557:79: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 557 | if(strucmp((char *) oauth2->name, (char *) GMAIL_NAME) == 0 && strstr(url, (char *) GMAIL_ID) != NULL){ | ^~~ /usr/include/string.h:131:26: note: passing argument to parameter here 131 | char *strstr(const char *, const char *) __pure; | ^ imap.c:803:20: warning: address of array 'mb->user' will always evaluate to 'true' [-Wpointer-bool-conversion] 803 | trial, mb->user ? mb->user : "(null)", | ~~~~^~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c:804:13: warning: address of array 'mb->service' will always evaluate to 'true' [-Wpointer-bool-conversion] 804 | mb->service ? mb->service : "(null)", | ~~~~^~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c:827:12: warning: address of array 'mb->orighost' will always evaluate to 'true' [-Wpointer-bool-conversion] 827 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ~~~~^~~~~~~~ ~~ imap.c:861:24: warning: comparison of array 'oa2list->host' not equal to a null pointer is always true [-Wtautological-pointer-compare] 861 | oa2list && oa2list->host != NULL && oa2list->host[0] != NULL; | ~~~~~~~~~^~~~ ~~~~ imap.c:878:25: warning: comparison of array 'oa2list->host' not equal to a null pointer is always true [-Wtautological-pointer-compare] 878 | oa2list && oa2list->host != NULL && oa2list->host[0] != NULL; | ~~~~~~~~~^~~~ ~~~~ imap.c:891:30: warning: address of array 'oa2list->host' will always evaluate to 'true' [-Wpointer-bool-conversion] 891 | if(!oa2list || !oa2list->host || !oa2list->host[0]){ | ~~~~~~~~~~^~~~ imap.c:910:15: warning: address of array 'mb->orighost' will always evaluate to 'true' [-Wpointer-bool-conversion] 910 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)) | ~~~~^~~~~~~~ ~~ imap.c:1032:21: warning: address of array 'oa2->host' will always evaluate to 'true' [-Wpointer-bool-conversion] 1032 | if(oa2 && oa2->host && j < OAUTH2_TOT_EQUIV && oa2->host[j] | ~~ ~~~~~^~~~ imap.c:1183:21: warning: call to undeclared function 'ntohs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1183 | (mb->port != ntohs(sv->s_port))){ | ^ imap.c:1181:24: warning: address of array 'mb->service' will always evaluate to 'true' [-Wpointer-bool-conversion] 1181 | if(mb->port && mb->service && | ~~ ~~~~^~~~~~~ imap.c:1187:20: warning: address of array 'non_def_port' will always evaluate to 'true' [-Wpointer-bool-conversion] 1187 | non_def_port ? non_def_port : "?")); | ^~~~~~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c:1196:14: warning: address of array 'mb->orighost' will always evaluate to 'true' [-Wpointer-bool-conversion] 1196 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ~~~~^~~~~~~~ ~~ imap.c:1210:9: warning: address of array 'mb->orighost' will always evaluate to 'true' [-Wpointer-bool-conversion] 1210 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ~~~~^~~~~~~~ ~~ imap.c:1477:20: warning: address of array 'mb->user' will always evaluate to 'true' [-Wpointer-bool-conversion] 1477 | trial, mb->user ? mb->user : "(null)", | ~~~~^~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c:1478:13: warning: address of array 'mb->service' will always evaluate to 'true' [-Wpointer-bool-conversion] 1478 | mb->service ? mb->service : "(null)", | ~~~~^~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c:1504:21: warning: call to undeclared function 'ntohs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1504 | (mb->port != ntohs(sv->s_port))){ | ^ imap.c:1502:24: warning: address of array 'mb->service' will always evaluate to 'true' [-Wpointer-bool-conversion] 1502 | if(mb->port && mb->service && | ~~ ~~~~^~~~~~~ imap.c:1519:9: warning: address of array 'mb->orighost' will always evaluate to 'true' [-Wpointer-bool-conversion] 1519 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ~~~~^~~~~~~~ ~~ imap.c:1533:9: warning: address of array 'mb->orighost' will always evaluate to 'true' [-Wpointer-bool-conversion] 1533 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ~~~~^~~~~~~~ ~~ imap.c:2229:16: warning: address of array 'ps_global->last_error' will always evaluate to 'true' [-Wpointer-bool-conversion] 2229 | ps_global->last_error ? ps_global->last_error : "?")); | ~~~~~~~~~~~^~~~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c:3243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3243 | read_passfile(pinerc, l) | ^ imap.c:3751:37: warning: address of array 'tmp' will always evaluate to 'true' [-Wpointer-bool-conversion] 3751 | dprint((10, "read_passfile: %s\n", tmp ? tmp : "?")); | ^~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c:3795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3795 | write_passfile(pinerc, l) | ^ imap.c:4084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4084 | get_passfile_passwd(pinerc, passwd, user, hostlist, altflag) | ^ imap.c:4098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4098 | get_passfile_passwd_auth(pinerc, passwd, user, hostlist, altflag, authtype) | ^ imap.c:4122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4122 | get_passfile_user(pinerc, hostlist) | ^ imap.c:4338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4338 | set_passfile_passwd(pinerc, passwd, user, hostlist, altflag, already_prompted) | ^ imap.c:4354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4354 | set_passfile_passwd_auth(pinerc, passwd, user, hostlist, altflag, already_prompted, authtype) | ^ imap.c:4371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4371 | update_passfile_hostlist(pinerc, user, hostlist, altflag) | ^ imap.c:4389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4389 | update_passfile_hostlist_auth(pinerc, user, hostlist, altflag, authtype) | ^ 37 warnings generated. mv -f .deps/imap.Tpo .deps/imap.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o init.c mv -f .deps/init.Tpo .deps/init.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT kblock.o -MD -MP -MF .deps/kblock.Tpo -c -o kblock.o kblock.c mv -f .deps/kblock.Tpo .deps/kblock.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT keymenu.o -MD -MP -MF .deps/keymenu.Tpo -c -o keymenu.o keymenu.c keymenu.c:3147:8: warning: address of array 'this_label' will always evaluate to 'true' [-Wpointer-bool-conversion] 3147 | && this_label && !strcmp(this_label,last_time->label) | ~~ ^~~~~~~~~~ keymenu.c:4138:8: warning: address of array 'prename' will always evaluate to 'true' [-Wpointer-bool-conversion] 4138 | if(prename) | ~~ ^~~~~~~ keymenu.c:4141:8: warning: address of array 'namepart' will always evaluate to 'true' [-Wpointer-bool-conversion] 4141 | if(namepart){ | ~~ ^~~~~~~~ keymenu.c:4148:8: warning: address of array 'labelpart' will always evaluate to 'true' [-Wpointer-bool-conversion] 4148 | if(labelpart){ | ~~ ^~~~~~~~~ 4 warnings generated. mv -f .deps/keymenu.Tpo .deps/keymenu.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT ldapconf.o -MD -MP -MF .deps/ldapconf.Tpo -c -o ldapconf.o ldapconf.c mv -f .deps/ldapconf.Tpo .deps/ldapconf.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT listsel.o -MD -MP -MF .deps/listsel.Tpo -c -o listsel.o listsel.c mv -f .deps/listsel.Tpo .deps/listsel.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mailcmd.o -MD -MP -MF .deps/mailcmd.Tpo -c -o mailcmd.o mailcmd.c mailcmd.c:3778:5: warning: address of array 'full_filename' will always evaluate to 'true' [-Wpointer-bool-conversion] 3778 | full_filename ? full_filename : "?")); | ^~~~~~~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c:3832:10: warning: address of array 'full_filename' will always evaluate to 'true' [-Wpointer-bool-conversion] 3832 | full_filename ? full_filename : "?", | ^~~~~~~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c:4099:5: warning: address of array 'full_filename' will always evaluate to 'true' [-Wpointer-bool-conversion] 4099 | full_filename ? full_filename : "?")); | ^~~~~~~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c:5110:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5110 | && (*pc)(' '))) | ^ mailcmd.c:5124:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5124 | if(!(*pc)(*p++)) | ^ mailcmd.c:6034:5: warning: address of array 'newfolder' will always evaluate to 'true' [-Wpointer-bool-conversion] 6034 | newfolder ? newfolder : "?")); | ^~~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c:6042:8: warning: address of array 'expanded' will always evaluate to 'true' [-Wpointer-bool-conversion] 6042 | expanded ? expanded : "?")); | ^~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ 7 warnings generated. mv -f .deps/mailcmd.Tpo .deps/mailcmd.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mailindx.o -MD -MP -MF .deps/mailindx.Tpo -c -o mailindx.o mailindx.c mv -f .deps/mailindx.Tpo .deps/mailindx.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mailpart.o -MD -MP -MF .deps/mailpart.Tpo -c -o mailpart.o mailpart.c mailpart.c:240:8: warning: address of array 'ps->c_client_error' will always evaluate to 'true' [-Wpointer-bool-conversion] 240 | ps->c_client_error ? ps->c_client_error : "?"); | ~~~~^~~~~~~~~~~~~~ ~ mailpart.c:340:7: warning: address of array 'a->size' will always evaluate to 'true' [-Wpointer-bool-conversion] 340 | a->size ? a->size : "", | ~~~^~~~ ~ mailpart.c:1316:5: warning: address of array 'filename' will always evaluate to 'true' [-Wpointer-bool-conversion] 1316 | filename ? filename : "?")); | ^~~~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailpart.c:1470:49: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 1470 | so_flags = (is_text & !(flags & GER_BINARY) ? WRITE_TO_LOCALE : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ mailpart.c:1470:49: note: place parentheses around the '&' expression to silence this warning 1470 | so_flags = (is_text & !(flags & GER_BINARY) ? WRITE_TO_LOCALE : 0) | ^ | ( ) mailpart.c:1470:49: note: place parentheses around the '?:' expression to evaluate it first 1470 | so_flags = (is_text & !(flags & GER_BINARY) ? WRITE_TO_LOCALE : 0) | ^ | ( ) mailpart.c:2290:8: warning: address of array 'sender_filename' will always evaluate to 'true' [-Wpointer-bool-conversion] 2290 | if(sender_filename){ | ~~ ^~~~~~~~~~~~~~~ 5 warnings generated. mv -f .deps/mailpart.Tpo .deps/mailpart.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mailview.o -MD -MP -MF .deps/mailview.Tpo -c -o mailview.o mailview.c mv -f .deps/mailview.Tpo .deps/mailview.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT newuser.o -MD -MP -MF .deps/newuser.Tpo -c -o newuser.o newuser.c newuser.c:54:18: warning: address of array 'ps->pine_pre_vers' will always evaluate to 'true' [-Wpointer-bool-conversion] 54 | || (ps->pine_pre_vers | ~~~~^~~~~~~~~~~~~ 55 | && isdigit((unsigned char) ps->pine_pre_vers[0]) | ~~ 1 warning generated. mv -f .deps/newuser.Tpo .deps/newuser.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pattern.o -MD -MP -MF .deps/pattern.Tpo -c -o pattern.o pattern.c mv -f .deps/pattern.Tpo .deps/pattern.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pipe.o -MD -MP -MF .deps/pipe.Tpo -c -o pipe.o pipe.c mv -f .deps/pipe.Tpo .deps/pipe.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT print.o -MD -MP -MF .deps/print.Tpo -c -o print.o print.c mv -f .deps/print.Tpo .deps/print.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT radio.o -MD -MP -MF .deps/radio.Tpo -c -o radio.o radio.c mv -f .deps/radio.Tpo .deps/radio.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT remote.o -MD -MP -MF .deps/remote.Tpo -c -o remote.o remote.c remote.c:311:22: warning: address of array 'pinerc_dir' will always evaluate to 'true' [-Wpointer-bool-conversion] 311 | build_path(path, pinerc_dir ? pinerc_dir : NULL, | ^~~~~~~~~~ ~ 1 warning generated. mv -f .deps/remote.Tpo .deps/remote.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT reply.o -MD -MP -MF .deps/reply.Tpo -c -o reply.o reply.c mv -f .deps/reply.Tpo .deps/reply.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT roleconf.o -MD -MP -MF .deps/roleconf.Tpo -c -o roleconf.o roleconf.c roleconf.c:6418:51: warning: address of array 'ps_global->c_client_error' will always evaluate to 'true' [-Wpointer-bool-conversion] 6418 | if(ps_global->mm_log_error && ps_global->c_client_error) | ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~ 1 warning generated. mv -f .deps/roleconf.Tpo .deps/roleconf.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT send.o -MD -MP -MF .deps/send.Tpo -c -o send.o send.c send.c:655:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | while((*inc_text_getc)(&ch)) | ^ send.c:2095:24: warning: address of array 'pf_template' will always evaluate to 'true' [-Wpointer-bool-conversion] 2095 | for(fixed_cnt = 0; pf_template && pf_template[fixed_cnt].name; fixed_cnt++) | ^~~~~~~~~~~ ~~ send.c:3298:11: warning: address of array 'folder' will always evaluate to 'true' [-Wpointer-bool-conversion] 3298 | folder ? folder : "?", | ^~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ send.c:3614:10: warning: address of array 'folder' will always evaluate to 'true' [-Wpointer-bool-conversion] 3614 | folder ? folder : "?", | ^~~~~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ send.c:3661:20: warning: address of array 'folder' will always evaluate to 'true' [-Wpointer-bool-conversion] 3661 | if(fcc_result && folder) | ~~ ^~~~~~ send.c:5226:6: warning: address of array 'cmd' will always evaluate to 'true' [-Wpointer-bool-conversion] 5226 | cmd ? cmd : "?", | ^~~ ~ ./../pith/debug.h:40:40: note: expanded from macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ 6 warnings generated. mv -f .deps/send.Tpo .deps/send.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT setup.o -MD -MP -MF .deps/setup.Tpo -c -o setup.o setup.c setup.c:807:61: warning: address of array 'f->name' will always evaluate to 'true' [-Wpointer-bool-conversion] 807 | snprintf(buf, sizeof(buf), "%s (%s)", f->nickname, f->name ? f->name : "?"); | ~~~^~~~ ~ setup.c:811:31: warning: address of array 'f->name' will always evaluate to 'true' [-Wpointer-bool-conversion] 811 | ls->item = cpystr((f && f->name) ? f->name : "?"); | ~~ ~~~^~~~ 2 warnings generated. mv -f .deps/setup.Tpo .deps/setup.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT signal.o -MD -MP -MF .deps/signal.Tpo -c -o signal.o signal.c signal.c:413:63: warning: address of array 'mb.mailbox' will always evaluate to 'true' [-Wpointer-bool-conversion] 413 | else if(mail_valid_net_parse(stream->mailbox, &mb) && mb.mailbox) | ~~ ~~~^~~~~~~ 1 warning generated. mv -f .deps/signal.Tpo .deps/signal.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c mv -f .deps/status.Tpo .deps/status.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT takeaddr.o -MD -MP -MF .deps/takeaddr.Tpo -c -o takeaddr.o takeaddr.c mv -f .deps/takeaddr.Tpo .deps/takeaddr.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT titlebar.o -MD -MP -MF .deps/titlebar.Tpo -c -o titlebar.o titlebar.c titlebar.c:216:16: warning: address of array 'color->fg' will always evaluate to 'true' [-Wpointer-bool-conversion] 216 | if(color->fg){ | ~~ ~~~~~~~^~ titlebar.c:221:16: warning: address of array 'color->bg' will always evaluate to 'true' [-Wpointer-bool-conversion] 221 | if(color->bg){ | ~~ ~~~~~~~^~ titlebar.c:359:18: warning: address of array 'tc->titlebar_line' will always evaluate to 'true' [-Wpointer-bool-conversion] 359 | if(tc && tc->titlebar_line) | ~~ ~~~~^~~~~~~~~~~~~ titlebar.c:391:45: warning: address of array 'col->bg' will always evaluate to 'true' [-Wpointer-bool-conversion] 391 | if(col && col->fg && col->fg[0] && col->bg && col->bg[0]) | ~~ ~~~~~^~ titlebar.c:391:20: warning: address of array 'col->fg' will always evaluate to 'true' [-Wpointer-bool-conversion] 391 | if(col && col->fg && col->fg[0] && col->bg && col->bg[0]) | ~~ ~~~~~^~ 5 warnings generated. mv -f .deps/titlebar.Tpo .deps/titlebar.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT smime.o -MD -MP -MF .deps/smime.Tpo -c -o smime.o smime.c smime.c:358:9: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | pc(' '); | ^ smime.c:361:9: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | pc(ch); | ^ smime.c:605:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | pc(*b); | ^ smime.c:613:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | pc(' '); | ^ smime.c:616:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | pc(' '); | ^ smime.c:619:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | pc(*b); | ^ 6 warnings generated. mv -f .deps/smime.Tpo .deps/smime.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT newmail.o -MD -MP -MF .deps/newmail.Tpo -c -o newmail.o newmail.c newmail.c:155:10: warning: address of array 'from' will always evaluate to 'true' [-Wpointer-bool-conversion] 155 | from && from[0] ? from : "", | ^~~~ ~~ newmail.c:154:10: warning: address of array 'from' will always evaluate to 'true' [-Wpointer-bool-conversion] 154 | from && from[0] ? "rom " : "", | ^~~~ ~~ newmail.c:153:10: warning: address of array 'from' will always evaluate to 'true' [-Wpointer-bool-conversion] 153 | from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", | ^~~~ ~~ newmail.c:195:6: warning: address of array 'from' will always evaluate to 'true' [-Wpointer-bool-conversion] 195 | from && from[0] ? from : ""); | ^~~~ ~~ newmail.c:194:6: warning: address of array 'from' will always evaluate to 'true' [-Wpointer-bool-conversion] 194 | from && from[0] ? "rom " : "", | ^~~~ ~~ newmail.c:193:6: warning: address of array 'from' will always evaluate to 'true' [-Wpointer-bool-conversion] 193 | from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", | ^~~~ ~~ 6 warnings generated. mv -f .deps/newmail.Tpo .deps/newmail.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT xoauth2conf.o -MD -MP -MF .deps/xoauth2conf.Tpo -c -o xoauth2conf.o xoauth2conf.c mv -f .deps/xoauth2conf.Tpo .deps/xoauth2conf.Po cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT date.o -MD -MP -MF .deps/date.Tpo -c -o date.o date.c mv -f .deps/date.Tpo .deps/date.Po /bin/sh ../libtool --tag=CC --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L `cat ../c-client/LDFLAGS` -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -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 /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lcrypt -lldap -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo -llber libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -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 /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -lpam ../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 -lcrypt /usr/local/lib/libldap.so -lssl -lcrypto -ltinfo /usr/local/lib/liblber.so -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT rpdump.o -MD -MP -MF .deps/rpdump.Tpo -c -o rpdump.o rpdump.c rpdump.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | main(argc, argv) | ^ rpdump.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | check_for_header_msg(stream) | ^ rpdump.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | ptype(rtype) | ^ rpdump.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | spechdr(rtype) | ^ rpdump.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | parse_args(argc, argv, force, local, remote) | ^ rpdump.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | err_desc(err) | ^ rpdump.c:457:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | void mm_exists(stream, number) | ^ rpdump.c:464:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | void mm_expunged(stream, number) | ^ rpdump.c:471:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | void mm_flags(stream, number) | ^ rpdump.c:478:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | void mm_list(stream, delim, name, attrib) | ^ rpdump.c:487:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | void mm_lsub(stream, delimiter, name, attributes) | ^ rpdump.c:496:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | void mm_notify(stream, string, errflg) | ^ rpdump.c:505:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | void mm_log(string, errflg) | ^ rpdump.c:535:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | void mm_login_method(mb, user, pwd, trial, method) | ^ rpdump.c:545:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | void mm_login(mb, user, pwd, trial) | ^ rpdump.c:558:9: warning: address of array 'mb->user' will always evaluate to 'true' [-Wpointer-bool-conversion] 558 | if(mb->user && *mb->user){ | ~~~~^~~~ ~~ rpdump.c:686:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | void mm_critical(stream) | ^ rpdump.c:692:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | void mm_nocritical(stream) | ^ rpdump.c:698:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | long mm_diskerror(stream, errcode, serious) | ^ rpdump.c:707:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | void mm_fatal(string) | ^ rpdump.c:714:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | void mm_searched(stream, msgno) | ^ rpdump.c:721:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | void mm_status(stream, mailbox, status) | ^ rpdump.c:728:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | void mm_dlog(string) | ^ rpdump.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | opt_enter(string, field_len, prompt, flags) | ^ rpdump.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | last_cmpnt(filename) | ^ rpdump.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | wantto(question, dflt, on_ctrl_C) | ^ 26 warnings generated. mv -f .deps/rpdump.Tpo .deps/rpdump.Po /bin/sh ../libtool --tag=CC --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L `cat ../c-client/LDFLAGS` -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -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 /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lcrypt -lldap -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo -llber libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -o rpdump rpdump.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -lpam ../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 -lcrypt /usr/local/lib/libldap.so -lssl -lcrypto -ltinfo /usr/local/lib/liblber.so -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include -I/usr/local/include -I/usr/local/include/include -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT rpload.o -MD -MP -MF .deps/rpload.Tpo -c -o rpload.o rpload.c rpload.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | main(argc, argv) | ^ rpload.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | check_for_header_msg(stream) | ^ rpload.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | ptype(rtype) | ^ rpload.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | spechdr(rtype) | ^ rpload.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | parse_args(argc, argv, force, trimsize, local, remote, type) | ^ rpload.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | dummy_soutr(stream, string) | ^ rpload.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | add_initial_msg(stream, mailbox, special_hdr) | ^ rpload.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | append_data(stream, mailbox, special_hdr, fp) | ^ rpload.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | trim_data(stream, trimsize) | ^ rpload.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | write_fake_headers(where, subject, subtype, special_hdr) | ^ rpload.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | err_desc(err) | ^ rpload.c:696:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | void mm_exists(stream, number) | ^ rpload.c:703:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | void mm_expunged(stream, number) | ^ rpload.c:710:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | void mm_flags(stream, number) | ^ rpload.c:717:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | void mm_list(stream, delim, name, attrib) | ^ rpload.c:726:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | void mm_lsub(stream, delimiter, name, attributes) | ^ rpload.c:735:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | void mm_notify(stream, string, errflg) | ^ rpload.c:744:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | void mm_log(string, errflg) | ^ rpload.c:774:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | void mm_login_method(mb, user, pwd, trial, method) | ^ rpload.c:784:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | void mm_login(mb, user, pwd, trial) | ^ rpload.c:797:9: warning: address of array 'mb->user' will always evaluate to 'true' [-Wpointer-bool-conversion] 797 | if(mb->user && *mb->user){ | ~~~~^~~~ ~~ rpload.c:924:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | void mm_critical(stream) | ^ rpload.c:930:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | void mm_nocritical(stream) | ^ rpload.c:936:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | long mm_diskerror(stream, errcode, serious) | ^ rpload.c:945:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | void mm_fatal(string) | ^ rpload.c:952:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | void mm_searched(stream, msgno) | ^ rpload.c:959:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | void mm_status(stream, mailbox, status) | ^ rpload.c:966:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | void mm_dlog(string) | ^ rpload.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | opt_enter(string, field_len, prompt, flags) | ^ 29 warnings generated. mv -f .deps/rpload.Tpo .deps/rpload.Po /bin/sh ../libtool --tag=CC --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L `cat ../c-client/LDFLAGS` -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -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 /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lcrypt -lldap -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo -llber libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -o rpload rpload.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -lpam ../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 -lcrypt /usr/local/lib/libldap.so -lssl -lcrypto -ltinfo /usr/local/lib/liblber.so -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> alpine-2.26_3 depends on executable: aspell - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for alpine-2.26_3 ===> Generating temporary packing list if test ! -L c-client ; then ln -s imap/c-client c-client ; fi touch imap/ip6 cd imap && /usr/bin/make bsf EXTRACFLAGS=" -I/usr/include -I/usr/local/include -I/usr/local/include/include -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -lcrypt -lldap -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo -llber" EXTRAAUTHENTICATORS="" EXTRASPECIALS="SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private" BUNDLED="no" touch ip6 make build EXTRACFLAGS='-I/usr/include -I/usr/local/include -I/usr/local/include/include -O2 -pipe -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -I/usr/local/include -DLDAP_DEPRECATED -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -L/usr/local/lib -L/usr/local/lib/lib -lcrypt -lldap -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo -llber' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private' BUNDLED='no' BUILDTYPE=bsf IP=6 PASSWDTYPE=pam SPECIALS="GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam" Rebuilding c-client for bsf... cd c-client;make all CC=`cat CCTYPE` CFLAGS="`cat CFLAGS`" `cat SPECIALS` sh -c 'rm -rf rebuild || true' Not building bundled tools. /usr/bin/make install-recursive Making install in m4 Making install in po /bin/mkdir -p /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share if test "alpine" = "gettext-tools"; then /bin/mkdir -p /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/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 install -m 0644 ./$file /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/gettext/po/$file; done; for file in Makevars; do rm -f /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/gettext/po/$file; done; else : ; fi Making install in pith /usr/bin/make install-recursive Making install in osdep Making install in charconv Making install in pico Making install in osdep Making install in alpine /usr/bin/make install-recursive Making install in osdep /bin/mkdir -p '/wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/bin' /bin/sh ../libtool --mode=install install -s -m 555 alpine rpdump rpload '/wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/bin' libtool: install: install -m 555 -s alpine /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/bin/alpine libtool: install: install -m 555 -s rpdump /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/bin/rpdump libtool: install: install -m 555 -s rpload /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/bin/rpload cd imap && /usr/bin/make install-mailutil BUNDLED="no" DESTDIR="/wrkdirs/usr/ports/mail/alpine/work/stage" bindir="/usr/local/bin" mandir="/usr/local/share/man" Not building bundled tools. Installing mailutil... BUNDLED=no if test x"no" = x""; then install -d /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/bin; install mailutil/mailutil /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/bin/mailutil; install -d /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/man/man1; install src/mailutil/mailutil.1 /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/man/man1/mailutil.1; fi /bin/mkdir -p '/wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/man/man1' install -m 0644 doc/man1/alpine.1 doc/man1/rpdump.1 doc/man1/rpload.1 '/wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/man/man1' /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/bin/alpine -conf > /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/etc/alpine.conf.sample install -d /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine/tech-notes install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/LICENSE /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/NOTICE /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/README /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/doc/brochure.txt /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/doc/tech-notes/background.html /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine/tech-notes install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/doc/tech-notes/cmd-line.html /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine/tech-notes install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/doc/tech-notes/config-notes.html /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine/tech-notes install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/doc/tech-notes/config.html /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine/tech-notes install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/doc/tech-notes/index.html /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine/tech-notes install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/doc/tech-notes/installation.html /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine/tech-notes install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/doc/tech-notes/introduction.html /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine/tech-notes install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/doc/tech-notes/low-level.html /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine/tech-notes install -m 0644 /wrkdirs/usr/ports/mail/alpine/work/alpine-9726c09/doc/tech-notes/tech-notes.txt /wrkdirs/usr/ports/mail/alpine/work/stage/usr/local/share/doc/alpine/tech-notes ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-10-15T10:46:16+0000' 'PKG_NOTE_ports_top_git_hash=356114b982d7' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=34d27bcd2758' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.3' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for alpine-2.26_3 ===> Building alpine-2.26_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for alpine-2.26_3 build of mail/alpine | alpine-2.26_3 ended at Wed Oct 15 05:46:39 CDT 2025 build time: 00:00:24