Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/alpine.spec'], chrootPath='/var/lib/mock/f33-build-345225-59255/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/alpine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1602374400 Wrote: /builddir/build/SRPMS/alpine-2.24-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/alpine.spec'], chrootPath='/var/lib/mock/f33-build-345225-59255/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/alpine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1602374400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qYelte + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf alpine-2.24 + /usr/bin/xz -dc /builddir/build/SOURCES/alpine-2.24.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd alpine-2.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (alpine-2.24-useragent.patch): + echo 'Patch #1 (alpine-2.24-useragent.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doc/tech-notes/config.html patching file doc/tech-notes/tech-notes.txt Hunk #1 succeeded at 6630 (offset 1 line). patching file pith/pine.hlp Hunk #1 succeeded at 37314 (offset 2491 lines). Patch #2 (alpine-2.23-gcc10.patch): + echo 'Patch #2 (alpine-2.23-gcc10.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pith/smime.c Hunk #1 succeeded at 46 (offset 1 line). + install -m644 -p /builddir/build/SOURCES/README.fedora . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3HxcOf + umask 022 + cd /builddir/build/BUILD + cd alpine-2.24 + touch imap/ip6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-10-10 02:24:28.180553991 -0400 +++ ./configure 2020-11-27 13:03:15.100375162 -0500 @@ -2109,7 +2109,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-11-27 13:03:15.100375162 -0500 +++ ./configure 2020-11-27 13:03:16.580375163 -0500 @@ -6969,7 +6969,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -22518,7 +22518,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x ']' + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-debug=no --without-tcl --with-c-client-target=lfd --with-smtp-msa=/usr/sbin/sendmail --with-npa=/usr/bin/inews --with-passfile=.alpine.passfile --with-simple-spellcheck=hunspell --with-interactive-spellcheck=hunspell --with-system-pinerc=/etc/pine.conf --with-system-fixed-pinerc=/etc/pine.conf.fixed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu configure: Configuring for alpine 2.24 (riscv64-redhat-linux-gnu) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none ./configure: line 4553: AX_PROG_CC_FOR_BUILD: command not found checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for gawk... (cached) gawk checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6923: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ar... /usr/bin/ar checking for rm... /usr/bin/rm checking for cp... /usr/bin/cp checking for ln... /usr/bin/ln checking for ls... /usr/bin/ls checking for sed... (cached) /usr/bin/sed checking for make... /usr/bin/make checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done ./configure: line 10446: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory ./configure: line 10446: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking option: dmalloc enabled... no ./configure: line 11744: hostname: command not found checking option: debugging is enabled... no checking option: optimization is enabled... yes checking option: mouse support enabled... yes checking option: quotas enabled... no checking option: From changing enabled... yes checking option: background post enabled... yes checking option: keyboard lock enabled... yes checking option: from encoding enabled... no checking for passwd... /usr/bin/passwd checking for hunspell... /usr/bin/hunspell checking for hunspell... /usr/bin/hunspell configure: --with-passfile definition overrides OS-Specific password caching configure: Excluding TCL Support, and thus Web Alpine Support checking for setupterm in -ltinfo... yes checking for library containing dlopen... -ldl checking if OpenSSL is LibreSSL... no checking Openssl library version >= 1.0.0c... yes checking Openssl library version >= 1.1.0... yes checking for library containing OpenSSL_version_num... -lcrypto checking for library containing OPENSSL_init_ssl... -lssl checking for ber_alloc in -llber... yes checking for library containing ldap_initialize... -lldap configure: * * * Including LDAP Support checking for library containing crypt... -lcrypt checking for library containing gss_init_sec_context... -lgssapi_krb5 checking gssapi/gssapi_generic.h usability... yes checking gssapi/gssapi_generic.h presence... yes checking for gssapi/gssapi_generic.h... yes checking for library containing buildSmbNtlmAuthRequest... no configure: NOT including NTLM Support: ntlm library not found checking for library containing regcomp... none required checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for pthread support... checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no yes checking for library containing nanosleep... none required checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether stat file-mode macros are broken... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for memory.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking return type of signal handlers... void checking for size_t... yes checking for mode_t... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for union wait... no checking for stdint.h... (cached) yes checking for stdint.h... (cached) yes checking argument pointer type of qsort compare function and base... void checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strcoll... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for strchr... yes checking for memcpy... yes checking for strtol... yes checking for strtoul... yes checking for select... yes checking for poll... yes checking for qsort... yes checking for getuid... yes checking for getpwuid... yes checking for getpwnam... yes checking for gettimeofday... yes checking for tmpfile... yes checking for uname... yes checking for rename... yes checking for read... yes checking for signal... yes checking for setjmp... yes checking for chown... yes checking for wait4... yes checking for waitpid... yes checking for wait... yes checking for srandom... yes checking for popen... yes checking for pclose... yes checking for fsync... yes checking for truncate... yes checking for listen... yes checking for wcwidth... yes checking for mbstowcs... yes checking for wcrtomb... yes checking for putenv... yes checking for setenv... yes checking for library containing gethostname... none required checking for library containing socket... none required checking for library containing bind... none required checking for sigaction... yes checking for sigemptyset... yes checking for sigaddset... yes checking for sigprocmask... yes checking for library containing syslog... none required configure: * * * S/MIME support enabled configure: * * * Including Kerberos5 functionality configure: * * * TCL libraries could not be found. configure: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating pith/osdep/Makefile config.status: creating pith/charconv/Makefile config.status: creating pith/Makefile config.status: creating pico/osdep/Makefile config.status: creating pico/Makefile config.status: creating alpine/osdep/Makefile config.status: creating alpine/Makefile config.status: creating web/src/Makefile config.status: creating web/src/pubcookie/Makefile config.status: creating web/src/alpined.d/Makefile config.status: creating Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands /usr/bin/rm: cannot remove 'libtoolT': No such file or directory config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + /usr/bin/make -O -j4 V=1 VERBOSE=1 'EXTRACFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' touch imap/ip6 cd imap && /usr/bin/make lfd EXTRACFLAGS=" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -Wl,--as-needed -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5" EXTRAAUTHENTICATORS="gss " EXTRASPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private " BUNDLED="no" if test ! -L c-client ; then ln -s imap/c-client c-client ; fi make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' make[1]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' make[1]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' make build EXTRACFLAGS='-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private ' BUNDLED='no' BUILDTYPE=lnpno IP=6 \ SPECIALS="GSSDIR=/usr/kerberos" make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' make[3]: 'ip6' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' Building c-client for lnpno... echo `cat SPECIALS` SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private > c-client/SPECIALS cd c-client;make lnpno EXTRACFLAGS='-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L'\ EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS='gss '\ PASSWDTYPE=std SSLTYPE=nopwd IP=6\ GSSDIR=/usr/kerberos SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private BUNDLED='no' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap/c-client' make build EXTRACFLAGS='-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' PASSWDTYPE=std SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=slx \ SIGTYPE=psx CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-lcrypt" make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo gcc > CCTYPE echo -g -O2 -pipe -fno-omit-frame-pointer '-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" -DLOCKPGM4=\"/usr/bin/mlock\" > OSCFLAGS echo -lcrypt -L/usr/lib -Wl,-z,relro -Wl,--as-needed -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o http.o json.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o maildir.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers mbox maildir courier imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths gss ext md5 pla log bea oa2 make[5]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap/c-client' echo -I/usr/kerberos/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f /usr/kerberos/lib/libk5crypto.a) && echo -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap/c-client' echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c sh -c '(test nopwd != none) && echo "int pith_ssl_encryption_version(char *);" >> linkage.h || true' ln -s os_slx.h osdep.h ln -s os_slx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' Standard password authentication ln -s ckp_std.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/etc/pki/tls/certs\" -DSSL_KEY_DIRECTORY=\"/etc/pki/tls/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make slx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c `cat CCTYPE` -c `cat CFLAGS` mail.c `cat CCTYPE` -c `cat CFLAGS` misc.c `cat CCTYPE` -c `cat CFLAGS` newsrc.c `cat CCTYPE` -c `cat CFLAGS` smanager.c `cat CCTYPE` -c `cat CFLAGS` utf8.c `cat CCTYPE` -c `cat CFLAGS` utf8aux.c `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c `cat CCTYPE` -c `cat CFLAGS` rfc822.c `cat CCTYPE` -c `cat CFLAGS` nntp.c `cat CCTYPE` -c `cat CFLAGS` smtp.c `cat CCTYPE` -c `cat CFLAGS` imap4r1.c `cat CCTYPE` -c `cat CFLAGS` http.c `cat CCTYPE` -c `cat CFLAGS` json.c `cat CCTYPE` -c `cat CFLAGS` pop3.c `cat CCTYPE` -c `cat CFLAGS` unix.c `cat CCTYPE` -c `cat CFLAGS` mbx.c `cat CCTYPE` -c `cat CFLAGS` mmdf.c `cat CCTYPE` -c `cat CFLAGS` tenex.c `cat CCTYPE` -c `cat CFLAGS` mtx.c `cat CCTYPE` -c `cat CFLAGS` news.c `cat CCTYPE` -c `cat CFLAGS` phile.c `cat CCTYPE` -c `cat CFLAGS` mh.c `cat CCTYPE` -c `cat CFLAGS` mx.c `cat CCTYPE` -c `cat CFLAGS` mix.c `cat CCTYPE` -c `cat CFLAGS` maildir.c sh -c 'rm -rf c-client.a || true' ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o http.o json.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o maildir.o;ranlib c-client.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap/c-client' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap/c-client' echo lnpno > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Not building bundled tools. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. In file included from env_unix.c:258, from osdep.c:47: pmatch.c: In function 'pmatch_full': pmatch.c:41:43: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 41 | if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; | ^ | | | unsigned char * In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ In file included from auths.c:1, from env_unix.c:262, from osdep.c:47: kerb_mit.c: In function 'kerberos_login': kerb_mit.c:103:31: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 103 | authserver_login (lcase (user),kuser,argc,argv)) | ^~~~ | | | char * In file included from osdep.c:41: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from auths.c:1, from env_unix.c:262, from osdep.c:47: kerb_mit.c:103:24: warning: pointer targets in passing argument 1 of 'authserver_login' differ in signedness [-Wpointer-sign] 103 | authserver_login (lcase (user),kuser,argc,argv)) | ^~~~~~~~~~~~ | | | unsigned char * In file included from env_unix.h:58, from osdep.h:68, from osdep.c:28: env.h:40:30: note: expected 'char *' but argument is of type 'unsigned char *' 40 | long authserver_login (char *user,char *authuser,int argc,char *argv[]); | ~~~~~~^~~~ In file included from auths.c:2, from env_unix.c:262, from osdep.c:47: auth_gss.c: In function 'auth_gssapi_server': auth_gss.c:404:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] 404 | SERVER_LOG ("Failed to acquire credentials for %s",buf.value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | void * auth_gss.c:56:43: note: in definition of macro 'SERVER_LOG' 56 | #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) | ^ auth_gss.c:404:50: note: format string is defined here 404 | SERVER_LOG ("Failed to acquire credentials for %s",buf.value); | ~^ | | | char * | %p auth_gss.c:411:16: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] 411 | SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ | | | void * auth_gss.c:56:43: note: in definition of macro 'SERVER_LOG' 56 | #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) | ^ auth_gss.c:411:42: note: format string is defined here 411 | SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); | ~^ | | | char * | %p auth_gss.c:419:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] 419 | SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ | | | void * auth_gss.c:56:43: note: in definition of macro 'SERVER_LOG' 56 | #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) | ^ auth_gss.c:419:41: note: format string is defined here 419 | SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); | ~^ | | | char * | %p In file included from auths.c:4, from env_unix.c:262, from osdep.c:47: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:202:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 202 | if(read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size) < 0) | ^ auth_md5.c:205:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 205 | for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++); | ^ auth_md5.c:207:24: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 207 | lusr = *s ? lcase (cpystr (user)) : NIL; | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from auths.c:4, from env_unix.c:262, from osdep.c:47: auth_md5.c:208:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 208 | for (s = strtok_r ((char *) buf,"\015\012",&r),lret = NIL; s; | ^ auth_md5.c:209:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 209 | s = ret ? NIL : strtok_r (NIL,"\015\012",&r)) | ^ auth_md5.c:211:45: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 211 | if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { | ^ | | | unsigned char * In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ In file included from auths.c:4, from env_unix.c:262, from osdep.c:47: auth_md5.c:211:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 211 | if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { | ^ auth_md5.c:213:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 213 | if (!strcmp (s,user)) ret = cpystr (t); | ^ | | | unsigned char * In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from auths.c:4, from env_unix.c:262, from osdep.c:47: auth_md5.c:213:38: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 213 | if (!strcmp (s,user)) ret = cpystr (t); | ^ | | | unsigned char * In file included from osdep.c:41: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from auths.c:4, from env_unix.c:262, from osdep.c:47: auth_md5.c:214:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 214 | else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; | ^ | | | unsigned char * In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from auths.c:4, from env_unix.c:262, from osdep.c:47: auth_md5.c:214:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 214 | else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; | ^~~~ | | | unsigned char * In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from auths.c:4, from env_unix.c:262, from osdep.c:47: auth_md5.c:217:37: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 217 | if (!ret && lret) ret = cpystr (lret); | ^~~~ | | | unsigned char * In file included from osdep.c:41: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from auths.c:7, from env_unix.c:262, from osdep.c:47: auth_bea.c: In function 'auth_oauthbearer_client': auth_bea.c:102:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 101 | || (RefreshToken && oauth2.param[OA2_RefreshToken].value | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 102 | && strcmp(RefreshToken, oauth2.param[OA2_RefreshToken].value) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from auths.c:8, from env_unix.c:262, from osdep.c:47: auth_oa2.c: In function 'auth_oauth2_client': auth_oa2.c:130:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 129 | || (RefreshToken && oauth2.param[OA2_RefreshToken].value | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | && strcmp(RefreshToken, oauth2.param[OA2_RefreshToken].value) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_oa2.c:45:9: warning: unused variable 'u' [-Wunused-variable] 45 | char *u; | ^ In file included from osdep.c:47: env_unix.c: In function 'pwuser': env_unix.c:671:33: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] 671 | struct passwd *pw = getpwnam (user); | ^~~~ | | | unsigned char * In file included from osdep.c:39: /usr/include/pwd.h:116:45: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ In file included from osdep.c:47: env_unix.c:675:41: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 675 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~ | | | unsigned char * In file included from osdep.c:41: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from osdep.c:47: env_unix.c:675:33: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 675 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from osdep.c:47: env_unix.c:675:24: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] 675 | pw = getpwnam (s = lcase (cpystr (user))); | ~~^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.c:39: /usr/include/pwd.h:116:45: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ In file included from osdep.c:47: env_unix.c: In function 'valpwd': env_unix.c:701:16: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 701 | ret = pwuser (user); /* validated, get passwd entry for user */ | ^~~~ | | | char * env_unix.c:668:46: note: expected 'unsigned char *' but argument is of type 'char *' 668 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c:706:26: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 706 | else if ((pw = pwuser (user)) != NULL) {/* can get user? */ | ^~~~ | | | char * env_unix.c:668:46: note: expected 'unsigned char *' but argument is of type 'char *' 668 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c:709:44: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 709 | (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) | ^ | | | char * env_unix.c:668:46: note: expected 'unsigned char *' but argument is of type 'char *' 668 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function 'server_login': env_unix.c:740:58: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 740 | else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); | ^~~~ | | | char * env_unix.c:668:46: note: expected 'unsigned char *' but argument is of type 'char *' 668 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function 'authserver_login': env_unix.c:758:28: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 758 | return pw_login (pwuser (user),authuser,user,NIL,argc,argv); | ^~~~ | | | char * env_unix.c:668:46: note: expected 'unsigned char *' but argument is of type 'char *' 668 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function 'pw_login': env_unix.c:797:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 797 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:797:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 797 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:800:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 800 | if (!compare_cstring (auser,*t++)) | ^~~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:800:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 800 | if (!compare_cstring (auser,*t++)) | ^~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c: In function 'mailboxfile': env_unix.c:1085:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1085 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ~~~~^~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1085:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1085 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ^~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1095:64: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1095 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ~^~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1095:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1095 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ^~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1119:56: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1119 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ~^~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1119:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1119 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ^~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1133:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1133 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1133:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1133 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1147:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1147 | if (!compare_cstring (name+1,"NBOX")) { | ~~~~^~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1147:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1147 | if (!compare_cstring (name+1,"NBOX")) { | ^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c: In function 'dorc': env_unix.c:1598:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1598 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1598:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1598 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1612:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1612 | if (!compare_cstring (s,"set new-mailbox-format") || | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1612:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1612 | if (!compare_cstring (s,"set new-mailbox-format") || | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1613:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1613 | !compare_cstring (s,"set new-folder-format")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1613:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1613 | !compare_cstring (s,"set new-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1614:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1614 | if (!compare_cstring (k,"same-as-inbox")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1614:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1614 | if (!compare_cstring (k,"same-as-inbox")) { | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1616:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1616 | if (!compare_cstring (d->name,"mbox")) | ~^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1616:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1616 | if (!compare_cstring (d->name,"mbox")) | ^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1619:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1619 | else if (!compare_cstring (d->name,"dummy")) d = NIL; | ~^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1619:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1619 | else if (!compare_cstring (d->name,"dummy")) d = NIL; | ^~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1623:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1623 | else if (!compare_cstring (k,"system-standard")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1623:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1623 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1626:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1626 | if (!compare_cstring (k,"mbox")) k = "unix"; | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1626:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1626 | if (!compare_cstring (k,"mbox")) k = "unix"; | ^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1637:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1637 | if (!compare_cstring (s,"set empty-mailbox-format") || | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1637:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1637 | if (!compare_cstring (s,"set empty-mailbox-format") || | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1638:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1638 | !compare_cstring (s,"set empty-folder-format")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1638:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1638 | !compare_cstring (s,"set empty-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1639:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1639 | if (!compare_cstring (k,"invalid")) appendProto = NIL; | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1639:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1639 | if (!compare_cstring (k,"invalid")) appendProto = NIL; | ^~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1640:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1640 | else if (!compare_cstring (k,"same-as-inbox")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1640:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1640 | else if (!compare_cstring (k,"same-as-inbox")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1642:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1642 | compare_cstring (d->name,"dummy")) ? | ~^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1642:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1642 | compare_cstring (d->name,"dummy")) ? | ^~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1644:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1644 | else if (!compare_cstring (k,"system-standard")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1644:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1644 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1648:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1648 | d && compare_cstring (d->name,k); d = d->next); | ~^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1648:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1648 | d && compare_cstring (d->name,k); d = d->next); | ^ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1659:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1659 | if (!compare_cstring (s,"set local-host")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1659:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1659 | if (!compare_cstring (s,"set local-host")) { | ^~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1663:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1663 | else if (!compare_cstring (s,"set news-active-file")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1663:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1663 | else if (!compare_cstring (s,"set news-active-file")) { | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1667:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1667 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1667:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1667 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1671:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1671 | else if (!compare_cstring (s,"set mh-path")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1671:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1671 | else if (!compare_cstring (s,"set mh-path")) | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1673:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1673 | else if (!compare_cstring (s,"set mh-allow-inbox")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1673:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1673 | else if (!compare_cstring (s,"set mh-allow-inbox")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1675:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1675 | else if (!compare_cstring (s,"set news-state-file")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1675:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1675 | else if (!compare_cstring (s,"set news-state-file")) { | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1679:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1679 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1679:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1679 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1683:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1683 | else if (!compare_cstring (s,"set public-home-directory")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1683:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1683 | else if (!compare_cstring (s,"set public-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1687:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1687 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1687:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1687 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1691:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1691 | else if (!compare_cstring (s,"set system-inbox")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1691:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1691 | else if (!compare_cstring (s,"set system-inbox")) { | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1695:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1695 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1695:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1695 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1699:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1699 | else if (!compare_cstring (s,"set from-widget")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1699:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1699 | else if (!compare_cstring (s,"set from-widget")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1701:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1701 | compare_cstring (k,"header-only") ? | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1701:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1701 | compare_cstring (k,"header-only") ? | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1704:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1704 | else if (!compare_cstring (s,"set rsh-command")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1704:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1704 | else if (!compare_cstring (s,"set rsh-command")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1706:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1706 | else if (!compare_cstring (s,"set rsh-path")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1706:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1706 | else if (!compare_cstring (s,"set rsh-path")) | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1708:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1708 | else if (!compare_cstring (s,"set ssh-command")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1708:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1708 | else if (!compare_cstring (s,"set ssh-command")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1710:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1710 | else if (!compare_cstring (s,"set ssh-path")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1710:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1710 | else if (!compare_cstring (s,"set ssh-path")) | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1712:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1712 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1712:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1712 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1714:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1714 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1714:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1714 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1716:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1716 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1716:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1716 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1718:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1718 | else if (!compare_cstring (s,"set rsh-timeout")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1718:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1718 | else if (!compare_cstring (s,"set rsh-timeout")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1720:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1720 | else if (!compare_cstring (s,"set ssh-timeout")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1720:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1720 | else if (!compare_cstring (s,"set ssh-timeout")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1722:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1722 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1722:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1722 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1724:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1724 | else if (!compare_cstring (s,"set lookahead")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1724:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1724 | else if (!compare_cstring (s,"set lookahead")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1726:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1726 | else if (!compare_cstring (s,"set prefetch")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1726:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1726 | else if (!compare_cstring (s,"set prefetch")) | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1728:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1728 | else if (!compare_cstring (s,"set close-on-error")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1728:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1728 | else if (!compare_cstring (s,"set close-on-error")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1730:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1730 | else if (!compare_cstring (s,"set imap-port")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1730:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1730 | else if (!compare_cstring (s,"set imap-port")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1732:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1732 | else if (!compare_cstring (s,"set pop3-port")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1732:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1732 | else if (!compare_cstring (s,"set pop3-port")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1734:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1734 | else if (!compare_cstring (s,"set uid-lookahead")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1734:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1734 | else if (!compare_cstring (s,"set uid-lookahead")) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1736:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1736 | else if (!compare_cstring (s,"set try-ssl-first")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1736:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1736 | else if (!compare_cstring (s,"set try-ssl-first")) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1739:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1739 | else if (!compare_cstring (s,"set mailbox-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1739:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1739 | else if (!compare_cstring (s,"set mailbox-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1741:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1741 | else if (!compare_cstring (s,"set directory-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1741:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1741 | else if (!compare_cstring (s,"set directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1743:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1743 | else if (!compare_cstring (s,"set lock-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1743:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1743 | else if (!compare_cstring (s,"set lock-protection")) | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1745:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1745 | else if (!compare_cstring (s,"set ftp-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1745:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1745 | else if (!compare_cstring (s,"set ftp-protection")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1747:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1747 | else if (!compare_cstring (s,"set public-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1747:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1747 | else if (!compare_cstring (s,"set public-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1749:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1749 | else if (!compare_cstring (s,"set shared-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1749:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1749 | else if (!compare_cstring (s,"set shared-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1751:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1751 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1751:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1751 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1753:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1753 | else if (!compare_cstring (s,"set public-directory-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1753:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1753 | else if (!compare_cstring (s,"set public-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1755:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1755 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1755:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1755 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1757:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1757 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1757:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1757 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1759:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1759 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1759:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1759 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1761:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1761 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1761:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1761 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1763:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1763 | else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1763:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1763 | else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1765:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1765 | else if (!compare_cstring (s,"set hide-dot-files")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1765:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1765 | else if (!compare_cstring (s,"set hide-dot-files")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1767:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1767 | else if (!compare_cstring (s,"set list-maximum-level")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1767:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1767 | else if (!compare_cstring (s,"set list-maximum-level")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1769:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1769 | else if (!compare_cstring (s,"set trust-dns")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1769:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1769 | else if (!compare_cstring (s,"set trust-dns")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1771:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1771 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1771:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1771 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1773:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1773 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1773:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1773 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1775:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1775 | else if (!compare_cstring (s,"set nntp-range")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1775:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1775 | else if (!compare_cstring (s,"set nntp-range")) | ^~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1779:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1779 | if (!compare_cstring (s,"set black-box-directory") && | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1779:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1779 | if (!compare_cstring (s,"set black-box-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1781:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1781 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1781:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1781 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1784:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1784 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1784:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1784 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1791:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1791 | else if (!compare_cstring (s,"set CA-certificate-path")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1791:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1791 | else if (!compare_cstring (s,"set CA-certificate-path")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1793:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1793 | else if (!compare_cstring (s,"set CA-certificate-container")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1793:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1793 | else if (!compare_cstring (s,"set CA-certificate-container")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1795:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1795 | else if (!compare_cstring (s,"set disable-plaintext")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1795:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1795 | else if (!compare_cstring (s,"set disable-plaintext")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1797:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1797 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1797:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1797 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1799:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1799 | else if (!compare_cstring (s,"set chroot-server")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1799:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1799 | else if (!compare_cstring (s,"set chroot-server")) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1801:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1801 | else if (!compare_cstring (s,"set restrict-mailbox-access")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1801:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1801 | else if (!compare_cstring (s,"set restrict-mailbox-access")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1803:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1803 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1803:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1803 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1804:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1804 | else if (!compare_cstring (k,"otherusers")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1804:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1804 | else if (!compare_cstring (k,"otherusers")) | ^~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1806:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1806 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1806:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1806 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1808:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1808 | else if (!compare_cstring (s,"set advertise-the-world")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1808:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1808 | else if (!compare_cstring (s,"set advertise-the-world")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1810:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1810 | else if (!compare_cstring (s,"set limited-advertise")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1810:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1810 | else if (!compare_cstring (s,"set limited-advertise")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1813:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1813 | (s,"set disable-automatic-shared-namespaces")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1813:9: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1813 | (s,"set disable-automatic-shared-namespaces")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1815:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1815 | else if (!compare_cstring (s,"set allow-user-config")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1815:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1815 | else if (!compare_cstring (s,"set allow-user-config")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1817:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1817 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1817:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1817 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1819:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1819 | else if (!compare_cstring (s,"set k5-cp-uses-service-name")) | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1819:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1819 | else if (!compare_cstring (s,"set k5-cp-uses-service-name")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1823:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1823 | else if (!compare_cstring (s,"set plaintext-allowed-clients")) { | ^ | | | char * In file included from osdep.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c:1823:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1823 | else if (!compare_cstring (s,"set plaintext-allowed-clients")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:47: env_unix.c: In function 'env_end': env_unix.c:1902:6: warning: the address of 'userFlags' will always evaluate as 'true' [-Waddress] 1902 | if(userFlags){ | ^~~~~~~~~ In file included from tcp_unix.c:26, from osdep.c:50: ip_unix.c: In function 'ip_stringtoaddr': ip_unix.c:130:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 130 | (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from tcp_unix.c:26, from osdep.c:50: ip_unix.c:130:22: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] 130 | (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.c:35: /usr/include/netdb.h:660:48: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 660 | extern int getaddrinfo (const char *__restrict __name, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from tcp_unix.c:26, from osdep.c:50: ip_unix.c: In function 'ip_nametoaddr': ip_unix.c:248:24: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 248 | (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:41: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from tcp_unix.c:26, from osdep.c:50: ip_unix.c:248:17: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] 248 | (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.c:35: /usr/include/netdb.h:660:48: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 660 | extern int getaddrinfo (const char *__restrict __name, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from osdep.c:50: tcp_unix.c: In function 'tcp_getline': tcp_unix.c:477:43: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign] 477 | char *ret = tcp_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * tcp_unix.c:61:17: note: expected 'long int *' but argument is of type 'long unsigned int *' 61 | long *contd); | ~~~~~~^~~~~ tcp_unix.c:485:41: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign] 485 | ret = tcp_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * tcp_unix.c:61:17: note: expected 'long int *' but argument is of type 'long unsigned int *' 61 | long *contd); | ~~~~~~^~~~~ tcp_unix.c: In function 'tcp_isclienthost': tcp_unix.c:1044:17: warning: unused variable 'sadrlen' [-Wunused-variable] 1044 | size_t adrlen,sadrlen,len; | ^~~~~~~ osdep.c: In function 'ssl_validate_cert': osdep.c:696:34: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] 696 | ret = ssl_compare_hostnames (host,s) ? NIL : | ^~~~ | | | char * osdep.c:223:51: note: expected 'unsigned char *' but argument is of type 'char *' 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^ osdep.c:696:39: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] 696 | ret = ssl_compare_hostnames (host,s) ? NIL : | ^ | | | char * osdep.c:223:68: note: expected 'unsigned char *' but argument is of type 'char *' 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^~~ osdep.c:704:37: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 704 | (name->type = GEN_DNS) && (s = name->d.ia5->data) && | ^ osdep.c:705:31: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] 705 | ssl_compare_hostnames (host,s)) ret = NIL; | ^~~~ | | | char * osdep.c:223:51: note: expected 'unsigned char *' but argument is of type 'char *' 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^ osdep.c:705:36: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] 705 | ssl_compare_hostnames (host,s)) ret = NIL; | ^ | | | char * osdep.c:223:68: note: expected 'unsigned char *' but argument is of type 'char *' 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^~~ osdep.c:656:17: warning: unused variable 't' [-Wunused-variable] 656 | char *s=NULL,*t,*ret = NIL; | ^ osdep.c: In function 'ssl_getline': osdep.c:758:43: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign] 758 | char *ret = ssl_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * osdep.c:225:17: note: expected 'long int *' but argument is of type 'long unsigned int *' 225 | long *contd); | ~~~~~~^~~~~ osdep.c:766:41: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign] 766 | ret = ssl_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * osdep.c:225:17: note: expected 'long int *' but argument is of type 'long unsigned int *' 225 | long *contd); | ~~~~~~^~~~~ In file included from osdep.c:47: env_unix.c: In function 'pw_login': env_unix.c:815:37: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 815 | (ret = env_init (user,home))) chdir (myhomedir ()); | ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:50: tcp_unix.c: In function 'tcp_name': tcp_unix.c:997:44: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] 997 | sprintf (tmp,"Reverse DNS resolution %s",adr); | ^~ ~~~ In file included from /usr/include/stdio.h:866, from osdep.c:29: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:50: tcp_unix.c:1005:42: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1005 | if (flag) sprintf (ret = tmp,"%s %s",t,adr); | ^ In file included from /usr/include/stdio.h:866, from osdep.c:29: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mail.c: In function 'mail_parameters': mail.c:405:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 405 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:405:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 405 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:410:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 410 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:410:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 410 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:415:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 415 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:415:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 415 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:421:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 421 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:421:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 421 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:426:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 426 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:426:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 426 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:431:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 431 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:431:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 431 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:436:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 436 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:436:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 436 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_valid_net_parse_work': mail.c:849:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 849 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:849:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 849 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:850:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 850 | lcase (strcpy (mb->service,v)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:851:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 851 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:851:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 851 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:853:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 853 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:853:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 853 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:855:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 855 | else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:855:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 855 | else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && | ^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:861:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 861 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:861:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 861 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:862:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 862 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:862:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 862 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:863:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 863 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:863:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 863 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:864:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 864 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:864:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 864 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:865:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 865 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:865:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 865 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:866:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 866 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:866:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 866 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:867:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 867 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:867:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 867 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:867:65: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 867 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:867:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 867 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:869:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 869 | else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:869:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 869 | else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:871:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 871 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:871:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 871 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:871:61: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 871 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:871:63: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 871 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:873:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 873 | else if (!compare_cstring (s,"tryssl")) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:873:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 873 | else if (!compare_cstring (s,"tryssl")) | ^~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:875:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 875 | else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:875:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 875 | else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) | ^~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:877:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 877 | else if (!compare_cstring(s, "tls1") | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:877:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 877 | else if (!compare_cstring(s, "tls1") | ^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:880:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 880 | else if (!compare_cstring(s, "tls1_1") | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:880:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 880 | else if (!compare_cstring(s, "tls1_1") | ^~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:883:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 883 | else if (!compare_cstring(s, "tls1_2") | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:883:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 883 | else if (!compare_cstring(s, "tls1_2") | ^~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:886:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 886 | else if (!compare_cstring(s, "tls1_3") | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:886:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 886 | else if (!compare_cstring(s, "tls1_3") | ^~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:889:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 889 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:889:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 889 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:892:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 892 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:892:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 892 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:895:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 895 | else if (!compare_cstring (s,"imap") || | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:895:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 895 | else if (!compare_cstring (s,"imap") || | ^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:896:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 896 | !compare_cstring (s,"nntp") || | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:896:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 896 | !compare_cstring (s,"nntp") || | ^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:897:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 897 | !compare_cstring (s,"pop3") || | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:897:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 897 | !compare_cstring (s,"pop3") || | ^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:898:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 898 | !compare_cstring (s,"smtp") || | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:898:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 898 | !compare_cstring (s,"smtp") || | ^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:899:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 899 | !compare_cstring (s,"submit")) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:899:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 899 | !compare_cstring (s,"submit")) | ^~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:900:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 900 | lcase (strcpy (mb->service,s)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:901:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 901 | else if (!compare_cstring (s,"imap2") || | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:901:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 901 | else if (!compare_cstring (s,"imap2") || | ^~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:902:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 902 | !compare_cstring (s,"imap2bis") || | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:902:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 902 | !compare_cstring (s,"imap2bis") || | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:903:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 903 | !compare_cstring (s,"imap4") || | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:903:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 903 | !compare_cstring (s,"imap4") || | ^~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:904:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 904 | !compare_cstring (s,"imap4rev1")) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:904:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 904 | !compare_cstring (s,"imap4rev1")) | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:906:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 906 | else if (!compare_cstring (s,"pop")) | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:906:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 906 | else if (!compare_cstring (s,"pop")) | ^~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_create': mail.c:1079:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1079 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:1079:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1079 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_open': mail.c:1345:52: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1345 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:1345:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1345 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ^~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_fetch_overview': mail.c:1577:48: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1577 | if (stream->dtb && mail_uid_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c: In function 'mail_fetch_overview_sequence': mail.c:1593:44: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1593 | if (stream->dtb && mail_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c: In function 'mail_fetch_overview_default': mail.c:1618:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1618 | ov.date = env->date; | ^ mail.c: In function 'mail_fetch_header': mail.c:1836:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 1836 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1781:19: note: expected 'unsigned char *' but argument is of type 'char *' 1781 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_fetch_text': mail.c:1927:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 1927 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1781:19: note: expected 'unsigned char *' but argument is of type 'char *' 1781 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_fetch_mime': mail.c:1981:61: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 1981 | if (!(section && *section && (b = mail_body (stream,msgno,section)))) | ^~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1781:19: note: expected 'unsigned char *' but argument is of type 'char *' 1781 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_fetch_body': mail.c:2064:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 2064 | if (!(b = mail_body (stream,msgno,section))) return ""; | ^~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1781:19: note: expected 'unsigned char *' but argument is of type 'char *' 1781 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_partial_text': mail.c:2124:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 2124 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1781:19: note: expected 'unsigned char *' but argument is of type 'char *' 1781 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_partial_body': mail.c:2192:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 2192 | if (!(b = mail_body (stream,msgno,section))) return NIL; | ^~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1781:19: note: expected 'unsigned char *' but argument is of type 'char *' 1781 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_flag': mail.c:2414:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 2414 | ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c:2415:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 2415 | mail_sequence (stream,sequence)) && | ^~~~~~~~ | | | char * In file included from c-client.h:41, from mail.c:30: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c: In function 'mail_append_multiple': mail.c:2704:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 2704 | else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:2704:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2704 | else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from mail.c:30: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mail.c: In function 'mail_body_section': mail.c:2823:21: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2823 | if (!(i = strtoul (section,(char **) §ion,10)) || | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_parse_date': mail.c:2971:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2971 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from mail.c:30: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mail.c:2971:76: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2971 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from mail.c:27: /usr/include/bits/string_fortified.h:73:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ mail.c:2971:64: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 2971 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:2977:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2977 | if (!(m = strtoul (s,(char **) &s,10))) return NIL; | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2981:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2981 | if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) && | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2983:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2983 | y = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2993:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2993 | if ((m = strtoul (s+1,(char **) &s,10)) && (*s++ == '-') && | ~^~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2994:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2994 | (d = strtoul (s,(char **) &s,10)) && !*s) break; | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2999:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2999 | if (strlen (s) < (size_t) 5) return NIL; | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from mail.c:30: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mail.c:3027:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3027 | y = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3051:19: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3051 | d = strtoul (s+1,(char **) &s,10); | ~^~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3053:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3053 | m = strtoul (++s,(char **) &s,10); | ^~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3054:32: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3054 | y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; | ^~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_uid_sequence': mail.c:3384:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3384 | else if (!(i = strtoul (sequence,(char **) &sequence,10))) { | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3395:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3395 | else if (!(j = strtoul (sequence,(char **) &sequence,10))) { | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_filter': mail.c:3492:53: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] 3492 | if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text)) | ^~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:107:40: note: expected 'unsigned char *' but argument is of type 'char *' 107 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_search_msg': mail.c:3636:44: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 3636 | BODY *body = mail_body (stream,msgno,section); | ^~~~~~~ | | | char * mail.c:2859:72: note: expected 'unsigned char *' but argument is of type 'char *' 2859 | BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_search_text': mail.c:3808:46: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 3808 | else if ((body = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * mail.c:2859:72: note: expected 'unsigned char *' but argument is of type 'char *' 2859 | BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_search_string': mail.c:3927:16: warning: unused variable 'sc' [-Wunused-variable] 3927 | STRINGLIST **sc = st; | ^~ mail.c: In function 'mail_search_keyword': mail.c:3975:50: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] 3975 | if (!compare_csizedtext (stream->user_flags[i],&st->text)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:107:40: note: expected 'unsigned char *' but argument is of type 'char *' 107 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_criteria': mail.c:4106:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 4106 | switch (*ucase (criterion)) { | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_criteria_date': mail.c:4197:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 4197 | mail_parse_date (&elt,(char *) s->text.data) && | ^~~~~~~~~~~~~~~~~~~~~ | | | char * mail.c:2953:56: note: expected 'unsigned char *' but argument is of type 'char *' 2953 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ~~~~~~~~~~~~~~~^ mail.c: In function 'mail_sort_loadcache': mail.c:4453:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4453 | if (env) t = env->date; | ^ mail.c:4469:38: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 4469 | if (!(t && mail_parse_date (&telt,t) && | ^ | | | char * mail.c:2953:56: note: expected 'unsigned char *' but argument is of type 'char *' 2953 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ~~~~~~~~~~~~~~~^ mail.c: In function 'mail_sort_compare': mail.c:4772:29: warning: pointer targets in passing argument 1 of 'compare_string' differ in signedness [-Wpointer-sign] 4772 | i = compare_string (s1->from,s2->from); | ~~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:105:36: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4772:38: warning: pointer targets in passing argument 2 of 'compare_string' differ in signedness [-Wpointer-sign] 4772 | i = compare_string (s1->from,s2->from); | ~~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:105:54: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4775:29: warning: pointer targets in passing argument 1 of 'compare_string' differ in signedness [-Wpointer-sign] 4775 | i = compare_string (s1->to,s2->to); | ~~^~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:105:36: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4775:36: warning: pointer targets in passing argument 2 of 'compare_string' differ in signedness [-Wpointer-sign] 4775 | i = compare_string (s1->to,s2->to); | ~~^~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:105:54: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4778:29: warning: pointer targets in passing argument 1 of 'compare_string' differ in signedness [-Wpointer-sign] 4778 | i = compare_string (s1->cc,s2->cc); | ~~^~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:105:36: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4778:36: warning: pointer targets in passing argument 2 of 'compare_string' differ in signedness [-Wpointer-sign] 4778 | i = compare_string (s1->cc,s2->cc); | ~~^~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:105:54: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4781:29: warning: pointer targets in passing argument 1 of 'compare_string' differ in signedness [-Wpointer-sign] 4781 | i = compare_string (s1->subject,s2->subject); | ~~^~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:105:36: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4781:41: warning: pointer targets in passing argument 2 of 'compare_string' differ in signedness [-Wpointer-sign] 4781 | i = compare_string (s1->subject,s2->subject); | ~~^~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:105:54: note: expected 'unsigned char *' but argument is of type 'char *' 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_thread_msgs': mail.c:4880:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4880 | if (!compare_cstring (type,t->name)) { | ^~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4880:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4880 | if (!compare_cstring (type,t->name)) { | ~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_thread_orderedsubject': mail.c:4924:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4924 | if (compare_cstring (top->sc->subject,s->subject)) { | ~~~~~~~^~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4924:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4924 | if (compare_cstring (top->sc->subject,s->subject)) { | ~^~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_thread_loadcache': mail.c:5246:58: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 5246 | if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) { | ~~^~~~~~ | | | char * mail.c:2953:56: note: expected 'unsigned char *' but argument is of type 'char *' 2953 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ~~~~~~~~~~~~~~~^ mail.c: In function 'mail_sequence': mail.c:5501:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5501 | else if (!(i = strtoul (sequence,(char **) &sequence,10)) || | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:5517:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5517 | else if (!(j = strtoul (sequence,(char **) &sequence,10)) || | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_parse_flags': mail.c:5572:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5572 | if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; | ~^~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5572:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5572 | if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; | ^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5573:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5573 | else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; | ~^~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5573:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5573 | else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5574:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5574 | else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; | ~^~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5574:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5574 | else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5575:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5575 | else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; | ~^~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5575:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5575 | else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5576:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5576 | else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; | ~^~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5576:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5576 | else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; | ^~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5586:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5586 | if (!compare_cstring (t,s)) *uf |= i = 1 << j; | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5586:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5586 | if (!compare_cstring (t,s)) *uf |= i = 1 << j; | ^ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_usable_network_stream': mail.c:5636:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5636 | ((!compare_cstring (smb.host,trustdns ? | ~~~^~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5637:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5636 | ((!compare_cstring (smb.host,trustdns ? | ~~~~~~~~~~ 5637 | (s = tcp_canonical (nmb.host)) : nmb.host) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5642:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5642 | (!compare_cstring (omb.host,nmb.host) && | ~~~^~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5642:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5642 | (!compare_cstring (omb.host,nmb.host) && | ~~~^~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_auth': mail.c:6215:47: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6215 | if (auth->server && !compare_cstring (auth->name,mechanism)) | ~~~~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:6215:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6215 | if (auth->server && !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_lookup_auth_name': mail.c:6248:55: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6248 | !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) | ~~~~^~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:6248:62: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 6248 | !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6493: oauth2_aux.c: In function 'oauth2_json_reply': oauth2_aux.c:112:42: warning: pointer targets in passing argument 1 of 'xoauth2_server' differ in signedness [-Wpointer-sign] 112 | server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); | ~~~~~~~~~~~~~^~~~~~~~~~ | | | unsigned char * oauth2_aux.c:68:28: note: expected 'char *' but argument is of type 'unsigned char *' 68 | char *xoauth2_server(char *server, char *tenant) | ~~~~~~^~~~~~ oauth2_aux.c:114:27: warning: pointer targets in passing argument 1 of 'http_post_param' differ in signedness [-Wpointer-sign] 114 | && ((s = http_post_param(server, params, status)) != NULL)){ | ^~~~~~ | | | char * In file included from oauth2_aux.c:23, from mail.c:6493: http.h:109:32: note: expected 'unsigned char *' but argument is of type 'char *' 109 | unsigned char *http_post_param(unsigned char *, HTTP_PARAM_S *, int *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c: In function 'mm_login_oauth2_c_client_method': oauth2_aux.c:161:29: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 161 | jx = json_body_value(json, "device_code"); | ^~~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:163:36: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 163 | oauth2->devicecode.device_code = cpystr((char *) jx->value); | ^ oauth2_aux.c:165:29: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 165 | jx = json_body_value(json, "user_code"); | ^~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:167:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 167 | oauth2->devicecode.user_code = cpystr((char *) jx->value); | ^ oauth2_aux.c:169:29: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 169 | jx = json_body_value(json, "verification_uri"); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:173:33: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 173 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:174:5: warning: enumeration value 'JValue' not handled in switch [-Wswitch] 174 | switch(jx->jtype){ | ^~~~~~ oauth2_aux.c:174:5: warning: enumeration value 'JDecimal' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JExponential' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JNumberError' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JObject' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JArray' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JBoolean' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JNull' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JEnd' not handled in switch [-Wswitch] oauth2_aux.c:181:33: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 181 | if((jx = json_body_value(json, "interval")) != NULL) | ^~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:182:5: warning: enumeration value 'JValue' not handled in switch [-Wswitch] 182 | switch(jx->jtype){ | ^~~~~~ oauth2_aux.c:182:5: warning: enumeration value 'JDecimal' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JExponential' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JNumberError' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JObject' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JArray' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JBoolean' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JNull' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JEnd' not handled in switch [-Wswitch] oauth2_aux.c:189:29: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 189 | jx = json_body_value(json, "message"); | ^~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:191:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 191 | oauth2->devicecode.message = cpystr((char *) jx->value); | ^ oauth2_aux.c:215:46: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 215 | case HTTP_OK: jx = json_body_value(json, "access_token"); | ^~~~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:219:36: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 219 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:220:5: warning: enumeration value 'JValue' not handled in switch [-Wswitch] 220 | switch(jx->jtype){ | ^~~~~~ oauth2_aux.c:220:5: warning: enumeration value 'JDecimal' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JExponential' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JNumberError' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JObject' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JArray' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JBoolean' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JNull' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JEnd' not handled in switch [-Wswitch] oauth2_aux.c:251:45: warning: pointer targets in passing argument 1 of 'xoauth2_server' differ in signedness [-Wpointer-sign] 251 | char *server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); | ~~~~~~~~~~~~~^~~~~~~~~~ | | | unsigned char * oauth2_aux.c:68:28: note: expected 'char *' but argument is of type 'unsigned char *' 68 | char *xoauth2_server(char *server, char *tenant) | ~~~~~~^~~~~~ oauth2_aux.c:252:33: warning: pointer targets in passing argument 1 of 'http_get_param_url' differ in signedness [-Wpointer-sign] 252 | char *url = http_get_param_url(server, params); | ^~~~~~ | | | char * In file included from oauth2_aux.c:23, from mail.c:6493: http.h:119:35: note: expected 'unsigned char *' but argument is of type 'char *' 119 | unsigned char *http_get_param_url(unsigned char *, HTTP_PARAM_S *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:252:14: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 252 | char *url = http_get_param_url(server, params); | ^~~~~~~~~~~~~~~~~~ oauth2_aux.c:257:44: warning: pointer targets in passing argument 1 of 'ogac' differ in signedness [-Wpointer-sign] 257 | oauth2->param[OA2_Code].value = (*ogac)(url, method, oauth2, tryanother); | ^~~ | | | char * oauth2_aux.c:257:44: note: expected 'unsigned char *' but argument is of type 'char *' oauth2_aux.c:269:49: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 269 | case HTTP_OK : jx = json_body_value(json, "refresh_token"); | ^~~~~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:273:36: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 273 | jx = json_body_value(json, "access_token"); | ^~~~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:277:40: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 277 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:278:9: warning: enumeration value 'JValue' not handled in switch [-Wswitch] 278 | switch(jx->jtype){ | ^~~~~~ oauth2_aux.c:278:9: warning: enumeration value 'JDecimal' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JExponential' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JNumberError' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JObject' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JArray' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JBoolean' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JNull' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JEnd' not handled in switch [-Wswitch] oauth2_aux.c:285:36: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 285 | jx = json_body_value(json, "expires_in"); | ^~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:131:10: warning: unused variable 's' [-Wunused-variable] 131 | char *s = NULL; | ^ oauth2_aux.c: In function 'oauth2deviceinfo_get_accesscode': oauth2_aux.c:318:56: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 318 | oauth2->param[OA2_DeviceCode].value = cpystr(dcode->device_code); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from c-client.h:48, from mail.c:30: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from mail.c:6493: oauth2_aux.c:328:45: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 328 | case HTTP_BAD : jx = json_body_value(json, "error"); | ^~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:334:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 334 | if(compare_cstring(error, "authorization_pending") == 0) | ^~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6493: oauth2_aux.c:334:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 334 | if(compare_cstring(error, "authorization_pending") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6493: oauth2_aux.c:336:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 336 | else if(compare_cstring(error, "authorization_declined") == 0) | ^~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6493: oauth2_aux.c:336:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 336 | else if(compare_cstring(error, "authorization_declined") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6493: oauth2_aux.c:338:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 338 | else if(compare_cstring(error, "bad_verification_code") == 0) | ^~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6493: oauth2_aux.c:338:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 338 | else if(compare_cstring(error, "bad_verification_code") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6493: oauth2_aux.c:340:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 340 | else if(compare_cstring(error, "expired_token") == 0) | ^~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6493: oauth2_aux.c:340:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 340 | else if(compare_cstring(error, "expired_token") == 0) | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from mail.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6493: oauth2_aux.c:347:45: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 347 | case HTTP_OK : jx = json_body_value(json, "refresh_token"); | ^~~~~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:351:31: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 351 | jx = json_body_value(json, "access_token"); | ^~~~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:355:35: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] 355 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:35: note: expected 'unsigned char *' but argument is of type 'char *' 29 | JSON_X *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:356:6: warning: enumeration value 'JValue' not handled in switch [-Wswitch] 356 | switch(jx->jtype){ | ^~~~~~ oauth2_aux.c:356:6: warning: enumeration value 'JDecimal' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JExponential' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JNumberError' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JObject' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JArray' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JBoolean' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JNull' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JEnd' not handled in switch [-Wswitch] oauth2_aux.c:314:7: warning: unused variable 'done' [-Wunused-variable] 314 | int done = 0, status, rv; | ^~~~ oauth2_aux.c: In function 'copy_xoauth2_info': oauth2_aux.c:407:33: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 407 | if(x->name) y->name = cpystr(x->name); | ~^~~~~~ | | | unsigned char * In file included from c-client.h:48, from mail.c:30: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from mail.c:6493: oauth2_aux.c:407:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 407 | if(x->name) y->name = cpystr(x->name); | ^ misc.c: In function 'compare_csizedtext': misc.c:488:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 488 | for (s = (char *) s2->data,j = s2->size; *s1 && j; ++s1,++s,--j) | ^ newsrc.c: In function 'newsrc_lsub': newsrc.c:173:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 173 | if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ newsrc.c:173:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 173 | if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ newsrc.c:176:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 176 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ newsrc.c:176:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 176 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ smanager.c: In function 'sm_subscribe': smanager.c:42:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 42 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from c-client.h:48, from smanager.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smanager.c:42:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 42 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from c-client.h:48, from smanager.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smanager.c: In function 'sm_unsubscribe': smanager.c:75:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 75 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from c-client.h:48, from smanager.c:30: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smanager.c:75:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 75 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from c-client.h:48, from smanager.c:30: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:112:39: warning: missing braces around initializer [-Wmissing-braces] 112 | static const CHARSET utf8_csvalid[] = { | ^ utf8.c:345:38: warning: missing braces around initializer [-Wmissing-braces] 345 | static const SCRIPT utf8_scvalid[] = { | ^ utf8.c: In function 'utf8_script': utf8.c:381:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 381 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ^~~~~~ | | | char * In file included from c-client.h:48, from utf8.c:29: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:381:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 381 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ~~~~~~~~~~~~~~~^~~~~ | | | char * const In file included from c-client.h:48, from utf8.c:29: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char * const' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_charset': utf8.c:398:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 398 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ^~~~~~~ | | | char * In file included from c-client.h:48, from utf8.c:29: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:398:52: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 398 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ~~~~~~~~~~~~~~~^~~~~ | | | char * const In file included from c-client.h:48, from utf8.c:29: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char * const' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_cstext': utf8.c:584:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 584 | short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~ | | | char * In file included from c-client.h:48, from utf8.c:29: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:584:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 584 | short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from utf8.c:29: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_cstocstext': utf8.c:611:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 611 | !compare_cstring (dcs->name,"ISO-2022-JP"))) ? | ~~~^~~~~~ | | | char * const In file included from c-client.h:48, from utf8.c:29: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char * const' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:611:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 611 | !compare_cstring (dcs->name,"ISO-2022-JP"))) ? | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from utf8.c:29: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_rmap': utf8.c:645:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 645 | return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : | ^~~~~~~ | | | char * In file included from c-client.h:48, from utf8.c:29: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:645:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 645 | return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : | ~~~~~~~~~^~~~~~ | | | char * const In file included from c-client.h:48, from utf8.c:29: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char * const' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_csvalidmap': utf8.c:1321:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1321 | if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; | ^ | | | char * In file included from c-client.h:48, from utf8.c:29: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:1321:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1321 | if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from utf8.c:29: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'ucs4_decompose': utf8.c:2529:10: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] 2529 | return ret; | ^~~ utf8aux.c: In function 'utf8_from_mutf7': utf8aux.c:413:24: warning: pointer targets in passing argument 1 of 'mail_utf7_valid' differ in signedness [-Wpointer-sign] 413 | if (mail_utf7_valid (src)) return NIL; | ^~~ | | | unsigned char * In file included from c-client.h:41, from utf8aux.c:32: mail.h:1716:30: note: expected 'char *' but argument is of type 'unsigned char *' 1716 | char *mail_utf7_valid (char *mailbox); | ~~~~~~^~~~~~~ utf8aux.c:418:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 418 | for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { | ^~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from utf8aux.c:32: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ utf8aux.c:418:26: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] 418 | for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { | ^~~ | | | unsigned char * In file included from c-client.h:48, from utf8aux.c:32: misc.h:85:36: note: expected 'char *' but argument is of type 'unsigned char *' 85 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ~~~~~~^~~~ utf8aux.c:418:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 418 | for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { | ^ dummy.c: In function 'dummy_valid': dummy.c:128:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 128 | else if (!compare_cstring (rname,"INBOX")) return &dummydriver; | ^~~~~ | | | char * In file included from dummy.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:128:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 128 | else if (!compare_cstring (rname,"INBOX")) return &dummydriver; | ^~~~~~~ | | | char * In file included from dummy.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_scan': dummy.c:190:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 190 | if (pmatch ("INBOX",ucase (test))) { | ^~~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ dummy.c:190:17: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 190 | if (pmatch ("INBOX",ucase (test))) { | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c: In function 'dummy_lsub': dummy.c:229:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 229 | if (!compare_cstring (s,"INBOX") && | ^ | | | char * In file included from dummy.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:229:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 229 | if (!compare_cstring (s,"INBOX") && | ^~~~~~~ | | | char * In file included from dummy.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:230:27: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 230 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ dummy.c:230:12: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 230 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:232:29: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 232 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:232:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 232 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:235:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 235 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:235:21: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 235 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c: In function 'dummy_list_work': dummy.c:296:39: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 296 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:296:43: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 296 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from dummy.c:36: dummy.c:296:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 296 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from dummy.c:36: dummy.c:296:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 296 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~~~~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:310:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 310 | if ((pmatch_full (strcpy (path,tmp),pat,'/') || | ^~~~~~~~~~~~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:310:38: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 310 | if ((pmatch_full (strcpy (path,tmp),pat,'/') || | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:311:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 311 | pmatch_full (strcat (path,"/"),pat,'/') || | ^~~~~~~~~~~~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:311:38: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 311 | pmatch_full (strcat (path,"/"),pat,'/') || | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:312:15: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] 312 | dmatch (path,pat,'/')) && | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:30:29: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:312:20: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] 312 | dmatch (path,pat,'/')) && | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:30:46: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from dummy.c:36: dummy.c:321:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 321 | if (!pmatch (tmp,"INBOX")) { | ^~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from dummy.c:36: dummy.c:321:23: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 321 | if (!pmatch (tmp,"INBOX")) { | ^~~~~~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:322:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 322 | if (pmatch_full (tmp,pat,'/')) { | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:322:29: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 322 | if (pmatch_full (tmp,pat,'/')) { | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:327:30: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 327 | else if (pmatch_full (path,pat,'/') && | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:327:35: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 327 | else if (pmatch_full (path,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:331:18: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] 331 | if (dmatch (path,pat,'/') && | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:30:29: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:331:23: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] 331 | if (dmatch (path,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:30:46: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:337:23: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 337 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:337:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 337 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:337:56: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 337 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ | | | char * In file included from dummy.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:337:60: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 337 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~~~~~ | | | char * In file included from dummy.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_create': dummy.c:464:12: warning: implicit declaration of function 'maildir_create'; did you mean 'mail_create'? [-Wimplicit-function-declaration] 464 | return maildir_create(stream, mailbox); | ^~~~~~~~~~~~~~ | mail_create dummy.c:466:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 466 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ | | | char * In file included from dummy.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:466:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 466 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ | | | char * In file included from dummy.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_delete': dummy.c:531:5: warning: implicit declaration of function 'is_valid_maildir' [-Wimplicit-function-declaration] 531 | || is_valid_maildir(&mailbox)){ | ^~~~~~~~~~~~~~~~ dummy.c:536:13: warning: implicit declaration of function 'maildir_delete'; did you mean 'mail_delete'? [-Wimplicit-function-declaration] 536 | return maildir_delete(stream, tmp); | ^~~~~~~~~~~~~~ | mail_delete dummy.c: In function 'dummy_rename': dummy.c:595:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 595 | if (!compare_cstring (rold,"INBOX") && stat (oldname,&sbuf)) | ^~~~ | | | char * In file included from dummy.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:595:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 595 | if (!compare_cstring (rold,"INBOX") && stat (oldname,&sbuf)) | ^~~~~~~ | | | char * In file included from dummy.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_open': dummy.c:626:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 626 | if (compare_cstring (stream->mailbox,"INBOX")) | ~~~~~~^~~~~~~~~ | | | char * In file included from dummy.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:626:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 626 | if (compare_cstring (stream->mailbox,"INBOX")) | ^~~~~~~ | | | char * In file included from dummy.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_copy': dummy.c:733:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 733 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from dummy.c:31: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ dummy.c:734:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 734 | mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); | ^~~~~~~~ | | | char * In file included from dummy.c:31: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ dummy.c: In function 'dummy_append': dummy.c:755:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 755 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from dummy.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:755:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 755 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from dummy.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:757:23: warning: operation on 'ts' may be undefined [-Wsequence-point] 757 | if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_scan_contents': dummy.c:389:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 389 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from dummy.c:27: In function 'sprintf', inlined from 'dummy_delete' at dummy.c:539:5: /usr/include/bits/stdio2.h:38:10: warning: '%.80s' directive argument is null [-Wformat-overflow=] 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdstring.c: In function 'fd_string_setpos': fdstring.c:97:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | read ((long) s->data,s->curpos,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdstring.c: In function 'fd_string_init': fdstring.c:67:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | read (d->fd,s->chunk,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.c: In function 'rfc822_parse_msg_full': rfc822.c:163:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 163 | ucase (tmp); /* coerce to uppercase */ | ^~~ | | | char * In file included from c-client.h:48, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:202:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 202 | if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d); | ^ rfc822.c:134:8: warning: unused variable 'PathP' [-Wunused-variable] 134 | long PathP = NIL; /* flag that a Path: was seen */ | ^~~~~ rfc822.c: In function 'rfc822_parse_content': rfc822.c:379:37: warning: pointer targets in passing argument 1 of 'rfc822_base64' differ in signedness [-Wpointer-sign] 379 | s1 = (char *) rfc822_base64 (s, strlen(s), &k); | ^ | | | char * In file included from c-client.h:43, from rfc822.c:37: rfc822.h:102:37: note: expected 'unsigned char *' but argument is of type 'char *' 102 | void *rfc822_base64 (unsigned char *src,unsigned long srcl,unsigned long *len); | ~~~~~~~~~~~~~~~^~~ rfc822.c:555:56: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 555 | rfc822_parse_content_header (&part->body,ucase (s1+8),s); | ~~^~ | | | char * In file included from c-client.h:48, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:555:47: warning: pointer targets in passing argument 2 of 'rfc822_parse_content_header' differ in signedness [-Wpointer-sign] 555 | rfc822_parse_content_header (&part->body,ucase (s1+8),s); | ^~~~~~~~~~~~ | | | unsigned char * In file included from c-client.h:43, from rfc822.c:37: rfc822.h:64:52: note: expected 'char *' but argument is of type 'unsigned char *' 64 | void rfc822_parse_content_header (BODY *body,char *name,char *s); | ~~~~~~^~~~ rfc822.c: In function 'rfc822_parse_content_header': rfc822.c:626:39: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 626 | body->disposition.type = ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:626:30: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 626 | body->disposition.type = ucase (cpystr (s)); | ^ rfc822.c:640:44: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 640 | stl->text.data = (unsigned char *) ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:667:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 667 | compare_cstring (s,body_types[i]); i++); | ^ | | | char * In file included from c-client.h:48, from rfc822.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ rfc822.c:667:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 667 | compare_cstring (s,body_types[i]); i++); | ~~~~~~~~~~^~~ | | | char * In file included from c-client.h:48, from rfc822.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ rfc822.c:678:36: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 678 | body_types[body->type] = ucase (s); | ^ | | | char * In file included from c-client.h:48, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:678:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 678 | body_types[body->type] = ucase (s); | ^ rfc822.c:690:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 690 | if (s) body->subtype = ucase (rfc822_cpy (s)); | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:690:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 690 | if (s) body->subtype = ucase (rfc822_cpy (s)); | ^ rfc822.c:708:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 708 | compare_cstring (s,body_encodings[i]); i++); | ^ | | | char * In file included from c-client.h:48, from rfc822.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ rfc822.c:708:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 708 | compare_cstring (s,body_encodings[i]); i++); | ~~~~~~~~~~~~~~^~~ | | | char * In file included from c-client.h:48, from rfc822.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ rfc822.c:719:44: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 719 | body_encodings[body->encoding] = ucase (s); | ^ | | | char * In file included from c-client.h:48, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:719:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 719 | body_encodings[body->encoding] = ucase (s); | ^ rfc822.c: In function 'rfc822_parse_parameter': rfc822.c:752:33: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 752 | param->attribute = ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from rfc822.c:37: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:752:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 752 | param->attribute = ucase (cpystr (s)); | ^ rfc822.c: In function 'rfc822_output_header': rfc822.c:1528:48: warning: pointer targets in passing argument 4 of 'rfc822_output_header_line' differ in signedness [-Wpointer-sign] 1528 | rfc822_output_header_line (buf,"Date",i,env->date) && | ~~~^~~~~~ | | | unsigned char * In file included from c-client.h:43, from rfc822.c:37: rfc822.h:89:11: note: expected 'char *' but argument is of type 'unsigned char *' 89 | char *text); | ~~~~~~^~~~ rfc822.c: In function 'rfc822_output': rfc822.c:2409:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 2409 | char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ | ^~~ nntp.c: In function 'nntp_list': nntp.c:366:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 366 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ nntp.c:366:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 366 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ nntp.c:369:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 369 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ nntp.c:369:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 369 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from c-client.h:48, from nntp.c:31: nntp.c: In function 'nntp_lsub': nntp.c:401:74: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 401 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:48, from nntp.c:31: nntp.c:401:76: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 401 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ nntp.c: In function 'nntp_status': nntp.c:571:24: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] 571 | newsrc_check_uid (state,k,&status.recent,&status.unseen); | ^~~~~ | | | char * In file included from nntp.c:32: newsrc.h:42:39: note: expected 'unsigned char *' but argument is of type 'char *' 42 | void newsrc_check_uid (unsigned char *state,unsigned long uid, | ~~~~~~~~~~~~~~~^~~~~ nntp.c:580:20: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] 580 | newsrc_check_uid (state,i++,&status.recent,&status.unseen); | ^~~~~ | | | char * In file included from nntp.c:32: newsrc.h:42:39: note: expected 'unsigned char *' but argument is of type 'char *' 42 | void newsrc_check_uid (unsigned char *state,unsigned long uid, | ~~~~~~~~~~~~~~~^~~~~ nntp.c: In function 'nntp_mopen': nntp.c:752:12: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 752 | lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 753 | net_host (nstream->netstream) : mb.host)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from nntp.c:31: misc.h:83:38: note: expected 'unsigned char *' but argument is of type 'char *' 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function 'nntp_fetchfast': nntp.c:875:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 875 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c:876:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 876 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c: In function 'nntp_flags': nntp.c:918:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 918 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c:918:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 918 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c: In function 'nntp_over': nntp.c:1021:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1021 | while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ | ^ nntp.c:1021:72: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1021 | while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from nntp.c:31: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ nntp.c: In function 'nntp_parse_overview': nntp.c:1067:45: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1067 | if (!elt->day) mail_parse_date (elt,ov->date); | ~~^~~~~~ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function 'nntp_search_msg': nntp.c:1336:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1336 | (!mail_parse_date (&delt,ov->date) || | ~~^~~~~~ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function 'nntp_sort_loadcache': nntp.c:1553:33: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1553 | if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt); | ^ | | | char * In file included from c-client.h:41, from nntp.c:31: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function 'nntp_extensions': nntp.c:1845:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1845 | if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; | ^ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1845:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1845 | if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1846:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1846 | else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; | ^ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1846:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1846 | else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1847:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1847 | else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; | ^ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1847:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1847 | else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; | ^~~~~ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1848:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1848 | else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; | ^ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1848:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1848 | else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; | ^~~~~ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1849:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1849 | else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; | ^ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1849:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1849 | else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1850:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1850 | else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; | ^ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1850:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1850 | else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1852:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1852 | else if (!compare_cstring (t,"AUTHINFO") && args) { | ^ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1852:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1852 | else if (!compare_cstring (t,"AUTHINFO") && args) { | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1855:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1855 | if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; | ^~~~ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1855:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1855 | if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from nntp.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c: In function 'nntp_mail': nntp.c:1943:23: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 1943 | if ((s = strstr (env->date," (")) != NULL) *s = NIL; | ~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from nntp.c:31: /usr/include/string.h:334:34: note: expected 'const char *' but argument is of type 'unsigned char *' 334 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ nntp.c:1914:8: warning: unused variable 'retry' [-Wunused-variable] 1914 | long retry = NIL; | ^~~~~ nntp.c:1913:8: warning: unused variable 'error' [-Wunused-variable] 1913 | long error = NIL; | ^~~~~ nntp.c: In function 'nntp_mopen': nntp.c:786:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 786 | fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 787 | (size_t) 1,(size_t) k,f); | ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_header': nntp.c:1122:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1122 | fread (elt->private.msg.header.text.data = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1123 | (unsigned char *) fs_get ((size_t) *size + 3), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1124 | (size_t) 1,(size_t) *size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c: In function 'smtp_open_full': smtp.c:164:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 164 | else if (!compare_cstring (mb.service,"submit")) { | ~~^~~~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:164:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 164 | else if (!compare_cstring (mb.service,"submit")) { | ^~~~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:182:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 182 | s = compare_cstring ("localhost",mb.host) ? | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:182:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 182 | s = compare_cstring ("localhost",mb.host) ? | ~~^~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c: In function 'smtp_auth': smtp.c:293:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 293 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:293:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 293 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c: In function 'smtp_ehlo': smtp.c:723:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 723 | if (!compare_cstring (s,"SIZE")) { | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:723:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 723 | if (!compare_cstring (s,"SIZE")) { | ^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:727:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 727 | else if (!compare_cstring (s,"DELIVERBY")) { | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:727:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 727 | else if (!compare_cstring (s,"DELIVERBY")) { | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:731:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 731 | else if (!compare_cstring (s,"ATRN")) { | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:731:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 731 | else if (!compare_cstring (s,"ATRN")) { | ^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:735:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 735 | else if (!compare_cstring (s,"AUTH")) | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:735:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 735 | else if (!compare_cstring (s,"AUTH")) | ^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:741:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 741 | else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:741:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 741 | else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:742:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 742 | else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:742:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 742 | else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:743:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 743 | else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:743:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 743 | else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; | ^~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:744:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 744 | else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:744:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 744 | else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:745:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 745 | else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:745:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 745 | else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:746:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 746 | else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:746:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 746 | else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:747:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 747 | else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:747:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 747 | else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:748:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 748 | else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:748:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 748 | else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:749:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 749 | else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:749:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 749 | else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:750:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 750 | else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:750:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 750 | else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:751:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 751 | else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:751:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 751 | else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:752:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 752 | else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:752:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 752 | else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:753:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 753 | else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:753:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 753 | else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; | ^~~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:754:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 754 | else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:754:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 754 | else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:755:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 755 | else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:755:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 755 | else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:757:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 757 | else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:757:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 757 | else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:758:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 758 | else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; | ^ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:758:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 758 | else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from smtp.c:37: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c: In function 'smtp_auth': smtp.c:349:9: warning: 'authsaved' may be used uninitialized in this function [-Wmaybe-uninitialized] 349 | if(!authsaved) sprintf (tmp, "Client does not support AUTH=%.80s authenticator",mb->auth); | ^ In file included from c-client.h:48, from imap4r1.c:41: imap4r1.c: In function 'imap_lsub': imap4r1.c:524:74: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 524 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from imap4r1.c:41: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:48, from imap4r1.c:41: imap4r1.c:524:76: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 524 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from imap4r1.c:41: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ imap4r1.c: In function 'imap_list_work': imap4r1.c:584:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 584 | if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; | ^~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:584:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 584 | if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; | ^~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:586:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 586 | else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; | ^~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:586:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 586 | else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; | ^~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:598:56: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 598 | strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:599:51: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 599 | !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function 'imap_manage': imap4r1.c:701:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] 701 | if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && | ^~ imap4r1.c:722:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 722 | mm_log (reply->text,ret ? NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_open': imap4r1.c:906:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 906 | if (!reply || strcmp (reply->tag,"*") || | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:907:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 907 | (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:907:44: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 907 | (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:908:31: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 908 | if (reply) mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:912:31: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 912 | preauthed = !strcmp (reply->key,"PREAUTH"); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1047:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1047 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ~~^~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1047:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1047 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1057:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1057 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_rimap': imap4r1.c:1103:61: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1103 | !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1107:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1107 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1107:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1107 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function 'imap_anon': imap4r1.c:1143:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1143 | if (compare_cstring (reply->tag,tag)) { | ^~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1145:70: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1145 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1160:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1160 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_auth': imap4r1.c:1183:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1183 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1183:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1183 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1227:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1227 | else if (compare_cstring (reply->tag,tag)) | ^~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1228:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1228 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1241:24: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 1241 | lsterr = cpystr (reply->text); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imap4r1.c: In function 'imap_login': imap4r1.c:1304:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1304 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_challenge': imap4r1.c:1335:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1335 | !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1340:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1340 | strlen (reply->text),len))) { | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c: In function 'imap_close': imap4r1.c:1409:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1409 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_fast': imap4r1.c:1450:45: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1450 | if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_flags': imap4r1.c:1471:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1471 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_overview': imap4r1.c:1524:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1524 | ov.date = env->date; | ^ imap4r1.c: In function 'imap_structure': imap4r1.c:1572:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1572 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1699:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1699 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1701:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1701 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_msgdata': imap4r1.c:1931:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1931 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1941:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1941 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1950:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1950 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1954:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1954 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_uid': imap4r1.c:2007:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2007 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_msgno': imap4r1.c:2043:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2043 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_flag': imap4r1.c:2084:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2084 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_search': imap4r1.c:2156:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2156 | !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2175:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2175 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2181:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2181 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:2217:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2217 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_sort': imap4r1.c:2280:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2280 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2287:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2287 | if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2296:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2296 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_thread': imap4r1.c:2383:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2383 | if (!compare_cstring (thr->name,type)) | ~~~^~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:2383:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2383 | if (!compare_cstring (thr->name,type)) | ^~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_thread_work': imap4r1.c:2443:44: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2443 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2450:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2450 | if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2458:21: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2458 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_check': imap4r1.c:2482:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2482 | mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_expunge': imap4r1.c:2507:36: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 2507 | else if (mail_sequence (stream,sequence)) { | ^~~~~~~~ | | | char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ imap4r1.c:2535:27: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2535 | if (reply) mm_log (reply->text,ret ? (long) NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_copy': imap4r1.c:2573:65: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 2573 | else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ imap4r1.c:2577:21: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2577 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_append': imap4r1.c:2630:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2630 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_append_referral': imap4r1.c:2693:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2693 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_append_single': imap4r1.c:2723:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 2723 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:2727:44: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2727 | LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); | ^ imap4r1.c:2728:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2728 | LOCAL->reply.key = "BAD"; | ^ imap4r1.c:2729:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2729 | LOCAL->reply.text = "Bad date in append"; | ^ imap4r1.c: In function 'imap_acl_work': imap4r1.c:2925:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2925 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_setquota': imap4r1.c:2949:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2949 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_setid': imap4r1.c:3027:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 3027 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_getquota': imap4r1.c:3051:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 3051 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_getquotaroot': imap4r1.c:3074:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 3074 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_send': imap4r1.c:3111:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3111 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3111:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3111 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3112:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3112 | compare_cstring (cmd,"STORE") && | ^~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3112:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3112 | compare_cstring (cmd,"STORE") && | ^~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3113:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3113 | compare_cstring (cmd,"SEARCH")) ? | ^~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3113:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3113 | compare_cstring (cmd,"SEARCH")) ? | ^~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3266:45: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 3266 | if (!map->date || mail_parse_date (&elt,map->date)) { | ~~~^~~~~~ | | | char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function 'imap_send_literal': imap4r1.c:3392:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3392 | if (strcmp (reply->tag,"+")) {/* prompt for more data? */ | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function 'imap_search_x_gm_ext1': imap4r1.c:3606:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3606 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3612:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 3612 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:3647:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 3647 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_reply': imap4r1.c:3980:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3980 | if (!strcmp (reply->tag,"+")) return reply; | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3982:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3982 | else if (!strcmp (reply->tag,"*")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3987:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3987 | if (tag && !compare_cstring (tag,reply->tag)) return reply; | ^~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_parse_reply': imap4r1.c:4013:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4013 | if (!(LOCAL->reply.line = text)) { | ^ imap4r1.c:4019:43: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] 4019 | if (stream->debug) mm_dlog (LOCAL->reply.line); | ^ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1691:21: note: expected 'char *' but argument is of type 'unsigned char *' 1691 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:4020:50: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4020 | if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:350:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 350 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4020:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4020 | if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { | ^ imap4r1.c:4026:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4026 | if (strcmp (LOCAL->reply.tag,"+")) { | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4028:28: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4028 | if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) { | ^ imap4r1.c:4038:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4038 | if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) | ^ imap4r1.c:4039:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4039 | LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c:4042:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4042 | LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ | ^ imap4r1.c:4043:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4043 | if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) | ^ imap4r1.c:4044:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4044 | LOCAL->reply.text = ""; | ^ imap4r1.c: In function 'imap_fake': imap4r1.c:4064:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4064 | LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); | ^ imap4r1.c:4065:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4065 | LOCAL->reply.key = "NO"; | ^ imap4r1.c:4066:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4066 | LOCAL->reply.text = text; | ^ imap4r1.c: In function 'imap_OK': imap4r1.c:4081:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4081 | if (!strcmp (reply->key,"OK")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4082:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4082 | imap_parse_response (stream,reply->text,NIL,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4086:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4086 | else if (!strcmp (reply->key,"NO")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4087:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4087 | imap_parse_response (stream,reply->text,WARN,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4089:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4089 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4090:40: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4090 | imap_parse_response (stream,reply->text,ERROR,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c: In function 'imap_parse_unsolicited': imap4r1.c:4114:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4114 | msgno = strtoul (reply->key,(char **) &s,10); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4128:31: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4128 | s = ucase (strtok_r (reply->text," ",&r)); | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:350:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 350 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4128:16: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 4128 | s = ucase (strtok_r (reply->text," ",&r)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4129:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4129 | t = strtok_r (NIL,"\n",&r); /* and locate the text after it */ | ^ imap4r1.c:4132:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4132 | if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4134:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4134 | else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4136:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4136 | else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4144:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4144 | else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4144:52: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4144 | else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4155:33: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4155 | while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:350:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 350 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4155:52: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4155 | while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { | ^ imap4r1.c:4159:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 4159 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4159:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4159 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4167:27: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 4167 | mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4173:53: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4173 | LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4214:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4214 | if (!(s = strchr (md.what,']'))) { | ^ imap4r1.c:4216:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4216 | for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); | ^ imap4r1.c:4218:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4218 | if (strncmp (s,"HEADER.FIELDS",13) && | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imap4r1.c:4219:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4219 | (!s[13] || strcmp (s+13,".NOT"))) | ~^~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4229:32: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 4229 | else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; | ~~^~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4229:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4229 | else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; | ^ imap4r1.c:4234:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4234 | md.first = strtoul (s+1,(char **) &s,10) + 1; | ~^~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4277:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4277 | elt->rfc822_size = strtoul (t,(char **) &t,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4313:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4313 | else if (strcmp (s,"COPY")) { | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4320:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4320 | else if (!strcmp (reply->key,"FLAGS") && reply->text && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4322:31: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4322 | (s = strtok_r (reply->text+1," )",&r))) | ~~~~~~~~~~~^~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:350:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 350 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4322:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4322 | (s = strtok_r (reply->text+1," )",&r))) | ^ imap4r1.c:4325:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4325 | compare_cstring (s,stream->user_flags[i]); i++); | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4331:74: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 4331 | else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); | ^ | | | unsigned char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imap4r1.c:4333:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4333 | while ((s = strtok_r (NIL," )",&r)) != NULL); | ^ imap4r1.c:4334:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4334 | else if (!strcmp (reply->key,"SEARCH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4336:44: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4336 | if (reply->text && (t = strtok_r (reply->text," ",&r))) do | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:350:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 350 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4336:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4336 | if (reply->text && (t = strtok_r (reply->text," ",&r))) do | ^ imap4r1.c:4337:25: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4337 | if ((i = strtoul (t,NIL,10)) != 0L) { | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4346:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4346 | } while ((t = strtok_r (NIL," ",&r)) != NULL); | ^ imap4r1.c:4348:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4348 | else if (!strcmp (reply->key,"SORT")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4356:44: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4356 | if (reply->text && (t = strtok_r (reply->text," ",&r))) { | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:350:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 350 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4356:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4356 | if (reply->text && (t = strtok_r (reply->text," ",&r))) { | ^ imap4r1.c:4357:25: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] 4357 | do if ((i = atol (t)) && (LOCAL->filter ? | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/stdlib.h:366:1: note: expected 'const char *' but argument is of type 'unsigned char *' 366 | __NTH (atol (const char *__nptr)) | ^~~~~ imap4r1.c:4360:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4360 | while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs)); | ^ imap4r1.c:4366:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4366 | else if (!strcmp (reply->key,"THREAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4381:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4381 | else if (!strcmp (reply->key,"STATUS") && reply->text) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4385:53: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 4385 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4385:43: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4385 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^ imap4r1.c:4391:35: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 4391 | while (*txt && (s = strchr (txt,' '))) { | ^~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4391:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4391 | while (*txt && (s = strchr (txt,' '))) { | ^ imap4r1.c:4394:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4394 | i = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4395:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4395 | if (!compare_cstring (txt,"MESSAGES")) { | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4399:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4399 | else if (!compare_cstring (txt,"RECENT")) { | ^~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4403:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4403 | else if (!compare_cstring (txt,"UNSEEN")) { | ^~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4407:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4407 | else if (!compare_cstring (txt,"UIDNEXT")) { | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4411:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4411 | else if (!compare_cstring (txt,"UIDVALIDITY")) { | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4420:53: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 4420 | strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/string_fortified.h:73:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ imap4r1.c:4428:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4428 | else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4428:58: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4428 | else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4430:23: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 4430 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4430:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4430 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ^ imap4r1.c:4434:35: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 4434 | if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { | ~~~~~~~~~~~^~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:350:41: note: expected 'char * restrict' but argument is of type 'unsigned char *' 350 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4434:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4434 | if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { | ^ imap4r1.c:4435:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4435 | if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4436:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4436 | else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4437:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4437 | else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4438:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4438 | else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4439:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4439 | else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4440:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4440 | else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; | ^~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4441:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4441 | else if (!compare_cstring (t,"\\All")) i |= LATT_ALL; | ^~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4442:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4442 | else if (!compare_cstring (t,"\\Archive")) i |= LATT_ARCHIVE; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4443:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4443 | else if (!compare_cstring (t,"\\Drafts")) i |= LATT_DRAFTS; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4444:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4444 | else if (!compare_cstring (t,"\\Flagged")) i |= LATT_FLAGGED; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4445:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4445 | else if (!compare_cstring (t,"\\Junk")) i |= LATT_JUNK; | ^~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4446:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4446 | else if (!compare_cstring (t,"\\Sent")) i |= LATT_SENT; | ^~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4447:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4447 | else if (!compare_cstring (t,"\\Trash")) i |= LATT_TRASH; | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4450:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4450 | while ((t = strtok_r (NIL," ",&r)) != NULL); | ^ imap4r1.c:4464:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4464 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ^ imap4r1.c:4464:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 4464 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imap4r1.c:4467:59: warning: pointer targets in passing argument 3 of 'mm_lsub' differ in signedness [-Wpointer-sign] 4467 | if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); | ^ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1688:54: note: expected 'char *' but argument is of type 'unsigned char *' 1688 | void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c:4468:38: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] 4468 | else mm_list (stream,delimiter,s,i); | ^ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1687:54: note: expected 'char *' but argument is of type 'unsigned char *' 1687 | void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c:4472:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4472 | else if (!strcmp (reply->key,"NAMESPACE")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4495:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4495 | else if (!strcmp (reply->key,"ACL") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4501:30: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4501 | do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && | ^ imap4r1.c:4503:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4503 | ac->rights = imap_parse_astring (stream,&s,reply,NIL); | ^ imap4r1.c:4512:34: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] 4512 | else if (ar) (*ar) (stream,t,al); | ^ | | | unsigned char * imap4r1.c:4512:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4516:32: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] 4516 | else if (ar) (*ar) (stream,t,NIL); | ^ | | | unsigned char * imap4r1.c:4516:32: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4520:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4520 | else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4524:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4524 | if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ | ^ imap4r1.c:4526:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4526 | (r = imap_parse_astring (stream,&s,reply,NIL))) { | ^ imap4r1.c:4540:31: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] 4540 | else if (lr) (*lr) (stream,t,id,r,rl); | ^ | | | unsigned char * imap4r1.c:4540:31: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4545:29: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] 4545 | else if (lr) (*lr) (stream,t,id,r,NIL); | ^ | | | unsigned char * imap4r1.c:4545:29: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4563:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4563 | else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4567:34: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4567 | if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { | ^ imap4r1.c:4573:34: warning: pointer targets in passing argument 2 of 'mr' differ in signedness [-Wpointer-sign] 4573 | else if (mr) (*mr) (stream,t,r); | ^ | | | unsigned char * imap4r1.c:4573:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4585:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4585 | else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4596:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4596 | if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && | ^ imap4r1.c:4598:43: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4598 | if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4599:26: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 4599 | else if ((t = strchr (s,' ')) != NULL) t = s; | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4599:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4599 | else if ((t = strchr (s,' ')) != NULL) t = s; | ^ imap4r1.c:4601:45: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4601 | if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4602:29: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 4602 | else if ((t = strpbrk (s," )")) != NULL) t = s; | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ imap4r1.c:4602:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4602 | else if ((t = strpbrk (s," )")) != NULL) t = s; | ^ imap4r1.c:4607:30: warning: pointer targets in passing argument 2 of 'qt' differ in signedness [-Wpointer-sign] 4607 | if (qt) (*qt) (stream,t,ql); | ^ | | | unsigned char * imap4r1.c:4607:30: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4626:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4626 | else if (!strcmp (reply->key,"ID") && (s = reply->text)){ | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4627:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4627 | if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); | ^~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4627:62: warning: pointer targets in passing argument 1 of 'imap_parse_idlist' differ in signedness [-Wpointer-sign] 4627 | if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); | ^ | | | unsigned char * imap4r1.c:2955:34: note: expected 'char *' but argument is of type 'unsigned char *' 2955 | IDLIST *imap_parse_idlist (char *text) | ~~~~~~^~~~ imap4r1.c:4629:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4629 | else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4644:34: warning: pointer targets in passing argument 2 of 'qr' differ in signedness [-Wpointer-sign] 4644 | else if (qr) (*qr) (stream,t,rl); | ^ | | | unsigned char * imap4r1.c:4644:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4655:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4655 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4655:55: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4655 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4656:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4656 | imap_parse_response (stream,reply->text,NIL,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4657:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4657 | else if (!strcmp (reply->key,"NO")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4658:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4658 | imap_parse_response (stream,reply->text,WARN,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4659:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4659 | else if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4660:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4660 | imap_parse_response (stream,reply->text,ERROR,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4661:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4661 | else if (!strcmp (reply->key,"BYE")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4663:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4663 | imap_parse_response (stream,reply->text,BYE,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected 'char *' but argument is of type 'unsigned char *' 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4665:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4665 | else if (!strcmp (reply->key,"CAPABILITY") && reply->text) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4666:42: warning: pointer targets in passing argument 2 of 'imap_parse_capabilities' differ in signedness [-Wpointer-sign] 4666 | imap_parse_capabilities (stream,reply->text); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:275:56: note: expected 'char *' but argument is of type 'unsigned char *' 275 | void imap_parse_capabilities (MAILSTREAM *stream,char *t); | ~~~~~~^ imap4r1.c:4667:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4667 | else if (!strcmp (reply->key,"MAILBOX") && reply->text) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4669:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4669 | ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c:4670:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4670 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ^ imap4r1.c:4670:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 4670 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imap4r1.c:4672:25: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] 4672 | mm_list (stream,NIL,t,NIL); | ^ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1687:54: note: expected 'char *' but argument is of type 'unsigned char *' 1687 | void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c: In function 'imap_parse_response': imap4r1.c:4705:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4705 | if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4705:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4705 | if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4706:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4706 | else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4706:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4706 | else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && | ^~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4714:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4714 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4714:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4714 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4715:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4715 | else if (!compare_cstring (s,"\\Deleted")) | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4715:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4715 | else if (!compare_cstring (s,"\\Deleted")) | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4717:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4717 | else if (!compare_cstring (s,"\\Flagged")) | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4717:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4717 | else if (!compare_cstring (s,"\\Flagged")) | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4719:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4719 | else if (!compare_cstring (s,"\\Answered")) | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4719:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4719 | else if (!compare_cstring (s,"\\Answered")) | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4721:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4721 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4721:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4721 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4729:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4729 | else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4729:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4729 | else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4740:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4740 | else if (!compare_cstring (t,"UIDNEXT")) | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4740:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4740 | else if (!compare_cstring (t,"UIDNEXT")) | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4743:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4743 | !compare_cstring (t,"COPYUID") && | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4743:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4743 | !compare_cstring (t,"COPYUID") && | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4749:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4749 | else if (j && !compare_cstring (t,"APPENDUID") && | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4749:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4749 | else if (j && !compare_cstring (t,"APPENDUID") && | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4756:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4756 | if (!compare_cstring (t,"REFERRAL")) | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4756:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4756 | if (!compare_cstring (t,"REFERRAL")) | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4763:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4763 | if (!compare_cstring (t,"UIDNOTSTICKY")) { | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4763:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4763 | if (!compare_cstring (t,"UIDNOTSTICKY")) { | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4767:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4767 | else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4767:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4767 | else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4768:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4768 | else if (!compare_cstring (t,"READ-WRITE")) | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4768:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4768 | else if (!compare_cstring (t,"READ-WRITE")) | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4770:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4770 | else if (!compare_cstring (t,"PARSE") && !errflg) | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4770:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4770 | else if (!compare_cstring (t,"PARSE") && !errflg) | ^~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_parse_namespace': imap4r1.c:4812:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4812 | nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); | ^ imap4r1.c:4837:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4837 | if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, | ^ imap4r1.c:4849:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4849 | if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, | ^ In file included from imap4r1.c:38: imap4r1.c: In function 'imap_parse_thread': imap4r1.c:4922:29: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4922 | else if (isdigit (*(s = *txtptr)) && | ^ imap4r1.c:4924:12: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4924 | strtoul (*txtptr,(char **) txtptr,10))) { | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function 'imap_parse_envelope': imap4r1.c:5010:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5010 | (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5017:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5017 | (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5019:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5019 | (*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function 'imap_parse_address': imap4r1.c:5117:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5117 | adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5118:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5118 | adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5119:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5119 | adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5120:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5120 | adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function 'imap_parse_flags': imap4r1.c:5217:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5217 | while (*(flag = ++*txtptr) == ' '); | ^ imap4r1.c:5225:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5225 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5225:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5225 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5226:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5226 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5226:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5226 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5227:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5227 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5227:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5227 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5228:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5228 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5228:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5228 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5229:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5229 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5229:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5229 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5230:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5230 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5230:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5230 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_parse_user_flag': imap4r1.c:5258:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5258 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ^~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5258:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5258 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_parse_astring': imap4r1.c:5291:46: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 5291 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ imap4r1.c:5291:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5291 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ imap4r1.c: In function 'imap_parse_string': imap4r1.c:5332:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5332 | if (c) st = ++*txtptr; /* remember start of string */ | ^ imap4r1.c:5387:28: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5387 | else if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) { | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5419:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5419 | if (!(reply->line = net_getline (LOCAL->netstream))) | ^ imap4r1.c:5420:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5420 | reply->line = cpystr (""); | ^ imap4r1.c:5421:38: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] 5421 | if (stream->debug) mm_dlog (reply->line); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1691:21: note: expected 'char *' but argument is of type 'unsigned char *' 1691 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_cache': imap4r1.c:5489:39: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 5489 | if (!(b = mail_body (stream,msgno,seg))) { | ^~~ | | | char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1781:19: note: expected 'unsigned char *' but argument is of type 'char *' 1781 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ imap4r1.c: In function 'imap_parse_body_structure': imap4r1.c:5567:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5567 | if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) | ^ imap4r1.c:5568:13: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 5568 | ucase (body->subtype); | ~~~~^~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5586:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5586 | body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5607:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5607 | if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { | ^ imap4r1.c:5608:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 5608 | ucase (s); /* application always gets uppercase form */ | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5620:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5620 | if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) | ^ imap4r1.c:5621:13: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 5621 | ucase (body->subtype); /* parse subtype */ | ~~~~^~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5628:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5628 | body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5629:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5629 | body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5631:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5631 | if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { | ^ imap4r1.c:5632:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 5632 | ucase (s); /* application always gets uppercase form */ | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5648:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5648 | body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5669:30: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5669 | body->size.lines = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5676:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5676 | body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5689:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5689 | body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function 'imap_parse_body_parameter': imap4r1.c:5736:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5736 | if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5742:22: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5742 | if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ | ^ imap4r1.c:5768:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5768 | ((*(s = *txtptr) == 'I') || (*s == 'i')) && | ^ imap4r1.c: In function 'imap_parse_disposition': imap4r1.c:5792:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5792 | body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c: In function 'imap_parse_language': imap4r1.c:5835:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5835 | else if ((s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) != NULL) { | ^ imap4r1.c: In function 'imap_parse_extension': imap4r1.c:5904:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5904 | if ((i = strtoul (*txtptr,(char **) txtptr,10)) != 0L) do | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5909:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5909 | if (!(reply->line = net_getline (LOCAL->netstream))) | ^ imap4r1.c:5910:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5910 | reply->line = cpystr (""); | ^ imap4r1.c:5911:38: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] 5911 | if (stream->debug) mm_dlog (reply->line); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41, from imap4r1.c:41: mail.h:1691:21: note: expected 'char *' but argument is of type 'unsigned char *' 1691 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:5916:14: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5916 | strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function 'imap_parse_capabilities': imap4r1.c:5950:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5950 | if (!compare_cstring (t,"IMAP4")) | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5950:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5950 | if (!compare_cstring (t,"IMAP4")) | ^~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5952:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5952 | else if (!compare_cstring (t,"IMAP4rev1")) | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5952:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5952 | else if (!compare_cstring (t,"IMAP4rev1")) | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5954:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5954 | else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5954:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5954 | else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5955:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5955 | else if (!compare_cstring (t,"IMAP2bis")) | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5955:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5955 | else if (!compare_cstring (t,"IMAP2bis")) | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5957:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5957 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5957:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5957 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5958:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5958 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5958:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5958 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5959:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5959 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5959:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5959 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5960:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5960 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5960:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5960 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5961:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5961 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5961:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5961 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5962:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5962 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5962:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5962 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5963:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5963 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5963:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5963 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5964:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5964 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5964:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5964 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5965:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5965 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5965:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5965 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5966:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5966 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5966:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5966 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5967:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5967 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5967:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5967 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5968:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5968 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5968:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5968 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5969:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5969 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5969:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5969 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5970:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5970 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5970:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5970 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5971:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5971 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5971:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5971 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5972:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5972 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5972:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5972 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5973:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5973 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5973:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5973 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5974:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5974 | else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5974:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5974 | else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5975:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5975 | else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5975:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5975 | else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5976:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5976 | else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5976:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5976 | else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5977:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5977 | else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5977:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5977 | else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5978:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5978 | else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5978:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5978 | else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5986:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5986 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5986:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5986 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5993:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5993 | else if (!compare_cstring (t,"AUTH")) { | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5993:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5993 | else if (!compare_cstring (t,"AUTH")) { | ^~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5996:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5996 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5996:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5996 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^~~~~~~~~~~ | | | char * In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_auth': imap4r1.c:1255:8: warning: 'uasaved' may be used uninitialized in this function [-Wmaybe-uninitialized] 1255 | if(!uasaved) sprintf (tmp,"Client does not support AUTH=%.80s authenticator",mb->auth); | ^ http.c: In function 'http_response_from_reply': http.c:143:23: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 143 | s = strstr(stream->reply, "\r\n\r\n"); | ~~~~~~^~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:334:34: note: expected 'const char *' but argument is of type 'unsigned char *' 334 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ http.c:143:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 143 | s = strstr(stream->reply, "\r\n\r\n"); | ^ http.c:149:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 149 | if(!compare_cstring(p->vp->value, "chunked")) | ~~~~~^~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:149:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 149 | if(!compare_cstring(p->vp->value, "chunked")) | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:153:30: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 153 | if((s = strstr(stream->reply, "\r\n\r\n")) != NULL | ~~~~~~^~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:334:34: note: expected 'const char *' but argument is of type 'unsigned char *' 334 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ http.c:153:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 153 | if((s = strstr(stream->reply, "\r\n\r\n")) != NULL | ^ http.c:154:23: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 154 | && (t = strstr(s + 4, "\r\n")) != NULL) | ~~^~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:334:34: note: expected 'const char *' but argument is of type 'unsigned char *' 334 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ http.c:154:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 154 | && (t = strstr(s + 4, "\r\n")) != NULL) | ^ http.c: In function 'http_add_data_to_header': http.c:378:36: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 378 | if(h->data) buffer_add(&h->data, ", "); | ^~~~ | | | char * http.c:103:35: note: expected 'unsigned char *' but argument is of type 'char *' 103 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: In function 'http_add_header_data': http.c:398:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 398 | if((h = strchr(hdata, ':'))){ | ^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:398:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 398 | if((h = strchr(hdata, ':'))){ | ^ http.c:401:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 401 | strncpy(hname, hdata, h-hdata); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ http.c:401:20: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 401 | strncpy(hname, hdata, h-hdata); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ http.c:120:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 120 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:403:9: note: in expansion of macro 'valid_token_name' 403 | if(!valid_token_name(hname)) | ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:413:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 413 | case 'a': if(!compare_cstring(hname+1, "ccept:")) /* RFC 7231, Section 5.3.2 */ | ^~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:415:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 415 | else if(!compare_cstring(hname+1, "ccept-charset:")) /* RFC 7231, Section 5.3.3 */ | ^~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:417:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 417 | else if(!compare_cstring(hname+1, "ccept-encoding:")) /* RFC 7231, Section 5.3.4 */ | ^~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:419:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 419 | else if(!compare_cstring(hname+1, "ccept-language:")) /* RFC 7231, Section 5.3.5 */ | ^~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:421:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 421 | else if(!compare_cstring(hname+1, "ccept-ranges:")) /* RFC 7233, Section 2.3 */ | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:423:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 423 | else if(!compare_cstring(hname+1, "ge:")) /* RFC 7234, Section 5.1 */ | ^~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:425:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 425 | else if(!compare_cstring(hname+1, "llow:")) /* RFC 7231, Section 7.4.1 */ | ^~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:431:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 431 | case 'c': if(!compare_cstring(hname+1, "ache-control:")) /* RFC 7234, Section 5.2 */ | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:433:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 433 | else if(!compare_cstring(hname+1, "onnection:")) /* RFC 7230, Section 6.1 */ | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:435:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 435 | else if(!compare_cstring(hname+1, "ontent-disposition:")) /* RFC 6266 */ | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:437:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 437 | else if(!compare_cstring(hname+1, "ontent-encoding:")) /* RFC 7231, Section 3.1.2.2 */ | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:439:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 439 | else if(!compare_cstring(hname+1, "ontent-language:")) /* RFC 7231, Section 3.1.3.2 */ | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:441:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 441 | else if(!compare_cstring(hname+1, "ontent-length:")) /* RFC 7230, Section 3.3.2 */ | ^~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:443:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 443 | else if(!compare_cstring(hname+1, "ontent-location:")) /* RFC 7231, Section 3.1.4.2 */ | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:445:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 445 | else if(!compare_cstring(hname+1, "ontent-type:")) /* RFC 7231, Section 3.1.1.5 */ | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:451:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 451 | case 'd': if(!compare_cstring(hname+1, "ate:")) /* RFC 7231, Section 7.1.1.2 */ | ^~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:457:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 457 | case 'e': if(!compare_cstring(hname+1, "tag:")) /* RFC 7232, Section 2.3 */ | ^~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:459:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 459 | else if(!compare_cstring(hname+1, "xpect:")) /* RFC 7231, Section 5.1.1 */ | ^~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:461:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 461 | else if(!compare_cstring(hname+1, "xpires:")) /* RFC 7234, Section 5.3 */ | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:467:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 467 | case 'f': if(!compare_cstring(hname+1, "rom:")) /* RFC 7231, Section 5.5.1 */ | ^~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:473:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 473 | case 'h': if(!compare_cstring(hname+1, "ost:")) /* RFC 7230, Section 5.4 */ | ^~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:479:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 479 | case 'l': if(!compare_cstring(hname+1, "ast-modified:")) /* RFC 7232, Section 2.2 */ | ^~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:481:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 481 | else if(!compare_cstring(hname+1, "ocation:")) /* RFC 7231, Section 7.1.2 */ | ^~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:487:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 487 | case 'm': if(!compare_cstring(hname+1, "ax-forwards:")) /* RFC 7231, Section 5.1.2 */ | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:489:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 489 | else if(!compare_cstring(hname+1, "ime-version:")) /* RFC 7231, Appendix A.1 */ | ^~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:495:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 495 | case 'p': if(!compare_cstring(hname+1, "ragma:")) /* RFC 7234, Section 5.4 */ | ^~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:497:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 497 | else if(!compare_cstring(hname+1, "roxy-authenticate:")) /* RFC 7235, Section 4.3 */ | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:503:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 503 | case 'r': if(!compare_cstring(hname+1, "eferer:")) /* RFC 7231, Section 5.5.2 */ | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:505:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 505 | else if(!compare_cstring(hname+1, "etry-after:")) /* RFC 7231, Section 7.1.3 */ | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:511:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 511 | case 's': if(!compare_cstring(hname+1, "erver:")) /* RFC 7231, Section 7.4.2 */ | ^~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:517:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 517 | case 't': if(!compare_cstring(hname+1, "e:")) /* RFC 7230, Section 4.3 */ | ^~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:519:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 519 | else if(!compare_cstring(hname+1, "railer:")) /* RFC 7230, Section 4.4 */ | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:521:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 521 | else if(!compare_cstring(hname+1, "ransfer-encoding:")) /* RFC 7230, Section 3.3.1 */ | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:528:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 528 | case 'u': if(!compare_cstring(hname+1, "pgrade:")) /* RFC 7230, Section 6.7 */ | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:530:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 530 | else if(!compare_cstring(hname+1, "ser-agent:")) /* RFC 7231, Section 5.5.3 */ | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:536:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 536 | case 'v': if(!compare_cstring(hname+1, "ia:")) /* RFC 7230, Section 5.7.1 */ | ^~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:538:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 538 | else if(!compare_cstring(hname+1, "ary:")) /* RFC 7231, Section 7.1.4 */ | ^~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:544:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 544 | case 'w': if(!compare_cstring(hname+1, "arning:")) /* RFC 7234, Section 5.5 */ | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:546:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 546 | else if(!compare_cstring(hname+1, "ww-authenticate:")) /* RFC 7235, Section 4.1 */ | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:387:7: warning: variable 'found' set but not used [-Wunused-but-set-variable] 387 | int found = 1; | ^~~~~ http.c: In function 'http_parse_token_list': http.c:120:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 120 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:573:7: note: in expansion of macro 'valid_token_name' 573 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:581:26: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 581 | rv->vp->value = cpystr(s); | ^ | | | unsigned char * In file included from c-client.h:48, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function 'http_parse_token_parameter': http.c:120:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 120 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:622:7: note: in expansion of macro 'valid_token_name' 622 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:635:26: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 635 | rv->vp->value = cpystr(s); | ^ | | | unsigned char * In file included from c-client.h:48, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function 'valid_dquote_text': http.c:653:15: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 653 | t = strchr(s+1, '\"'); | ~^~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:653:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 653 | t = strchr(s+1, '\"'); | ^ http.c: In function 'http_remove_trailing_ows': http.c:670:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 670 | for(t = s; strlen(t) > 0 ;) | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:671:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 671 | if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:671:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 671 | if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:672:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 672 | t[strlen(t)-1] = '\0'; | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c: In function 'http_parse_parameter': http.c:693:14: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 693 | u = strchr(s, '='); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:693:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 693 | u = strchr(s, '='); | ^ http.c:120:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 120 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:698:9: note: in expansion of macro 'valid_token_name' 698 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:698:56: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 698 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^ | | | unsigned char * http.c:120:40: note: in definition of macro 'valid_token_name' 120 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^ http.c:698:33: note: in expansion of macro 'valid_parameter_value' 698 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^~~~~~~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:701:27: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 701 | p->attribute = cpystr(s); | ^ | | | unsigned char * In file included from c-client.h:48, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c:702:24: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 702 | p->value = cpystr(u+1); | ~^~ | | | unsigned char * In file included from c-client.h:48, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c:120:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 120 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:711:9: note: in expansion of macro 'valid_token_name' 711 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:714:27: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 714 | p->attribute = cpystr(s); | ^ | | | unsigned char * In file included from c-client.h:48, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function 'http_get_param_url': http.c:731:51: warning: pointer targets in passing argument 1 of 'hex_escape_url_part' differ in signedness [-Wpointer-sign] 731 | enc_param.name = hex_escape_url_part(param[i].name, NULL); | ~~~~~~~~^~~~~ | | | char * http.c:104:36: note: expected 'unsigned char *' but argument is of type 'char *' 104 | unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:731:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 731 | enc_param.name = hex_escape_url_part(param[i].name, NULL); | ^ http.c:732:51: warning: pointer targets in passing argument 1 of 'hex_escape_url_part' differ in signedness [-Wpointer-sign] 732 | enc_param.value = hex_escape_url_part(param[i].value, NULL); | ~~~~~~~~^~~~~~ | | | char * http.c:104:36: note: expected 'unsigned char *' but argument is of type 'char *' 104 | unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:732:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 732 | enc_param.value = hex_escape_url_part(param[i].value, NULL); | ^ http.c:733:34: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 733 | buffer_add(&rv, i == 0 ? "?" : "&"); | ~~~~~~~~~~~~~^~~~~ | | | char * http.c:103:35: note: expected 'unsigned char *' but argument is of type 'char *' 103 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:734:30: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 734 | buffer_add(&rv, enc_param.name); | ~~~~~~~~~^~~~~ | | | char * http.c:103:35: note: expected 'unsigned char *' but argument is of type 'char *' 103 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:735:21: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 735 | buffer_add(&rv, "="); | ^~~ | | | char * http.c:103:35: note: expected 'unsigned char *' but argument is of type 'char *' 103 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:736:30: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 736 | buffer_add(&rv, enc_param.value); | ~~~~~~~~~^~~~~~ | | | char * http.c:103:35: note: expected 'unsigned char *' but argument is of type 'char *' 103 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: In function 'http_request_line': http.c:767:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 767 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:767:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 767 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:767:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 767 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:770:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 770 | sprintf(line, "%s %s %s", method, target, version); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c: In function 'http_add_header': http.c:783:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 783 | len = strlen(name) + 2 + strlen(value) + 2 + 1; | ^~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:783:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 783 | len = strlen(name) + 2 + strlen(value) + 2 + 1; | ^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:784:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 784 | hlen = (*reqp)->header ? strlen((*reqp)->header) : 0; | ~~~~~~~^~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:787:27: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 787 | sprintf((*reqp)->header + hlen, "%s: %s\015\012", name, value); | ~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c: In function 'buffer_add': http.c:797:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 797 | len = *bufp ? strlen(*bufp) : 0; | ^~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:798:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 798 | fs_resize((void **) bufp, (len + strlen(text) + 1)*sizeof(char)); | ^~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:800:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 800 | strcat(*bufp, text); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:112:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 112 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ http.c:800:17: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 800 | strcat(*bufp, text); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:112:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 112 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ http.c: In function 'hex_escape_url_part': http.c:850:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 850 | unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; | ^~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:855:32: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 855 | || (addsafe != NULL && strchr(addsafe, *t) != NULL)) | ^~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:856:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 856 | sprintf(s + strlen(s), "%c", *t); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:856:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 856 | sprintf(s + strlen(s), "%c", *t); | ~~^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:858:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 858 | sprintf(s + strlen(s), "%%%X", *t); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:858:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 858 | sprintf(s + strlen(s), "%%%X", *t); | ~~^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:859:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 859 | fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c: In function 'encode_url_body_part': http.c:868:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 868 | unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; | ^~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:873:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 873 | sprintf(s + strlen(s), "%c", '+'); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:873:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 873 | sprintf(s + strlen(s), "%c", '+'); | ~~^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:875:39: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 875 | || (addsafe != NULL && strchr(addsafe, *t) != NULL)) | ^~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:876:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 876 | sprintf(s + strlen(s), "%c", *t); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:876:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 876 | sprintf(s + strlen(s), "%c", *t); | ~~^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:878:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 878 | sprintf(s + strlen(s), "%%%X", *t); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:878:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 878 | sprintf(s + strlen(s), "%%%X", *t); | ~~^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:879:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 879 | fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); | ^ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c: In function 'http_valid_net_parse': http.c:905:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 905 | s = strchr(url+i+1, '/'); | ~~~~~^~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:905:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 905 | s = strchr(url+i+1, '/'); | ^ http.c:906:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 906 | len = s ? s - url - i - 1 : strlen(url+i+1); | ~~~~~^~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:907:31: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 907 | strncpy(mb->orighost, url+i+1, len); | ~~~~~^~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ http.c: In function 'http_open': http.c:933:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 933 | s = strchr((char *) url + 7 + (mb.trysslflag ? 1 : 0) + 1, '/'); /* 7 = strlen("http://") + 1 */ | ^ http.c:934:28: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 934 | stream->url = cpystr(url); | ^~~ | | | unsigned char * In file included from c-client.h:48, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function 'http_post_param': http.c:961:45: warning: pointer targets in passing argument 1 of 'http_request_line' differ in signedness [-Wpointer-sign] 961 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~ | | | char * http.c:765:34: note: expected 'unsigned char *' but argument is of type 'char *' 765 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ http.c:961:59: warning: pointer targets in passing argument 2 of 'http_request_line' differ in signedness [-Wpointer-sign] 961 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ~~~~~~^~~~~~~~~ | | | char * http.c:765:57: note: expected 'unsigned char *' but argument is of type 'char *' 765 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ In file included from http.c:17: http.h:73:26: warning: pointer targets in passing argument 3 of 'http_request_line' differ in signedness [-Wpointer-sign] 73 | #define HTTP_1_1_VERSION "HTTP/1.1" | ^~~~~~~~~~ | | | char * http.c:961:70: note: in expansion of macro 'HTTP_1_1_VERSION' 961 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~~ http.c:765:80: note: expected 'unsigned char *' but argument is of type 'char *' 765 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~~ http.c:962:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] 962 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~ | | | char * http.c:775:55: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:962:48: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] 962 | http_add_header(&http_request, "Host", stream->urlhost); | ~~~~~~^~~~~~~~~ | | | char * http.c:775:76: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:963:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] 963 | http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); | ^~~~~~~~~~~~~~ | | | char * http.c:775:55: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ In file included from http.c:17: http.h:71:30: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] 71 | #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.h:71:30: note: in definition of macro 'HTTP_MIME_URLENCODED' 71 | #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:775:76: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:966:52: warning: pointer targets in passing argument 1 of 'encode_url_body_part' differ in signedness [-Wpointer-sign] 966 | enc_param.name = encode_url_body_part(param[i].name, NULL); | ~~~~~~~~^~~~~ | | | char * http.c:865:37: note: expected 'unsigned char *' but argument is of type 'char *' 865 | encode_url_body_part(unsigned char *text, unsigned char *addsafe) | ~~~~~~~~~~~~~~~^~~~ http.c:966:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 966 | enc_param.name = encode_url_body_part(param[i].name, NULL); | ^ http.c:967:52: warning: pointer targets in passing argument 1 of 'encode_url_body_part' differ in signedness [-Wpointer-sign] 967 | enc_param.value = encode_url_body_part(param[i].value, NULL); | ~~~~~~~~^~~~~~ | | | char * http.c:865:37: note: expected 'unsigned char *' but argument is of type 'char *' 865 | encode_url_body_part(unsigned char *text, unsigned char *addsafe) | ~~~~~~~~~~~~~~~^~~~ http.c:967:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 967 | enc_param.value = encode_url_body_part(param[i].value, NULL); | ^ http.c:969:37: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] 969 | http_add_body(&http_request, "&"); | ^~~ | | | char * http.c:804:53: note: expected 'unsigned char *' but argument is of type 'char *' 804 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:970:43: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] 970 | http_add_body(&http_request, enc_param.name); | ~~~~~~~~~^~~~~ | | | char * http.c:804:53: note: expected 'unsigned char *' but argument is of type 'char *' 804 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:971:34: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] 971 | http_add_body(&http_request, "="); | ^~~ | | | char * http.c:804:53: note: expected 'unsigned char *' but argument is of type 'char *' 804 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:972:43: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] 972 | http_add_body(&http_request, enc_param.value); | ~~~~~~~~~^~~~~~ | | | char * http.c:804:53: note: expected 'unsigned char *' but argument is of type 'char *' 804 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:979:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 979 | response = cpystr(s ? (char *) s : ""); | ^ http.c: In function 'http_post_param2': http.c:1003:45: warning: pointer targets in passing argument 1 of 'http_request_line' differ in signedness [-Wpointer-sign] 1003 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~ | | | char * http.c:765:34: note: expected 'unsigned char *' but argument is of type 'char *' 765 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ http.c:1003:59: warning: pointer targets in passing argument 2 of 'http_request_line' differ in signedness [-Wpointer-sign] 1003 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ~~~~~~^~~~~~~~~ | | | char * http.c:765:57: note: expected 'unsigned char *' but argument is of type 'char *' 765 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ In file included from http.c:17: http.h:73:26: warning: pointer targets in passing argument 3 of 'http_request_line' differ in signedness [-Wpointer-sign] 73 | #define HTTP_1_1_VERSION "HTTP/1.1" | ^~~~~~~~~~ | | | char * http.c:1003:70: note: in expansion of macro 'HTTP_1_1_VERSION' 1003 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~~ http.c:765:80: note: expected 'unsigned char *' but argument is of type 'char *' 765 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~~ http.c:1004:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] 1004 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~ | | | char * http.c:775:55: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:1004:48: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] 1004 | http_add_header(&http_request, "Host", stream->urlhost); | ~~~~~~^~~~~~~~~ | | | char * http.c:775:76: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:1005:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] 1005 | http_add_header(&http_request, "User-Agent", "Alpine"); | ^~~~~~~~~~~~ | | | char * http.c:775:55: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:1005:48: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] 1005 | http_add_header(&http_request, "User-Agent", "Alpine"); | ^~~~~~~~ | | | char * http.c:775:76: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:1006:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] 1006 | http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); | ^~~~~~~~~~~~~~ | | | char * http.c:775:55: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ In file included from http.c:17: http.h:71:30: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] 71 | #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.h:71:30: note: in definition of macro 'HTTP_MIME_URLENCODED' 71 | #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:775:76: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:1009:52: warning: pointer targets in passing argument 1 of 'encode_url_body_part' differ in signedness [-Wpointer-sign] 1009 | enc_param.name = encode_url_body_part(param[i].name, NULL); | ~~~~~~~~^~~~~ | | | char * http.c:865:37: note: expected 'unsigned char *' but argument is of type 'char *' 865 | encode_url_body_part(unsigned char *text, unsigned char *addsafe) | ~~~~~~~~~~~~~~~^~~~ http.c:1009:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1009 | enc_param.name = encode_url_body_part(param[i].name, NULL); | ^ http.c:1010:52: warning: pointer targets in passing argument 1 of 'encode_url_body_part' differ in signedness [-Wpointer-sign] 1010 | enc_param.value = encode_url_body_part(param[i].value, NULL); | ~~~~~~~~^~~~~~ | | | char * http.c:865:37: note: expected 'unsigned char *' but argument is of type 'char *' 865 | encode_url_body_part(unsigned char *text, unsigned char *addsafe) | ~~~~~~~~~~~~~~~^~~~ http.c:1010:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1010 | enc_param.value = encode_url_body_part(param[i].value, NULL); | ^ http.c:1012:37: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] 1012 | http_add_body(&http_request, "&"); | ^~~ | | | char * http.c:804:53: note: expected 'unsigned char *' but argument is of type 'char *' 804 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1013:43: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] 1013 | http_add_body(&http_request, enc_param.name); | ~~~~~~~~~^~~~~ | | | char * http.c:804:53: note: expected 'unsigned char *' but argument is of type 'char *' 804 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1014:34: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] 1014 | http_add_body(&http_request, "="); | ^~~ | | | char * http.c:804:53: note: expected 'unsigned char *' but argument is of type 'char *' 804 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1015:43: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] 1015 | http_add_body(&http_request, enc_param.value); | ~~~~~~~~~^~~~~~ | | | char * http.c:804:53: note: expected 'unsigned char *' but argument is of type 'char *' 804 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1022:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1022 | response = cpystr(s ? (char *) s : ""); | ^ http.c: In function 'http_get': http.c:1058:45: warning: pointer targets in passing argument 1 of 'http_request_line' differ in signedness [-Wpointer-sign] 1058 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ^~~~~ | | | char * http.c:765:34: note: expected 'unsigned char *' but argument is of type 'char *' 765 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ http.c:1058:58: warning: pointer targets in passing argument 2 of 'http_request_line' differ in signedness [-Wpointer-sign] 1058 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ~~~~~~^~~~~~~~~ | | | char * http.c:765:57: note: expected 'unsigned char *' but argument is of type 'char *' 765 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ In file included from http.c:17: http.h:73:26: warning: pointer targets in passing argument 3 of 'http_request_line' differ in signedness [-Wpointer-sign] 73 | #define HTTP_1_1_VERSION "HTTP/1.1" | ^~~~~~~~~~ | | | char * http.c:1058:69: note: in expansion of macro 'HTTP_1_1_VERSION' 1058 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~~ http.c:765:80: note: expected 'unsigned char *' but argument is of type 'char *' 765 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~~ http.c:1059:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] 1059 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~ | | | char * http.c:775:55: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:1059:48: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] 1059 | http_add_header(&http_request, "Host", stream->urlhost); | ~~~~~~^~~~~~~~~ | | | char * http.c:775:76: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:1063:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1063 | response = cpystr(s ? (char *) s : ""); | ^ http.c: In function 'http_send': http.c:1095:29: warning: pointer targets in passing argument 2 of 'http_fake' differ in signedness [-Wpointer-sign] 1095 | ret = http_fake (stream,"http connection lost"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:114:31: note: expected 'unsigned char *' but argument is of type 'char *' 114 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:1100:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1100 | sprintf(length, "%lu", strlen(req->body)); | ~~~^~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:1101:29: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] 1101 | http_add_header(&req, "Content-Length", length); | ^~~~~~~~~~~~~~~~ | | | char * http.c:775:55: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:1101:47: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] 1101 | http_add_header(&req, "Content-Length", length); | ^~~~~~ | | | char * http.c:775:76: note: expected 'unsigned char *' but argument is of type 'char *' 775 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:1104:50: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 1104 | buffer_add(&s, req->request); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:791:49: note: expected 'unsigned char *' but argument is of type 'char *' 791 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1105:49: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 1105 | buffer_add(&s, req->header); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:791:49: note: expected 'unsigned char *' but argument is of type 'char *' 791 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1106:47: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 1106 | buffer_add(&s, req->body); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:791:49: note: expected 'unsigned char *' but argument is of type 'char *' 791 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1107:12: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1107 | mm_log(s, TCPDEBUG); | ^ | | | unsigned char * In file included from c-client.h:41, from http.c:14: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1108:40: warning: pointer targets in passing argument 2 of 'net_soutr' differ in signedness [-Wpointer-sign] 1108 | ret = net_soutr (stream->netstream,s) | ^ | | | unsigned char * In file included from c-client.h:41, from http.c:14: mail.h:1907:41: note: expected 'char *' but argument is of type 'unsigned char *' 1907 | long net_soutr (NETSTREAM *stream,char *string); | ~~~~~~^~~~~~ http.c:1110:24: warning: pointer targets in passing argument 2 of 'http_fake' differ in signedness [-Wpointer-sign] 1110 | : http_fake (stream,"http connection broken in command"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:114:31: note: expected 'unsigned char *' but argument is of type 'char *' 114 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: In function 'http_status_line_get': http.c:1125:19: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1125 | if((s = strchr(status_line, ' ')) != NIL){ | ^~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:1127:24: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 1127 | version = cpystr(status_line); | ^~~~~~~~~~~ | | | unsigned char * In file included from c-client.h:48, from http.c:14: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function 'http_reply': http.c:1164:33: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 1164 | buffer_add(&stream->reply, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:791:49: note: expected 'unsigned char *' but argument is of type 'char *' 791 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1171:23: warning: pointer targets in passing argument 2 of 'http_fake' differ in signedness [-Wpointer-sign] 1171 | http_fake(stream, "Invalid status line received. Closing connection"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:114:31: note: expected 'unsigned char *' but argument is of type 'char *' 114 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:1182:33: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 1182 | buffer_add(&stream->reply, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:791:49: note: expected 'unsigned char *' but argument is of type 'char *' 791 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1198:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1198 | if(!compare_cstring(p->vp->value, "chunked")) | ~~~~~^~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:1198:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1198 | if(!compare_cstring(p->vp->value, "chunked")) | ^~~~~~~~~ | | | char * In file included from c-client.h:48, from http.c:14: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:1209:34: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] 1209 | buffer_add(&stream->reply, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:791:49: note: expected 'unsigned char *' but argument is of type 'char *' 791 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1210:21: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 1210 | size = strtol((unsigned char *) stream->response, NIL, 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:43, from c-client.h:42, from http.c:14: /usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ http.c:1221:23: warning: pointer targets in passing argument 2 of 'http_fake' differ in signedness [-Wpointer-sign] 1221 | http_fake(stream, "Connection to HTTP server closed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:114:31: note: expected 'unsigned char *' but argument is of type 'char *' 114 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ At top level: http.c:21:13: warning: 'http_noparam_val' defined but not used [-Wunused-variable] 21 | static char http_noparam_val[] = "\1\2\3\4\5\6\7\10\12\13\14\15\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37\42\134\177"; | ^~~~~~~~~~~~~~~~ pop3.c: In function 'pop3_valid': pop3.c:179:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 179 | !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; | ~~^~~~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:179:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 179 | !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; | ^~~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c: In function 'pop3_scan': pop3.c:231:36: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 231 | (pop3_valid (ref) && pmatch ("INBOX",pat)) : | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:48, from pop3.c:31: pop3.c:231:44: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 231 | (pop3_valid (ref) && pmatch ("INBOX",pat)) : | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from c-client.h:48, from pop3.c:31: pop3.c:232:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 232 | (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:48, from pop3.c:31: pop3.c:232:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 232 | (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from c-client.h:48, from pop3.c:31: pop3.c: In function 'pop3_list': pop3.c:247:37: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 247 | if (pop3_valid (ref) && pmatch ("INBOX",pat)) { | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:48, from pop3.c:31: pop3.c:247:45: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 247 | if (pop3_valid (ref) && pmatch ("INBOX",pat)) { | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from c-client.h:48, from pop3.c:31: pop3.c:252:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 252 | else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:48, from pop3.c:31: pop3.c:252:72: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 252 | else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from c-client.h:48, from pop3.c:31: pop3.c: In function 'pop3_lsub': pop3.c:278:74: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 278 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:78:16: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from c-client.h:48, from pop3.c:31: pop3.c:278:76: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 278 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:78:18: note: in definition of macro 'pmatch' 78 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ pop3.c: In function 'pop3_capa': pop3.c:504:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 504 | if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; | ^ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:504:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 504 | if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:505:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 505 | else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; | ^ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:505:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 505 | else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:506:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 506 | else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; | ^ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:506:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 506 | else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; | ^~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:507:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 507 | else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; | ^ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:507:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 507 | else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; | ^~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:508:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 508 | else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; | ^ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:508:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 508 | else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:509:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 509 | else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; | ^ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:509:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 509 | else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; | ^~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:510:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 510 | else if (!compare_cstring (t,"IMPLEMENTATION") && args) | ^ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:510:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 510 | else if (!compare_cstring (t,"IMPLEMENTATION") && args) | ^~~~~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:512:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 512 | else if (!compare_cstring (t,"EXPIRE") && args) { | ^ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:512:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 512 | else if (!compare_cstring (t,"EXPIRE") && args) { | ^~~~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:520:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 520 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:520:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 520 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:521:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 521 | ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); | ^ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:521:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 521 | ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); | ^~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:523:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 523 | else if (!compare_cstring (t,"LOGIN-DELAY") && args) { | ^ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:523:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 523 | else if (!compare_cstring (t,"LOGIN-DELAY") && args) { | ^~~~~~~~~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:531:54: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 531 | LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? | ^ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:531:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 531 | LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? | ^~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:534:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 534 | else if (!compare_cstring (t,"SASL") && args) | ^ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:534:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 534 | else if (!compare_cstring (t,"SASL") && args) | ^~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c: In function 'pop3_auth': pop3.c:618:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 618 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:618:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 618 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * In file included from c-client.h:48, from pop3.c:31: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c: In function 'pop3_fetchfast': pop3.c:825:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 825 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from c-client.h:41, from pop3.c:31: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c:826:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 826 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from c-client.h:41, from pop3.c:31: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c: In function 'pop3_expunge': pop3.c:989:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 989 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from c-client.h:41, from pop3.c:31: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c:990:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 990 | mail_sequence (stream,sequence)) : | ^~~~~~~~ | | | char * In file included from c-client.h:41, from pop3.c:31: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c: In function 'pop3_header': pop3.c:889:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 889 | fread (elt->private.msg.header.text.data = (unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 890 | fs_get ((size_t) elt->private.msg.header.text.size + 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 891 | (size_t) 1,(size_t) elt->private.msg.header.text.size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c: In function 'pop3_auth': pop3.c:670:9: warning: 'authsaved' may be used uninitialized in this function [-Wmaybe-uninitialized] 670 | if(!authsaved) sprintf (pwd,"Client does not support AUTH=%.80s authenticator",mb->auth); | ^ unix.c: In function 'unix_open': unix.c:470:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 470 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:470:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 470 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:482:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 482 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ unix.c: At top level: unix.c:591:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 591 | STRINGLIST XIMAPbase = {"X-IMAPbase", 10, NIL}; | ^~~~~~~~~~~~ unix.c:591:25: note: (near initialization for 'XIMAPbase.text.data') unix.c:591:24: warning: missing braces around initializer [-Wmissing-braces] 591 | STRINGLIST XIMAPbase = {"X-IMAPbase", 10, NIL}; | ^ | { } unix.c:592:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 592 | STRINGLIST XIMAP = {"X-IMAP", 6, &XIMAPbase}; | ^~~~~~~~ unix.c:592:25: note: (near initialization for 'XIMAP.text.data') unix.c:592:24: warning: missing braces around initializer [-Wmissing-braces] 592 | STRINGLIST XIMAP = {"X-IMAP", 6, &XIMAPbase}; | ^ | { } unix.c:593:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 593 | STRINGLIST XUID = {"X-UID", 5, &XIMAP}; | ^~~~~~~ unix.c:593:25: note: (near initialization for 'XUID.text.data') unix.c:593:24: warning: missing braces around initializer [-Wmissing-braces] 593 | STRINGLIST XUID = {"X-UID", 5, &XIMAP}; | ^ | { } unix.c:594:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 594 | STRINGLIST XKeywords = {"X-Keywords", 10, &XUID}; | ^~~~~~~~~~~~ unix.c:594:25: note: (near initialization for 'XKeywords.text.data') unix.c:594:24: warning: missing braces around initializer [-Wmissing-braces] 594 | STRINGLIST XKeywords = {"X-Keywords", 10, &XUID}; | ^ | { } unix.c:595:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 595 | STRINGLIST XStatus = {"X-Status", 8, &XKeywords}; | ^~~~~~~~~~ unix.c:595:25: note: (near initialization for 'XStatus.text.data') unix.c:595:24: warning: missing braces around initializer [-Wmissing-braces] 595 | STRINGLIST XStatus = {"X-Status", 8, &XKeywords}; | ^ | { } unix.c:596:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 596 | STRINGLIST Status = {"Status", 6, &XStatus}; | ^~~~~~~~ unix.c:596:25: note: (near initialization for 'Status.text.data') unix.c:596:24: warning: missing braces around initializer [-Wmissing-braces] 596 | STRINGLIST Status = {"Status", 6, &XStatus}; | ^ | { } unix.c: In function 'unix_header': unix.c:615:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 615 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ unix.c:629:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 629 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^ unix.c:642:31: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] 642 | *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1794:34: note: expected 'char *' but argument is of type 'unsigned char *' 1794 | unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, | ~~~~~~^~~~ unix.c: In function 'unix_text_work': unix.c:692:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 692 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ unix.c:720:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 720 | d.chunk = tmp; /* initial buffer chunk */ | ^ unix.c:723:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 723 | for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { | ^ unix.c: In function 'unix_ping': unix.c:776:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 776 | sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:778:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 778 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function 'unix_expunge': unix.c:835:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 835 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from unix.c:45: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:836:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 836 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ | | | char * In file included from unix.c:45: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:841:21: warning: unused variable 'elt' [-Wunused-variable] 841 | MESSAGECACHE *elt = mail_elt (stream,i); | ^~~ unix.c:849:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 849 | if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); | ^ unix.c: In function 'unix_copy': unix.c:891:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 891 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from unix.c:45: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:892:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 892 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from unix.c:45: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:898:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 898 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:898:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 898 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:905:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 905 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:906:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 906 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:910:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 910 | sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:911:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 911 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:915:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 915 | sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:916:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 916 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:925:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 925 | sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:927:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 927 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:936:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 936 | sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:937:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 937 | MM_LOG (LOCAL->buf,ERROR);/* log the error */ | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:946:26: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 946 | if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from unix.c:46: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ unix.c:954:32: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 954 | unix_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : | ^ | | | unsigned char * unix.c:131:54: note: expected 'char *' but argument is of type 'unsigned char *' 131 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:955:32: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 955 | unix_xstatus (stream,LOCAL->buf,elt,NIL,NIL); | ^ | | | unsigned char * unix.c:131:54: note: expected 'char *' but argument is of type 'unsigned char *' 131 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:956:23: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 956 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from unix.c:46: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ unix.c:970:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 970 | sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:996:26: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 996 | if (!ret) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function 'unix_append': unix.c:1040:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1040 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1040:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1040 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1082:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1082 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from unix.c:45: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ unix.c:1026:17: warning: unused variable 'uidlocation' [-Wunused-variable] 1026 | unsigned long uidlocation = 0; | ^~~~~~~~~~~ unix.c: In function 'unix_collect_msg': unix.c:1185:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1185 | if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && | ^ unix.c: In function 'unix_parse': unix.c:1451:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1451 | sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1452:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1452 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1461:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1461 | sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1463:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1463 | MM_LOG (tmp,ERROR); /* this is pretty bad */ | ^~~ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1475:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1475 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ unix.c:1484:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1484 | s = unix_mbxline (stream,&bs,&i); | ^ unix.c:1488:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1488 | sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1490:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1490 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1539:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1539 | sprintf (tmp,"Unable to parse internal date: %s",(char *) date); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1540:12: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1540 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1544:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1544 | s = t = unix_mbxline (stream,&bs,&i); | ^ unix.c:1561:24: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1561 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:44, from unix.c:46: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ unix.c:1561:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1561 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ unix.c:1561:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1561 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:44, from unix.c:46: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ unix.c:1567:52: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] 1567 | if (!compare_csizedtext (stream->user_flags[j],&uf)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from unix.c:52: misc.h:107:40: note: expected 'unsigned char *' but argument is of type 'char *' 107 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1615:22: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1615 | u = strpbrk (s," \n\r"); | ^ | | | unsigned char * In file included from osdep.h:44, from unix.c:46: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ unix.c:1615:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1615 | u = strpbrk (s," \n\r"); | ^ unix.c:1622:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1622 | strncpy (stream->user_flags[j],s,k); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ unix.c:1650:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1650 | sprintf (tmp,"Message %lu UID %lu already has UID %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1655:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1655 | sprintf (tmp,"Message %lu UID %lu less than %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1675:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1675 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1731:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1731 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1732:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1732 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1733:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1733 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1734:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1734 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1735:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1735 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1736:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1736 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1759:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1759 | if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; | ^ unix.c:1785:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1785 | s = unix_mbxline (stream,&bs,&i); | ^ unix.c: In function 'unix_rewrite': unix.c:2071:65: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] 2071 | unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; | ^ | | | unsigned char * unix.c:1951:53: note: expected 'char *' but argument is of type 'unsigned char *' 1951 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ unix.c:2079:28: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 2079 | unix_xstatus (stream,LOCAL->buf,elt,NIL,flag) + | ^ | | | unsigned char * unix.c:1978:54: note: expected 'char *' but argument is of type 'unsigned char *' 1978 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:2087:37: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] 2087 | size = unix_pseudo (stream,LOCAL->buf); | ^ | | | unsigned char * unix.c:1951:53: note: expected 'char *' but argument is of type 'unsigned char *' 1951 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ unix.c:2107:58: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] 2107 | unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * unix.c:1951:53: note: expected 'char *' but argument is of type 'unsigned char *' 1951 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ unix.c:2107:27: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] 2107 | unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * unix.c:136:36: note: expected 'char *' but argument is of type 'unsigned char *' 136 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ~~~~~~^ unix.c:2124:34: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 2124 | unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { | ^ | | | unsigned char * unix.c:1978:54: note: expected 'char *' but argument is of type 'unsigned char *' 1978 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:2138:24: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] 2138 | unix_write (&f,LOCAL->buf,elt->private.special.text.size); | ^ | | | unsigned char * unix.c:136:36: note: expected 'char *' but argument is of type 'unsigned char *' 136 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ~~~~~~^ unix.c:2159:39: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 2159 | j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)); | ^ | | | unsigned char * unix.c:1978:54: note: expected 'char *' but argument is of type 'unsigned char *' 1978 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:2158:24: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] 2158 | unix_write (&f,LOCAL->buf, | ^ | | | unsigned char * unix.c:136:36: note: expected 'char *' but argument is of type 'unsigned char *' 136 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ~~~~~~^ unix.c:2244:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2244 | sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2245:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2245 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function 'unix_extend': unix.c:2266:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2266 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); | ^ unix.c:2271:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 2271 | if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; | ^ | | | unsigned char * In file included from osdep.h:68, from unix.c:46: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ unix.c:2277:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2277 | sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2278:38: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2278 | if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function 'mbox_valid': unix.c:2450:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2450 | if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && | ^~~~ | | | char * In file included from unix.c:52: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:2450:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2450 | if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c: In function 'mbox_create': unix.c:2465:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2465 | if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:2465:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2465 | if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); | ^~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c: In function 'mbox_ping': unix.c:2593:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2593 | sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2595:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2595 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:2607:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2607 | sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2608:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2608 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:2614:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2614 | sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2616:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2616 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:2632:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2632 | sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2637:24: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2637 | else MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function 'unix_open': unix.c:521:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 521 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ unix.c: In function 'unix_header': unix.c:619:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 619 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:629:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 629 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 630 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_text_work': unix.c:696:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 696 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_copy': unix.c:945:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 945 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:971:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 971 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_append': unix.c:1141:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1141 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_rewrite': unix.c:2128:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2128 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2228:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2228 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_extend': unix.c:2274:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2274 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'mbox_ping': unix.c:2600:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2600 | read (sfd,s = (char *) fs_get (size + 1),size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2610:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2610 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2618:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2618 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2629:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2629 | ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ | ^~~~~~~~~~~~~~~~~ unix.c: In function 'unix_parse': unix.c:1738:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] 1738 | sprintf (err,"Discarding bogus %s header in message %lu", | ^~ 1739 | (char *) tmp,elt->msgno); | ~~~ In file included from /usr/include/stdio.h:866, from unix.c:40: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_isvalid': mbx.c:308:61: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 308 | else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) | ^~~~ | | | char * In file included from mbx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:308:66: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 308 | else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) | ^~~~~~~ | | | char * In file included from mbx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c: In function 'mbx_rename': mbx.c:507:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 507 | if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); | ^~~ | | | char * In file included from mbx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:507:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 507 | if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mbx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c: In function 'mbx_open': mbx.c:588:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 588 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mbx.c:591:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 591 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mbx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:591:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 591 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mbx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c: In function 'mbx_flags': mbx.c:678:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 678 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:679:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 679 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c: In function 'mbx_header': mbx.c:707:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 707 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); | ^ mbx.c:710:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 710 | read (LOCAL->fd,s = LOCAL->buf,*length); | ^ mbx.c: In function 'mbx_text': mbx.c:747:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 747 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mbx.c: In function 'mbx_ping': mbx.c:857:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 857 | sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:858:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 858 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c: In function 'mbx_expunge': mbx.c:890:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 890 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:891:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 891 | mail_sequence (stream,sequence)) : LONGT) != 0L) { | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:897:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 897 | sprintf (LOCAL->buf,"Expunged %lu messages",nexp); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:898:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 898 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:901:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 901 | sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:902:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 902 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c: In function 'mbx_snarf': mbx.c:941:20: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] 941 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1782:24: note: expected 'char *' but argument is of type 'unsigned char *' 1782 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mbx.c:942:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 942 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:942:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 942 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:948:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 948 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:948:31: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 948 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c:964:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 964 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:965:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 965 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c: In function 'mbx_copy': mbx.c:1000:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1000 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:1001:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1001 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:1010:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1010 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1011:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1011 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:1015:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1015 | sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1016:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1016 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:1020:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1020 | sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1021:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1021 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:1033:22: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] 1033 | mail_date(LOCAL->buf,elt);/* build target header */ | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1782:24: note: expected 'char *' but argument is of type 'unsigned char *' 1782 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mbx.c:1038:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1038 | if (!compare_cstring (s,t) && (k |= 1 << m)) break; | ^ | | | char * In file included from mbx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1038:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1038 | if (!compare_cstring (s,t) && (k |= 1 << m)) break; | ^ | | | char * In file included from mbx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1039:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1039 | sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:1039:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1039 | sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1045:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1045 | if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:1045:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1045 | if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c:1048:25: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1048 | ret = write (fd,LOCAL->buf,j) >= 0; | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c:1059:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1059 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1060:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1060 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mbx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:1066:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1066 | sprintf (LOCAL->buf,"%08lx",dstream->uid_last); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1067:20: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1067 | write (fd,LOCAL->buf,8); | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function 'mbx_append': mbx.c:1124:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1124 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mbx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1124:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1124 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mbx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1166:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1166 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mbx.c:41: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mbx.c: In function 'mbx_parse': mbx.c:1275:46: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1275 | stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1278:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1278 | i = strtoul (LOCAL->buf + 15,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1282:41: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1282 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1282:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1282 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ mbx.c:1285:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1285 | if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG)) | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:1286:39: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 1286 | stream->user_flags[i] = cpystr (s); | ^ | | | unsigned char * In file included from mbx.c:46: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ mbx.c:1296:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1296 | strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1313:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1313 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1313:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1313 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ mbx.c:1322:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1322:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mbx.c:1322:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1322:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mbx.c:1352:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1352 | if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) { | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1370:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1370 | if ((m = strtoul (t+13,NIL,16)) && | ~^~~ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1386:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1386 | if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) { | ~^~ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1420:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1420 | elt->user_flags = strtoul (t,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c: In function 'mbx_read_flags': mbx.c:1502:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1502 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1504:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1504 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70, from mbx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1511:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1511 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1512:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1512 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70, from mbx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1516:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1516 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1519:22: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1519 | fatal (LOCAL->buf+50); | ^ | | | unsigned char * In file included from osdep.h:70, from mbx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1523:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1523 | i = strtoul (LOCAL->buf+9,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1532:40: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1532 | elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c: In function 'mbx_update_header': mbx.c:83:15: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ mbx.c:1548:13: note: in expansion of macro 'LOCAL' 1548 | char *s = LOCAL->buf; | ^~~~~ mbx.c:1559:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1559 | sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1563:37: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1563 | if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET, | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function 'mbx_update_status': mbx.c:1586:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1586 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1588:19: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1588 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70, from mbx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1595:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1595 | sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1596:19: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1596 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70, from mbx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1600:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1600 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1603:24: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1603 | fatal (LOCAL->buf+50); | ^ | | | unsigned char * In file included from osdep.h:70, from mbx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1608:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1608 | fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + | ^ | | | unsigned char * In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1606:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1606 | sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned) | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1616:33: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1616 | if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function 'mbx_hdrpos': mbx.c:1664:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1664 | if (hdr) *hdr = LOCAL->buf; | ^ mbx.c:1671:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1671 | if (hdr) *hdr = LOCAL->buf; | ^ mbx.c:1681:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1681 | if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ | ^ mbx.c: In function 'mbx_rewrite': mbx.c:1762:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1762 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function 'mbx_header': mbx.c:710:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 710 | read (LOCAL->fd,s = LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_snarf': mbx.c:966:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 966 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_copy': mbx.c:1047:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1047 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1061:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1061 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_append': mbx.c:1196:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1196 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_parse': mbx.c:1270:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1270 | read (LOCAL->fd,LOCAL->buf,HDRSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_rewrite': mbx.c:1758:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1758 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1782:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1782 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_open': mmdf.c:609:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 609 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:609:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 609 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:621:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 621 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mmdf.c: In function 'mmdf_header': mmdf.c:767:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 767 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ mmdf.c:781:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 781 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^ mmdf.c:794:31: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] 794 | *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1794:34: note: expected 'char *' but argument is of type 'unsigned char *' 1794 | unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, | ~~~~~~^~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:844:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 844 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ mmdf.c:872:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 872 | d.chunk = tmp; /* initial buffer chunk */ | ^ mmdf.c:875:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 875 | for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { | ^ mmdf.c: In function 'mmdf_ping': mmdf.c:928:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 928 | sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:930:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 930 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function 'mmdf_expunge': mmdf.c:987:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 987 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mmdf.c:33: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:988:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 988 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ | | | char * In file included from mmdf.c:33: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:993:21: warning: unused variable 'elt' [-Wunused-variable] 993 | MESSAGECACHE *elt = mail_elt (stream,i); | ^~~ mmdf.c:1001:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1001 | if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); | ^ mmdf.c: In function 'mmdf_copy': mmdf.c:1040:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1040 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mmdf.c:33: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:1041:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1041 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from mmdf.c:33: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:1046:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1046 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1046:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1046 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1053:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1053 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1054:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1054 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1058:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1058 | sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1059:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1059 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1063:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1063 | sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1064:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1064 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1073:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1073 | sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1075:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1075 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1084:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1084 | sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1085:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1085 | MM_LOG (LOCAL->buf,ERROR); /* log the error */ | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1094:26: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1094 | if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from mmdf.c:34: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mmdf.c:1102:32: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 1102 | mmdf_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : | ^ | | | unsigned char * mmdf.c:287:54: note: expected 'char *' but argument is of type 'unsigned char *' 287 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:1103:32: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 1103 | mmdf_xstatus (stream,LOCAL->buf,elt,NIL,NIL); | ^ | | | unsigned char * mmdf.c:287:54: note: expected 'char *' but argument is of type 'unsigned char *' 287 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:1104:23: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1104 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from mmdf.c:34: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mmdf.c:1119:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1119 | sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1145:26: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1145 | if (!ret) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function 'mmdf_append': mmdf.c:1190:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1190 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1190:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1190 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1232:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1232 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mmdf.c:33: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mmdf.c:1175:17: warning: unused variable 'uidlocation' [-Wunused-variable] 1175 | unsigned long uidlocation = 0; | ^~~~~~~~~~~ mmdf.c: In function 'mmdf_collect_msg': mmdf.c:1334:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1334 | if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && | ^ mmdf.c: In function 'mmdf_parse': mmdf.c:1593:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1593 | sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1594:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1594 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1603:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1603 | sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1605:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1605 | MM_LOG (tmp,ERROR); /* this is pretty bad */ | ^~~ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1617:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1617 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mmdf.c:1626:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1626 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1630:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1630 | sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1636:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1636 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1641:14: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1641 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1658:4: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1658 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1694:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1694 | sprintf (tmp,"Unable to parse internal date: %s",(char *) date); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1695:14: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1695 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1712:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1712 | if (t) s = t = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1738:24: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1738 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:44, from mmdf.c:34: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mmdf.c:1738:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1738 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ mmdf.c:1738:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1738 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:44, from mmdf.c:34: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mmdf.c:1744:52: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] 1744 | if (!compare_csizedtext (stream->user_flags[j],&uf)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from mmdf.c:39: misc.h:107:40: note: expected 'unsigned char *' but argument is of type 'char *' 107 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1792:22: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1792 | u = strpbrk (s," \n\r"); | ^ | | | unsigned char * In file included from osdep.h:44, from mmdf.c:34: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mmdf.c:1792:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1792 | u = strpbrk (s," \n\r"); | ^ mmdf.c:1799:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1799 | strncpy (stream->user_flags[j],s,k); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ mmdf.c:1827:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1827 | sprintf (tmp,"Message %lu UID %lu already has UID %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1832:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1832 | sprintf (tmp,"Message %lu UID %lu less than %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1852:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1852 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1908:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1908 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1909:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1909 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1910:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1910 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1911:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1911 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1912:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1912 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1913:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1913 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1936:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1936 | if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; | ^ mmdf.c:1960:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1960 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1985:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1985 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2247:65: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] 2247 | unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; | ^ | | | unsigned char * mmdf.c:2127:53: note: expected 'char *' but argument is of type 'unsigned char *' 2127 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ mmdf.c:2255:28: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 2255 | mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag) + | ^ | | | unsigned char * mmdf.c:2154:54: note: expected 'char *' but argument is of type 'unsigned char *' 2154 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:2263:37: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] 2263 | size = mmdf_pseudo (stream,LOCAL->buf); | ^ | | | unsigned char * mmdf.c:2127:53: note: expected 'char *' but argument is of type 'unsigned char *' 2127 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ mmdf.c:2283:58: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] 2283 | mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * mmdf.c:2127:53: note: expected 'char *' but argument is of type 'unsigned char *' 2127 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ mmdf.c:2283:27: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] 2283 | mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * mmdf.c:292:36: note: expected 'char *' but argument is of type 'unsigned char *' 292 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ~~~~~~^ mmdf.c:2300:34: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 2300 | mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { | ^ | | | unsigned char * mmdf.c:2154:54: note: expected 'char *' but argument is of type 'unsigned char *' 2154 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:2314:24: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] 2314 | mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); | ^ | | | unsigned char * mmdf.c:292:36: note: expected 'char *' but argument is of type 'unsigned char *' 292 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ~~~~~~^ mmdf.c:2335:39: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 2335 | j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)); | ^ | | | unsigned char * mmdf.c:2154:54: note: expected 'char *' but argument is of type 'unsigned char *' 2154 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:2334:24: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] 2334 | mmdf_write (&f,LOCAL->buf, | ^ | | | unsigned char * mmdf.c:292:36: note: expected 'char *' but argument is of type 'unsigned char *' 292 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ~~~~~~^ mmdf.c:2403:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2403 | sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:2404:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2404 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function 'mmdf_extend': mmdf.c:2425:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2425 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); | ^ mmdf.c:2430:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 2430 | if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; | ^ | | | unsigned char * In file included from osdep.h:68, from mmdf.c:34: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mmdf.c:2436:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2436 | sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:2437:38: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2437 | if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function 'mmdf_open': mmdf.c:660:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 660 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_header': mmdf.c:771:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 771 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:781:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 781 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 782 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:848:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 848 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_copy': mmdf.c:1093:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1093 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1120:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1120 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_append': mmdf.c:1290:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1290 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2304:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2304 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:2387:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2387 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_extend': mmdf.c:2433:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2433 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_isvalid': tenex.c:212:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 212 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ | | | char * In file included from tenex.c:49: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:212:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 212 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ | | | char * In file included from tenex.c:49: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c: In function 'tenex_rename': tenex.c:354:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 354 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~ | | | char * In file included from tenex.c:49: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:354:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 354 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * In file included from tenex.c:49: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c: In function 'tenex_open': tenex.c:431:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 431 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ tenex.c:437:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 437 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from tenex.c:49: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:437:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 437 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from tenex.c:49: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c: In function 'tenex_fast': tenex.c:504:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 504 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:505:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 505 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:515:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 515 | LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1); | ^ tenex.c: In function 'tenex_flags': tenex.c:542:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 542 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:543:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 543 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c: In function 'tenex_header': tenex.c:568:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 568 | LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); | ^ tenex.c:578:54: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] 578 | *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i); | ^ | | | char * In file included from osdep.h:71, from tenex.c:47: nl.h:33:21: note: expected 'unsigned char *' but argument is of type 'char *' 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ tenex.c: In function 'tenex_text': tenex.c:613:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 613 | LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); | ^ tenex.c:636:50: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] 636 | strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i); | ^ | | | char * In file included from osdep.h:71, from tenex.c:47: nl.h:33:21: note: expected 'unsigned char *' but argument is of type 'char *' 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ tenex.c: In function 'tenex_snarf': tenex.c:778:20: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] 778 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1782:24: note: expected 'char *' but argument is of type 'unsigned char *' 1782 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ tenex.c:779:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 779 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ tenex.c:779:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 779 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:785:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 785 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ tenex.c:785:31: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 785 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:68, from tenex.c:47: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c:801:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 801 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:802:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 802 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c: In function 'tenex_expunge': tenex.c:837:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 837 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:838:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 838 | mail_sequence (stream,sequence)) : LONGT) && | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:899:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 899 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:68, from tenex.c:47: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c:915:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 915 | sprintf (LOCAL->buf, | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:918:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 918 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:922:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 922 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:924:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 924 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c: In function 'tenex_copy': tenex.c:965:36: warning: pointer targets in passing argument 2 of 'tenex_isvalid' differ in signedness [-Wpointer-sign] 965 | if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { | ^ | | | unsigned char * tenex.c:177:37: note: expected 'char *' but argument is of type 'unsigned char *' 177 | int tenex_isvalid (char *name,char *tmp) | ~~~~~~^~~ tenex.c:972:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 972 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:973:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 973 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:977:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 977 | sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:978:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 978 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:982:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 982 | sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:983:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 983 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:986:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 986 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:987:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 987 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:990:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 990 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:991:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 991 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:1013:21: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1013 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from tenex.c:47: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c:1018:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1018 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:1019:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1019 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from tenex.c:46: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c: In function 'tenex_append': tenex.c:1076:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1076 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * In file included from tenex.c:49: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:1076:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1076 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * In file included from tenex.c:49: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:1126:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1126 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from tenex.c:46: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ tenex.c: In function 'tenex_parse': tenex.c:1248:28: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1248 | if (!(s = strchr (LOCAL->buf,'\012'))) { | ^ | | | unsigned char * In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ tenex.c:1248:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1248 | if (!(s = strchr (LOCAL->buf,'\012'))) { | ^ tenex.c:1257:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ tenex.c:1257:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ tenex.c:1257:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ tenex.c:1257:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ tenex.c:1280:46: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1280 | (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) && | ^ | | | unsigned char * In file included from osdep.h:43, from tenex.c:47: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tenex.c:1304:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1304 | j = strtoul (t,NIL,8); /* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:43, from tenex.c:47: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tenex.c: In function 'tenex_read_flags': tenex.c:1382:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1382 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:1383:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1383 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70, from tenex.c:47: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ tenex.c:1391:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1391 | j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:43, from tenex.c:47: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tenex.c: In function 'tenex_update_status': tenex.c:1417:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1417 | sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:1425:27: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1425 | write (LOCAL->fd,LOCAL->buf,12); | ^ | | | unsigned char * In file included from osdep.h:68, from tenex.c:47: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c: In function 'tenex_hdrpos': tenex.c:1460:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1460 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); | ^ tenex.c: In function 'tenex_fast': tenex.c:520:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 520 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_header': tenex.c:571:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 571 | read (LOCAL->fd,LOCAL->buf,*length = i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:576:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 576 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_text': tenex.c:618:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 618 | read (LOCAL->fd,LOCAL->buf,i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:633:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 633 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_snarf': tenex.c:803:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 803 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_expunge': tenex.c:894:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 894 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:921:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 921 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_copy': tenex.c:1012:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1012 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:1020:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1020 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_append': tenex.c:1154:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1154 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_hdrpos': tenex.c:1460:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1460 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_isvalid': mtx.c:205:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 205 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ | | | char * In file included from mtx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:205:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 205 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ | | | char * In file included from mtx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c: In function 'mtx_rename': mtx.c:345:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 345 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~ | | | char * In file included from mtx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:345:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 345 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * In file included from mtx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c: In function 'mtx_open': mtx.c:423:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 423 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mtx.c:426:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 426 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mtx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:426:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 426 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mtx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c: In function 'mtx_flags': mtx.c:489:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 489 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:490:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 490 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c: In function 'mtx_header': mtx.c:513:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 513 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); | ^ mtx.c: In function 'mtx_text': mtx.c:548:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 548 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mtx.c: In function 'mtx_snarf': mtx.c:687:20: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] 687 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1782:24: note: expected 'char *' but argument is of type 'unsigned char *' 1782 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mtx.c:688:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 688 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mtx.c:688:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 688 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:694:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 694 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mtx.c:694:31: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 694 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:68, from mtx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c:710:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 710 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:711:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 711 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c: In function 'mtx_expunge': mtx.c:746:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 746 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:747:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 747 | mail_sequence (stream,sequence)) : LONGT) && | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:808:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 808 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:68, from mtx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c:823:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 823 | sprintf (LOCAL->buf, | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:826:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 826 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:830:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 830 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:832:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 832 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c: In function 'mtx_copy': mtx.c:873:34: warning: pointer targets in passing argument 2 of 'mtx_isvalid' differ in signedness [-Wpointer-sign] 873 | if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { | ^ | | | unsigned char * mtx.c:170:35: note: expected 'char *' but argument is of type 'unsigned char *' 170 | int mtx_isvalid (char *name,char *tmp) | ~~~~~~^~~ mtx.c:880:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 880 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:881:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 881 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:885:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 885 | sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:886:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 886 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:890:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 890 | sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:891:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 891 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:894:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 894 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:895:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 895 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:898:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 898 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:899:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 899 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:921:21: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 921 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from mtx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c:926:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 926 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:927:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 927 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mtx.c:41: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c: In function 'mtx_append': mtx.c:984:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 984 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * In file included from mtx.c:46: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:984:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 984 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * In file included from mtx.c:46: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:1034:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1034 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mtx.c:41: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mtx.c: In function 'mtx_parse': mtx.c:1134:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1134 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ | | | unsigned char * In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mtx.c:1134:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1134 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ mtx.c:1143:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mtx.c:1143:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mtx.c:1143:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mtx.c:1143:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mtx.c:1166:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1166 | (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) && | ^ | | | unsigned char * In file included from osdep.h:43, from mtx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mtx.c:1190:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1190 | j = strtoul (t,NIL,8); /* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:43, from mtx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mtx.c: In function 'mtx_read_flags': mtx.c:1268:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1268 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:1269:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1269 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70, from mtx.c:42: ftl.h:32:19: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void fatal (char *string); | ~~~~~~^~~~~~ mtx.c:1277:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1277 | j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:43, from mtx.c:42: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mtx.c: In function 'mtx_update_status': mtx.c:1303:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1303 | sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:1311:27: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1311 | write (LOCAL->fd,LOCAL->buf,12); | ^ | | | unsigned char * In file included from osdep.h:68, from mtx.c:42: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c: In function 'mtx_header': mtx.c:517:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 517 | read (LOCAL->fd,LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_snarf': mtx.c:712:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 712 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_expunge': mtx.c:803:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 803 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:829:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 829 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_copy': mtx.c:920:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 920 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:928:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 928 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_append': mtx.c:1055:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1055 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_list': news.c:238:24: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 238 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from news.c:35: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ news.c:238:29: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 238 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from news.c:35: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ news.c:241:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 241 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from news.c:35: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ news.c:241:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 241 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from news.c:35: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ news.c: In function 'news_open': news.c:371:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 371 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from news.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c:371:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 371 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from news.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_fast': news.c:457:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 457 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from news.c:34: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c:458:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 458 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from news.c:34: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c: In function 'news_flags': news.c:475:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 475 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from news.c:34: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c:475:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 475 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from news.c:34: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c: In function 'news_load_message': news.c:496:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 496 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from news.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ news.c:501:25: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 501 | ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:329, from osdep.h:49, from news.c:35: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ news.c:505:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 505 | d.chunk = LOCAL->buf; | ^ news.c: In function 'news_valid': news.c:162:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_list': news.c:229:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phile.c: In function 'phile_open': phile.c:306:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 306 | LOCAL->env->date = cpystr (tmp); | ^ phile.c:328:45: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] 328 | buf->size = strcrlfcpy (&buf->data,&m,s,buf->size); | ^ | | | char * In file included from osdep.h:71, from phile.c:36: nl.h:33:21: note: expected 'unsigned char *' but argument is of type 'char *' 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ phile.c:318:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 318 | read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c: In function 'mh_isvalid': mh.c:191:44: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 191 | if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:191:49: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 191 | if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:192:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 192 | !compare_cstring (name,MHINBOX) || | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:192:30: note: in expansion of macro 'MHINBOX' 192 | !compare_cstring (name,MHINBOX) || | ^~~~~~~ In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:196:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 196 | ret = (synonly && compare_cstring (name,"INBOX")) ? | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:196:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 196 | ret = (synonly && compare_cstring (name,"INBOX")) ? | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function 'mh_path': mh.c:257:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 257 | if (!compare_cstring (s,"Path:")) { | ^ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:257:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 257 | if (!compare_cstring (s,"Path:")) { | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function 'mh_scan': mh.c:375:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 375 | if (!compare_cstring (test,MHINBOX)) | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:375:32: note: in expansion of macro 'MHINBOX' 375 | if (!compare_cstring (test,MHINBOX)) | ^~~~~~~ In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function 'mh_lsub': mh.c:404:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 404 | do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mh.c:404:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 404 | do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mh.c: In function 'mh_list_work': mh.c:436:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 436 | if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mh.c:436:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 436 | if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mh.c:438:16: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] 438 | if (dmatch (name,pat,'/') && | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:30:29: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mh.c:438:21: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] 438 | if (dmatch (name,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:30:46: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mh.c: In function 'mh_open': mh.c:588:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 588 | (!compare_cstring (stream->mailbox,MHINBOX) || | ~~~~~~^~~~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:588:40: note: in expansion of macro 'MHINBOX' 588 | (!compare_cstring (stream->mailbox,MHINBOX) || | ^~~~~~~ In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:593:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 593 | !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; | ~~~~~~^~~~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:593:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 593 | !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function 'mh_fast': mh.c:639:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 639 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:640:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 640 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c: In function 'mh_load_message': mh.c:663:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 663 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:668:25: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 668 | ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:329, from osdep.h:49, from mh.c:32: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:672:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 672 | d.chunk = LOCAL->buf; | ^ mh.c: In function 'mh_ping': mh.c:863:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 863 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mh.c:32: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:863:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 863 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mh.c:32: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:900:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 900 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:903:24: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 903 | if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:329, from osdep.h:49, from mh.c:32: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:927:21: warning: pointer targets in passing argument 1 of 'mh_setdate' differ in signedness [-Wpointer-sign] 927 | mh_setdate (LOCAL->buf,elt); | ^ | | | unsigned char * mh.c:107:24: note: expected 'char *' but argument is of type 'unsigned char *' 107 | void mh_setdate (char *file,MESSAGECACHE *elt); | ~~~~~~^~~~ mh.c:935:19: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 935 | unlink (LOCAL->buf);/* flush this file */ | ^ | | | unsigned char * In file included from osdep.h:45, from mh.c:32: /usr/include/unistd.h:838:32: note: expected 'const char *' but argument is of type 'unsigned char *' 838 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mh.c: In function 'mh_expunge': mh.c:982:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 982 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:983:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 983 | mail_sequence (stream,sequence)) : LONGT) != 0L) { | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:988:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 988 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:989:19: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 989 | if (unlink (LOCAL->buf)) {/* try to delete the message */ | ^ | | | unsigned char * In file included from osdep.h:45, from mh.c:32: /usr/include/unistd.h:838:32: note: expected 'const char *' but argument is of type 'unsigned char *' 838 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mh.c:990:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 990 | sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:992:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 992 | mm_log (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mh.c:31: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mh.c:1010:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1010 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:1011:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1011 | mm_log (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mh.c:31: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mh.c: In function 'mh_copy': mh.c:1042:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1042 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:1043:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1043 | mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:1046:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1046 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:1047:23: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 1047 | if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:329, from osdep.h:49, from mh.c:32: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:1059:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1059 | d.chunk = LOCAL->buf; | ^ mh.c: In function 'mh_append': mh.c:1107:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1107 | if (!((!compare_cstring (mailbox,MHINBOX) || | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:1107:38: note: in expansion of macro 'MHINBOX' 1107 | if (!((!compare_cstring (mailbox,MHINBOX) || | ^~~~~~~ In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1108:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1108 | !compare_cstring (mailbox,"INBOX")) && | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1108:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1108 | !compare_cstring (mailbox,"INBOX")) && | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1129:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1129 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mh.c:32: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:1129:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1129 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mh.c:32: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:1147:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1147 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mh.c:31: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mh.c:1100:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] 1100 | long i,size,last,nfiles; | ^~~~ mh.c: In function 'mh_file': mh.c:1229:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:1229:30: note: in expansion of macro 'MHINBOX' 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~~~~ In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1229:60: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1229:65: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~~~~ | | | char * In file included from mh.c:36: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function 'mh_path': mh.c:249:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 249 | read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_isvalid': mx.c:187:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 187 | else if (!compare_cstring (name,"INBOX")) errno = NIL; | ^~~~ | | | char * In file included from mx.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:187:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 187 | else if (!compare_cstring (name,"INBOX")) errno = NIL; | ^~~~~~~ | | | char * In file included from mx.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c: In function 'mx_scan_contents': mx.c:278:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 278 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:278:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 278 | if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_create': mx.c:349:7: warning: unused variable 'fd' [-Wunused-variable] 349 | int fd; | ^~ mx.c: In function 'mx_rename': mx.c:440:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 440 | if (compare_cstring (old,"INBOX")) { | ^~~ | | | char * In file included from mx.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:440:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 440 | if (compare_cstring (old,"INBOX")) { | ^~~~~~~ | | | char * In file included from mx.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:463:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 463 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:463:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 463 | for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_open': mx.c:519:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 519 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mx.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:519:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 519 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:525:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 525 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mx.c: In function 'mx_fast': mx.c:574:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 574 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:575:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 575 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c: In function 'mx_fast_work': mx.c:592:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 592 | sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:594:40: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 594 | if (!elt->rfc822_size && !stat (LOCAL->buf,&sbuf)) { | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *' 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ mx.c: In function 'mx_header': mx.c:634:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 634 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); | ^ mx.c:649:48: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] 649 | cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); | ^ | | | unsigned char * In file included from mx.c:39: misc.h:85:36: note: expected 'char *' but argument is of type 'unsigned char *' 85 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ~~~~~~^~~~ mx.c:650:51: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] 650 | cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); | ^ | | | unsigned char * In file included from mx.c:39: misc.h:85:36: note: expected 'char *' but argument is of type 'unsigned char *' 85 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ~~~~~~^~~~ mx.c: In function 'mx_ping': mx.c:732:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 732 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:732:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 732 | long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c:768:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 768 | sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,++old); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:771:24: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 771 | if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:329, from osdep.h:49, from mx.c:35: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mx.c:795:21: warning: pointer targets in passing argument 1 of 'mx_setdate' differ in signedness [-Wpointer-sign] 795 | mx_setdate (LOCAL->buf,elt); | ^ | | | unsigned char * mx.c:106:24: note: expected 'char *' but argument is of type 'unsigned char *' 106 | void mx_setdate (char *file,MESSAGECACHE *elt); | ~~~~~~^~~~ mx.c:802:19: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 802 | unlink (LOCAL->buf);/* flush this file */ | ^ | | | unsigned char * In file included from osdep.h:45, from mx.c:35: /usr/include/unistd.h:838:32: note: expected 'const char *' but argument is of type 'unsigned char *' 838 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mx.c: In function 'mx_expunge': mx.c:849:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 849 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:850:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 850 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:856:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 856 | sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:857:19: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 857 | if (unlink (LOCAL->buf)) {/* try to delete the message */ | ^ | | | unsigned char * In file included from osdep.h:45, from mx.c:35: /usr/include/unistd.h:838:32: note: expected 'const char *' but argument is of type 'unsigned char *' 838 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mx.c:858:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 858 | sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:860:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 860 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mx.c:34: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mx.c:876:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 876 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:877:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 877 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mx.c:34: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mx.c: In function 'mx_copy': mx.c:914:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 914 | sprintf (LOCAL->buf,"Not a MX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:915:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 915 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mx.c:34: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mx.c:922:63: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 922 | if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:923:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 923 | mail_sequence (stream,sequence)))); | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:945:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 945 | d.chunk = LOCAL->buf; | ^ mx.c:905:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable] 905 | unsigned long i,j,uid,uidv; | ^~~ mx.c: In function 'mx_append': mx.c:1004:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1004 | if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:39: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:1004:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1004 | if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:39: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:1039:54: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1039 | else if (date && !(ret = mail_parse_date (&elt,date))) { | ^~~~ | | | char * In file included from mx.c:34: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mx.c: In function 'mx_header': mx.c:637:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 637 | read (fd,LOCAL->buf,elt->rfc822_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_lockindex': mx.c:1178:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1178 | read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_unlockindex': mx.c:1270:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1270 | ftruncate (LOCAL->fd,size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_scan_contents': mix.c:323:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 323 | if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) | ^~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:323:49: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 323 | if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_rename': mix.c:528:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 528 | if (compare_cstring (old,"INBOX")) { | ^~~ | | | char * In file included from mix.c:35: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:528:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 528 | if (compare_cstring (old,"INBOX")) { | ^~~~~~~ | | | char * In file included from mix.c:35: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:555:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 555 | for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); | ^~~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_open': mix.c:607:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 607 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mix.c:35: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:607:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 607 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mix.c:35: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:609:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 609 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mix.c:612:17: warning: pointer targets in passing argument 1 of 'mix_dir' differ in signedness [-Wpointer-sign] 612 | mix_dir (LOCAL->buf,stream->mailbox); | ^ | | | unsigned char * mix.c:163:22: note: expected 'char *' but argument is of type 'unsigned char *' 163 | char *mix_dir (char *dst,char *name); | ~~~~~~^~~ mix.c:614:34: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 614 | stream->mailbox = cpystr (LOCAL->buf); | ^ | | | unsigned char * In file included from mix.c:35: misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ mix.c:617:40: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] 617 | ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), | ^ | | | unsigned char * mix.c:164:23: note: expected 'char *' but argument is of type 'unsigned char *' 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c:620:40: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] 620 | ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), | ^ | | | unsigned char * mix.c:164:23: note: expected 'char *' but argument is of type 'unsigned char *' 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c:628:43: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] 628 | LOCAL->index = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXINDEX)); | ^ | | | unsigned char * mix.c:164:23: note: expected 'char *' but argument is of type 'unsigned char *' 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c:629:44: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] 629 | LOCAL->status = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXSTATUS)); | ^ | | | unsigned char * mix.c:164:23: note: expected 'char *' but argument is of type 'unsigned char *' 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c:630:47: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] 630 | LOCAL->sortcache = cpystr (mix_file (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:164:23: note: expected 'char *' but argument is of type 'unsigned char *' 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c: In function 'mix_header': mix.c:719:51: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 719 | if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:165:28: note: expected 'char *' but argument is of type 'unsigned char *' 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:731:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 731 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = j) + 1); | ^ mix.c:736:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 736 | !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && | ^ | | | unsigned char * In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mix.c:753:28: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 753 | if ((s = strpbrk (LOCAL->buf,"\015\012")) != NULL) *s = '\0'; | ^ | | | unsigned char * In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mix.c:710:7: warning: unused variable 'fd' [-Wunused-variable] 710 | int fd; | ^~ mix.c: In function 'mix_text': mix.c:782:51: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 782 | if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:165:28: note: expected 'char *' but argument is of type 'unsigned char *' 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:806:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 806 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mix.c:773:17: warning: unused variable 'i' [-Wunused-variable] 773 | unsigned long i; | ^ mix.c: In function 'mix_flag': mix.c:831:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 831 | if (((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mix.c:30: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:832:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 832 | mail_sequence (stream,sequence)) && | ^~~~~~~~ | | | char * In file included from mix.c:30: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c: In function 'mix_ping': mix.c:974:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 974 | sprintf (LOCAL->buf,"Can't copy new mail at message: %lu",i - 1); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:975:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 975 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:928:15: warning: unused variable 'sfd' [-Wunused-variable] 928 | int mfd,ifd,sfd; | ^~~ mix.c:928:11: warning: unused variable 'ifd' [-Wunused-variable] 928 | int mfd,ifd,sfd; | ^~~ mix.c:928:7: warning: unused variable 'mfd' [-Wunused-variable] 928 | int mfd,ifd,sfd; | ^~~ mix.c: In function 'mix_expunge': mix.c:1034:29: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1034 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mix.c:30: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1035:25: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1035 | mail_sequence (stream,sequence))) || stream->rdonly); | ^~~~~~~~ | | | char * In file included from mix.c:30: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1053:53: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1053 | long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); | ^~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1053:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 1053 | long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1086:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1086 | sprintf (LOCAL->buf,"Can't locate mix message file %.08lx", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1088:19: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1088 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1097:35: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 1097 | else if (mix_file_data (LOCAL->buf,stream->mailbox,cur->fileno) && | ^ | | | unsigned char * mix.c:165:28: note: expected 'char *' but argument is of type 'unsigned char *' 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:1099:24: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] 1099 | truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { | ^ | | | unsigned char * In file included from osdep.h:45, from mix.c:31: /usr/include/unistd.h:1005:34: note: expected 'const char *' but argument is of type 'unsigned char *' 1005 | extern int truncate (const char *__file, __off_t __length) | ~~~~~~~~~~~~^~~~~~ mix.c:1099:48: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 1099 | truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { | ^ | | | unsigned char * In file included from osdep.h:45, from mix.c:31: /usr/include/unistd.h:838:32: note: expected 'const char *' but argument is of type 'unsigned char *' 838 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mix.c:1100:22: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1100 | sprintf (LOCAL->buf, | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1103:21: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1103 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1136:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1136 | if (nexp) sprintf (s = LOCAL->buf,"Expunged %lu messages",nexp); | ^ mix.c:1138:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1138 | sprintf (s=LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); | ^ mix.c:1025:11: warning: unused variable 'sfd' [-Wunused-variable] 1025 | int ifd,sfd; | ^~~ mix.c:1025:7: warning: unused variable 'ifd' [-Wunused-variable] 1025 | int ifd,sfd; | ^~~ mix.c: In function 'mix_burp': mix.c:1228:23: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 1228 | mix_file_data (LOCAL->buf,stream->mailbox,burp->fileno); | ^ | | | unsigned char * mix.c:165:28: note: expected 'char *' but argument is of type 'unsigned char *' 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:1232:20: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 1232 | if (stat (LOCAL->buf,&sbuf)) { | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *' 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ mix.c:1233:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1233 | sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1234:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1234 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1237:59: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign] 1237 | else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { | ^ | | | unsigned char * mix.c:145:55: note: expected 'char *' but argument is of type 'unsigned char *' 145 | long mix_burp_check (SEARCHSET *set,size_t size,char *file); | ~~~~~~^~~~ mix.c:1241:39: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] 1241 | else if ((ret = !truncate (LOCAL->buf,burp->set.last)) != 0L) | ^ | | | unsigned char * In file included from osdep.h:45, from mix.c:31: /usr/include/unistd.h:1005:34: note: expected 'const char *' but argument is of type 'unsigned char *' 1005 | extern int truncate (const char *__file, __off_t __length) | ~~~~~~~~~~~~^~~~~~ mix.c:1244:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1244 | sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1245:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1245 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1250:30: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 1250 | else if (((fd = open (LOCAL->buf,O_RDWR,NIL)) < 0) || | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:329, from osdep.h:49, from mix.c:31: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mix.c:1252:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1252 | sprintf (LOCAL->buf,"Error opening mix message file %.80s: %.80s", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1254:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1254 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1258:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1258 | sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1259:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1259 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1264:57: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign] 1264 | else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { | ^ | | | unsigned char * mix.c:145:55: note: expected 'char *' but argument is of type 'unsigned char *' 145 | long mix_burp_check (SEARCHSET *set,size_t size,char *file); | ~~~~~~^~~~ mix.c:1269:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 1269 | strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { | ^ | | | unsigned char * In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mix.c:1270:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1270 | sprintf (LOCAL->buf,"Bad message token in mix message file at %lu", | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1272:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1272 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1312:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1312 | sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1313:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1313 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c: In function 'mix_copy': mix.c:1362:40: warning: pointer targets in passing argument 2 of 'mix_isvalid' differ in signedness [-Wpointer-sign] 1362 | long ret = mix_isvalid (mailbox,LOCAL->buf); | ^ | | | unsigned char * mix.c:235:36: note: expected 'char *' but argument is of type 'unsigned char *' 235 | long mix_isvalid (char *name,char *meta) | ~~~~~~^~~~ mix.c:1380:68: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1380 | else if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mix.c:30: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1381:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1381 | mail_sequence (stream,sequence)))); | ^~~~~~~~ | | | char * In file included from mix.c:30: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1398:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1398 | sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0, | ~~~~~^~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1400:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1400 | hdrsize = strlen (local->buf); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mix.c:1409:44: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign] 1409 | if ((msgf = mix_data_open (astream,&fd,&size,newsize)) != NULL) { | ^~~~~ | | | long unsigned int * mix.c:157:55: note: expected 'long int *' but argument is of type 'long unsigned int *' 157 | FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, | ~~~~~~^~~~ mix.c:1421:52: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 1421 | if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf, | ^ | | | unsigned char * mix.c:165:28: note: expected 'char *' but argument is of type 'unsigned char *' 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:1433:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1433 | d.chunk = LOCAL->buf; | ^ mix.c:1411:23: warning: variable 'uid' set but not used [-Wunused-but-set-variable] 1411 | unsigned long j,uid,uidv; | ^~~ mix.c: In function 'mix_append': mix.c:1525:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1525 | if ((ret = compare_cstring (mailbox,"INBOX") ? | ^~~~~~~ | | | char * In file included from mix.c:35: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:1525:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1525 | if ((ret = compare_cstring (mailbox,"INBOX") ? | ^~~~~~~ | | | char * In file included from mix.c:35: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:1556:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1556 | sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0, | ~~~~~^~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1558:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1558 | hdrsize = strlen (local->buf); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mix.c:1562:46: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign] 1562 | if ((msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) != NULL){ | ^~~~~ | | | long unsigned int * mix.c:157:55: note: expected 'long int *' but argument is of type 'long unsigned int *' 157 | FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, | ~~~~~~^~~~ mix.c:1570:51: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1570 | else if (date && !(ret = mail_parse_date (&elt,date))) { | ^~~~ | | | char * In file included from mix.c:30: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mix.c:1577:30: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1577 | mail_parse_date (&elt,tmp); | ^~~ | | | char * In file included from mix.c:30: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mix.c: In function 'mix_append_msg': mix.c:1639:26: warning: unused variable 'hoff' [-Wunused-variable] 1639 | unsigned long i,j,k,uf,hoff; | ^~~~ mix.c:1639:17: warning: unused variable 'i' [-Wunused-variable] 1639 | unsigned long i,j,k,uf,hoff; | ^ mix.c: In function 'mix_parse': mix.c:1832:47: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] 1832 | while ((s = mix_read_record (*idxf,LOCAL->buf,LOCAL->buflen,"index")) && | ^ | | | unsigned char * mix.c:161:38: note: expected 'char *' but argument is of type 'unsigned char *' 161 | char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); | ~~~~~~^~~ mix.c:1974:36: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 1974 | if (stat (mix_file_data (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:165:28: note: expected 'char *' but argument is of type 'unsigned char *' 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:2056:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2056 | sprintf (LOCAL->buf, | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:2059:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2059 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * In file included from mix.c:30: mail.h:1690:20: note: expected 'char *' but argument is of type 'unsigned char *' 1690 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:2069:48: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] 2069 | while ((t = s = mix_read_record (statf,LOCAL->buf,LOCAL->buflen, | ^ | | | unsigned char * mix.c:161:38: note: expected 'char *' but argument is of type 'unsigned char *' 161 | char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); | ~~~~~~^~~ mix.c: In function 'mix_meta_slurp': mix.c:2165:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2165 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); | ^ mix.c:2170:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2170 | (read (LOCAL->mfd,s = LOCAL->buf,sbuf.st_size) != sbuf.st_size)) | ^ mix.c: In function 'mix_meta_update': mix.c:2205:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2205 | sprintf (LOCAL->buf,SEQFMT,LOCAL->metaseq = mix_modseq (LOCAL->metaseq)); | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:2206:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2206 | sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, | ^ | | | unsigned char * In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mix.c:2206:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2206 | sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, | ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:2208:61: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2208 | for (i = 0, c = 'K', s = ss = LOCAL->buf + strlen (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mix.c:2209:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2209 | (i < NUSERFLAGS) && (t = stream->user_flags[i]); ++i) { | ^ mix.c:2223:35: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 2223 | ret = (write (LOCAL->mfd,LOCAL->buf,i) == i) ? LONGT : NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from mix.c:31: env_unix.h:86:31: note: expected 'char *' but argument is of type 'unsigned char *' 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mix.c: In function 'mix_data_open': mix.c:2418:40: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 2418 | if ((*fd = open (mix_file_data (LOCAL->buf,stream->mailbox,LOCAL->newmsg), | ^ | | | unsigned char * mix.c:165:28: note: expected 'char *' but argument is of type 'unsigned char *' 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:2435:12: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 2435 | (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:165:28: note: expected 'char *' but argument is of type 'unsigned char *' 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c: In function 'mix_sortcache_open': mix.c:2500:49: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] 2500 | while ((s = t = mix_read_record (srtcf,LOCAL->buf,LOCAL->buflen, | ^ | | | unsigned char * mix.c:161:38: note: expected 'char *' but argument is of type 'unsigned char *' 161 | char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); | ~~~~~~^~~ mix.c:2599:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2599 | LOCAL->buf = (char *) | ^ mix.c:2611:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2611 | for (s = LOCAL->buf,sl = NIL, | ^ mix.c:2619:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2619 | sl->text.data = cpystr (s); | ^ mix.c: In function 'mix_copy': mix.c:1483:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1483 | ftruncate (fd,size); /* revert file */ | ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_append': mix.c:1601:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1601 | ftruncate (fd,size); /* revert all writes to file*/ | ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_meta_update': mix.c:2224:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2224 | ftruncate (LOCAL->mfd,i); /* and tie off at that point */ | ^~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_index_update': mix.c:2272:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2272 | ftruncate (fileno (idxf),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2305:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2305 | if (ret) ftruncate (fileno (idxf),ftell (idxf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_status_update': mix.c:2353:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2353 | ftruncate (fileno (statf),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2387:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2387 | if (ret) ftruncate (fileno (statf),ftell (statf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_update': mix.c:2731:16: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2731 | if (ret) ftruncate (fileno (f),ftell (f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_open': mix.c:2674:8: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] 2674 | else fchmod (fd,sbuf.st_mode); | ^~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_file_path': maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 272 | strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from maildir.c:20: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ maildir.c:272:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 272 | strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from maildir.c:17: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 274 | strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from maildir.c:20: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ maildir.c:274:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 274 | strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from maildir.c:17: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 276 | strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from maildir.c:20: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ maildir.c:276:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 276 | strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from maildir.c:17: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ maildir.c: In function 'maildir_fast': maildir.c:315:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 315 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from maildir.c:13: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ maildir.c:316:49: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 316 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from maildir.c:13: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ maildir.c: In function 'maildir_open': maildir.c:514:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 514 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ maildir.c: In function 'maildir_initial_check': maildir.c:626:10: warning: unused variable 'tmp' [-Wunused-variable] 626 | char *tmp; | ^~~ maildir.c: In function 'maildir_text_work': maildir.c:904:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 904 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ maildir.c:913:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 913 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); | ^ maildir.c:920:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 920 | for (s = LOCAL->buf; SIZE (&bs);) switch (CHR (&bs)) { | ^ maildir.c:934:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 934 | return LOCAL->buf; maildir.c: In function 'maildir_header': maildir.c:1059:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1059 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ maildir.c:1069:56: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] 1069 | *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s, | ^ | | | char * In file included from osdep.h:71, from maildir.c:17: nl.h:33:21: note: expected 'unsigned char *' but argument is of type 'char *' 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ maildir.c:1076:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 1076 | return LOCAL->buf; In file included from maildir.c:22: maildir.c: In function 'maildir_list': maildir.h:62:5: warning: the address of 'test' will always evaluate as 'true' [-Waddress] 62 | (((t) && (t)[0] == '#' && ((t)[1] == 'm' || (t)[1] == 'M')\ | ^ maildir.c:1111:10: note: in expansion of macro 'IS_COURIER' 1111 | if(IS_COURIER(test)) | ^~~~~~~~~~ maildir.c:1117:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1117 | if (!compare_cstring (test,"#MD/INBOX")) | ^~~~ | | | char * In file included from maildir.c:20: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ maildir.c:1117:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1117 | if (!compare_cstring (test,"#MD/INBOX")) | ^~~~~~~~~~~ | | | char * In file included from maildir.c:20: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ maildir.c:1119:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1119 | if (!compare_cstring (test,"#MC/INBOX")) | ^~~~ | | | char * In file included from maildir.c:20: misc.h:106:37: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ maildir.c:1119:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1119 | if (!compare_cstring (test,"#MC/INBOX")) | ^~~~~~~~~~~ | | | char * In file included from maildir.c:20: misc.h:106:55: note: expected 'unsigned char *' but argument is of type 'char *' 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ maildir.c: In function 'maildir_expunge': maildir.c:1323:52: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1323 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from maildir.c:13: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ maildir.c:1324:48: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1324 | mail_sequence (stream,sequence)) : LONGT; | ^~~~~~~~ | | | char * In file included from maildir.c:13: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ maildir.c: In function 'maildir_copy': maildir.c:1371:55: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1371 | if ((options & CP_UID) ? mail_uid_sequence (stream, sequence) : | ^~~~~~~~ | | | char * In file included from maildir.c:13: mail.h:1851:59: note: expected 'unsigned char *' but argument is of type 'char *' 1851 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ maildir.c:1372:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1372 | mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from maildir.c:13: mail.h:1850:55: note: expected 'unsigned char *' but argument is of type 'char *' 1850 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ maildir.c:1376:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1376 | if (((fd = open (path,O_RDONLY,NIL)) < 0) | ^~ maildir.c:1380:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1380 | if(!elt->rfc822_size) | ^~ maildir.c:1386:48: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] 1386 | len = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen, s, MDSIZE(elt)); | ^ | | | char * In file included from osdep.h:71, from maildir.c:17: nl.h:33:21: note: expected 'unsigned char *' but argument is of type 'char *' 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ maildir.c: In function 'maildir_append': maildir.c:1449:39: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1449 | if (date && !mail_parse_date(&elt,date)){ | ^~~~ | | | char * In file included from maildir.c:13: mail.h:1784:56: note: expected 'unsigned char *' but argument is of type 'char *' 1784 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ maildir.c: In function 'maildir_lsub': maildir.c:1721:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 1721 | do if (pmatch_full (s, test, '/')) mm_lsub (stream, '/', s, NIL); | ^ | | | char * In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ maildir.c:1721:28: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 1721 | do if (pmatch_full (s, test, '/')) mm_lsub (stream, '/', s, NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ maildir.c: In function 'maildir_list_work': maildir.c:1782:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 1782 | if(pmatch_full (tmp, pat,'/')){ | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ maildir.c:1782:25: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 1782 | if(pmatch_full (tmp, pat,'/')){ | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ maildir.c:1799:20: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] 1799 | if(dmatch (tmp, pat,'/') && | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:30:29: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ maildir.c:1799:25: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] 1799 | if(dmatch (tmp, pat,'/') && | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:30:46: note: expected 'unsigned char *' but argument is of type 'char *' 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ maildir.c: In function 'courier_list_work': maildir.c:1862:18: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] 1862 | if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) | ^~ maildir.c:1862:41: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 1862 | if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ maildir.c:1862:46: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 1862 | if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) | ^~~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ maildir.c:1868:33: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 1868 | if(pmatch_full (cdir->data[i]->name, pat, '.')){ | ~~~~~~~~~~~~~^~~~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:34: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ maildir.c:1868:41: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 1868 | if(pmatch_full (cdir->data[i]->name, pat, '.')){ | ^~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:51: note: expected 'unsigned char *' but argument is of type 'char *' 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ maildir.c: In function 'maildir_dir_is_empty': maildir.c:2159:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2159 | if(s = strrchr(tmp2, '/')) | ^ maildir.c: In function 'courier_list_dir': maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 2369 | if(!strncmp(ucase(tmp), "INBOX", 5)) | ^~~ | | | char * In file included from maildir.c:20: misc.h:82:38: note: expected 'unsigned char *' but argument is of type 'char *' 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ maildir.c:2369:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2369 | if(!strncmp(ucase(tmp), "INBOX", 5)) | ^~~~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from maildir.c:17: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ maildir.c: In function 'courier_list_info': maildir.c:2415:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2415 | else | ^~~~ maildir.c:2417:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2417 | cdir->data[i]->attribute += maildir_any_new_msgs(cdir->data[i]->name) | ^~~~ maildir.c: In function 'maildir_can_assign_uid': maildir.c:2479:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2479 | if(fp = fopen(tmp, "w")){ | ^~ maildir.c:2435:44: warning: unused variable 'p' [-Wunused-variable] 2435 | char tmp[MAILTMPLEN], tmp2[MAILTMPLEN], *p, *s; | ^ maildir.c:2434:17: warning: unused variable 't' [-Wunused-variable] 2434 | unsigned long t; | ^ maildir.c: In function 'maildir_write_uid': maildir.c:2581:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2581 | if(fp = fopen(tmp, "w")) | ^~ maildir.c: In function 'maildir_delete_uid': maildir.c:2612:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2612 | if(s = strstr(MDFILE(elt), MDUIDSEP)){ | ^ maildir.c: In function 'maildir_assign_uid': maildir.c:2629:18: warning: unused variable 'deleteuid' [-Wunused-variable] 2629 | int createuid, deleteuid = 0; | ^~~~~~~~~ maildir.c:2629:7: warning: unused variable 'createuid' [-Wunused-variable] 2629 | int createuid, deleteuid = 0; | ^~~~~~~~~ maildir.c: In function 'maildir_text_work': maildir.c:907:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_parse_message': maildir.c:962:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 962 | read (LOCAL->fd,s,MDSIZE(elt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_header': maildir.c:1062:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1062 | read (LOCAL->fd, (void *)LOCAL->buf, elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1067:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1067 | read (LOCAL->fd, (void *)s, elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_copy': maildir.c:1383:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1383 | read (fd,s,MDSIZE(elt)); | ^~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_append': maildir.c:1472:45: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size between 980 and 1010 [-Wformat-truncation=] 1472 | snprintf (file, sizeof(file), "%lu.%d_%09u.%s%s%s%s%s%s", | ^~ 1473 | ti, mypid, transact++, mdlocaldomain, (f ? MDSEP(2) : ""), | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 15 or more bytes (assuming 1039) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from maildir.c:22: maildir.h:42:48: warning: '/' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] 42 | #define MSGPATH(tmp, dir, msg,i) sprintf((tmp),"%s/%s/%s", (dir), mdstruct[(i)],(msg)) | ^~~~~~~~~~ maildir.h:42:54: note: format string is defined here 42 | #define MSGPATH(tmp, dir, msg,i) sprintf((tmp),"%s/%s/%s", (dir), mdstruct[(i)],(msg)) | ^ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 3 or more bytes (assuming 2049) into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from maildir.c:22: maildir.h:42:48: warning: '/' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] 42 | #define MSGPATH(tmp, dir, msg,i) sprintf((tmp),"%s/%s/%s", (dir), mdstruct[(i)],(msg)) | ^~~~~~~~~~ maildir.h:42:54: note: format string is defined here 42 | #define MSGPATH(tmp, dir, msg,i) sprintf((tmp),"%s/%s/%s", (dir), mdstruct[(i)],(msg)) | ^ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 3 or more bytes (assuming 2049) into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_create_folder': maildir.c:1168:48: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1011 [-Wformat-truncation=] 1168 | snprintf (err, sizeof(err), "Can't create %s: %s", tmp, strerror(errno)); | ^~ ~~~ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 16 or more bytes (assuming 1039) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_create_work': maildir.c:1238:54: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1007 [-Wformat-truncation=] 1238 | snprintf (err, sizeof(err), "Problem creating %s: %s", tmp2, strerror(errno)); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 20 or more bytes (assuming 1043) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_dir_is_empty': maildir.c:2168:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 2168 | snprintf(tmp, sizeof(tmp), "%s/%s", tmp2, d->d_name); | ^~ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:2178:38: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 2178 | snprintf(tmp, sizeof(tmp), "%s/%s", tmp2, d->d_name); | ^~ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from maildir.c:22: maildir.c: In function 'maildir_delete': maildir.h:41:42: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 41 | #define MDFLD(tmp, dir, i) sprintf((tmp),"%s/%s", (dir), mdstruct[(i)]) | ^~~~~~~ maildir.h:41:48: note: format string is defined here 41 | #define MDFLD(tmp, dir, i) sprintf((tmp),"%s/%s", (dir), mdstruct[(i)]) | ^ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1629:36: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 1629 | snprintf(tmp, sizeof(tmp), "%s/%s", realname, d->d_name); | ^~ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1617:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1011 [-Wformat-truncation=] 1617 | snprintf(tmp, sizeof(tmp), "Can not read %s/: %s", realname, strerror(errno)); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 17 or more bytes (assuming 1040) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1596:39: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 1596 | snprintf(tmp2, sizeof(tmp2), "%s/%s", tmp, d->d_name); | ^~ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1567:37: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 1567 | snprintf(tmp, sizeof(tmp), "%s/%s", realname, MDDIR); | ^~ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 7 and 1030 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1573:45: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1009 [-Wformat-truncation=] 1573 | snprintf(tmp, sizeof(tmp), "Can not remove %s/%s: %s", tmp2, MDDIR, strerror(errno)); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from maildir.c:9: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 24 or more bytes (assuming 1047) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' /usr/bin/make all-recursive Making all in m4 make[2]: Nothing to be done for 'all'. Making all in po make[2]: Nothing to be done for 'all'. Making all in pith make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help_h_gen.o help_h_gen.c make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help_c_gen.o help_c_gen.c make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -Wl,--as-needed -o help_h_gen help_h_gen.o libtool: link: gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -o help_h_gen help_h_gen.o -L/usr/lib -pthread make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' ./help_h_gen < pine.hlp > helptext.h make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -Wl,--as-needed -o help_c_gen help_c_gen.o libtool: link: gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -o help_c_gen help_c_gen.o -L/usr/lib -pthread make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' ./help_c_gen < pine.hlp > helptext.c make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' /usr/bin/make all-recursive Making all in osdep In file included from /usr/include/string.h:519, from help_c_gen.c:17: In function 'strncpy', inlined from 'append_to_help_list' at help_c_gen.c:261:5, inlined from 'append_to_help_list' at help_c_gen.c:246:1: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help_c_gen.c: In function 'append_to_help_list': help_c_gen.c:259:11: note: length computed here 259 | len = strlen(name); | ^~~~~~~~~~~~ In function 'strncpy', inlined from 'append_to_help_list' at help_c_gen.c:261:5, inlined from 'append_to_help_list' at help_c_gen.c:246:1, inlined from 'body' at help_c_gen.c:119:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ help_c_gen.c: In function 'body': help_c_gen.c:259:11: note: length computed here 259 | len = strlen(name); | ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o bldpath.o bldpath.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' bldpath.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: bldpath.c 934 2008-02-23 00:44:29Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o canonicl.o canonicl.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' canonicl.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: canonicl.c 764 2007-10-23 23:44:49Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o canaccess.o canaccess.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' canaccess.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: canaccess.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ canaccess.c: In function 'can_access_in_path.part.0': canaccess.c:152:33: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 152 | snprintf(tmp, sizeof(tmp), "%s%c%s", p, FILE_SEP, file); | ^~ In file included from /usr/include/stdio.h:866, from ../../include/system.h:31, from canaccess.c:19: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 2 or more bytes (assuming 4098) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ canaccess.c:152:33: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 152 | snprintf(tmp, sizeof(tmp), "%s%c%s", p, FILE_SEP, file); | ^~ In file included from /usr/include/stdio.h:866, from ../../include/system.h:31, from canaccess.c:19: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 2 or more bytes (assuming 4098) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o collate.o collate.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' collate.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: collate.c 766 2007-10-23 23:59:00Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o coredump.o coredump.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' coredump.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: coredump.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o creatdir.o creatdir.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' creatdir.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: creatdir.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o debugtime.o debugtime.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' debugtime.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: debugtime.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $"; | ^~~~~ debugtime.c: In function 'debug_time': debugtime.c:57:44: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] 57 | snprintf(datestr, sizeof(datestr), " %d/%d", tm_now->tm_mon+1, tm_now->tm_mday); | ^~ debugtime.c:57:42: note: directive argument in the range [-2147483647, 2147483647] 57 | snprintf(datestr, sizeof(datestr), " %d/%d", tm_now->tm_mon+1, tm_now->tm_mday); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from debugtime.c:19: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 5 and 25 bytes into a destination of size 7 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fgetpos.o fgetpos.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' fgetpos.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: fgetpos.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o err_desc.o err_desc.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' err_desc.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: err_desc.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o domnames.o domnames.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' domnames.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: domnames.c 1176 2008-09-29 21:16:42Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filesize.o filesize.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' filesize.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: filesize.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o hostname.o hostname.c hostname.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: hostname.c 1176 2008-09-29 21:16:42Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fnexpand.o fnexpand.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' fnexpand.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: fnexpand.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o lstcmpnt.o lstcmpnt.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' lstcmpnt.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: lstcmpnt.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mimedisp.o mimedisp.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' mimedisp.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: mimedisp.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pw_stuff.o pw_stuff.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' pw_stuff.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: pw_stuff.c 763 2007-10-23 23:37:34Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rename.o rename.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' rename.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: rename.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pipe.o pipe.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' pipe.c: In function 'open_system_pipe': pipe.c:323:6: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 323 | pipe(p); /* alloc pipe to write child */ | ^~~~~~~ pipe.c:329:6: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 329 | pipe(p); /* alloc pipe to read child */ | ^~~~~~~ At top level: pipe.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: pipe.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $"; | ^~~~~ pipe.c: In function 'pipe_error_msg': pipe.c:486:37: warning: '%.256s' directive output may be truncated writing up to 256 bytes into a region of size 245 [-Wformat-truncation=] 486 | snprintf(ebuf, 256, "Pipe can't %.256s \"%.32sb\": %.223s", | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/system.h:31, from pipe.c:19: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 18 and 529 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../../include/system.h:45, from pipe.c:19: In function 'strncpy', inlined from 'open_system_pipe' at pipe.c:260:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c: In function 'open_system_pipe': pipe.c:257:14: note: length computed here 257 | int l = strlen(p); | ^~~~~~~~~ pipe.c:486:56: warning: '%.223s' directive output may be truncated writing up to 223 bytes into a region of size between 201 and 233 [-Wformat-truncation=] 486 | snprintf(ebuf, 256, "Pipe can't %.256s \"%.32sb\": %.223s", | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/system.h:31, from pipe.c:19: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 24 and 279 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe.c:486:56: warning: '%.223s' directive output may be truncated writing up to 223 bytes into a region of size between 203 and 235 [-Wformat-truncation=] 486 | snprintf(ebuf, 256, "Pipe can't %.256s \"%.32sb\": %.223s", | ^~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/system.h:31, from pipe.c:19: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 22 and 277 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o tempfile.o tempfile.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' tempfile.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: tempfile.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o writ_dir.o writ_dir.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' writ_dir.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: writ_dir.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o color.o color.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' color.c: In function 'word_is_prog': color.c:206:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 206 | for(i = 0; rv == 0 && list1[i] && (k = strlen(list1[i])) && k < j; i++) | ^~~ color.c:210:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 210 | if(rv) | ^~ color.c: In function 'qs_add': color.c:242:9: warning: unused variable 'i' [-Wunused-variable] 242 | int i; | ^ color.c: In function 'qs_remove_trailing_spaces': color.c:300:14: warning: unused variable 'rl' [-Wunused-variable] 300 | QSTRING_S *rl = cl; | ^~ color.c: In function 'fix_qstring': color.c:436:47: warning: unused variable 'pqstring' [-Wunused-variable] 436 | QSTRING_S *cqstring = cl, *nqstring = nl, *pqstring = pl; | ^~~~~~~~ color.c:436:31: warning: unused variable 'nqstring' [-Wunused-variable] 436 | QSTRING_S *cqstring = cl, *nqstring = nl, *pqstring = pl; | ^~~~~~~~ color.c: In function 'is_quote': color.c:787:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 787 | for (j = i; (is_cletter(nxt = next(word,j)) || is_cnumber(nxt)) | ^~~ color.c:799:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 799 | if (isaword(word,i,j) || isamailbox(word,i,j)){ | ^~ color.c: In function 'isaword': color.c:847:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 847 | return i <= j && is_cletter(word[i]) ? | ^ color.c: In function 'do_raw_quote_match': color.c:947:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 947 | (pl && value_is_space(pbuf)) && !PLine[strlen(pbuf)]) ? 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ color.c:929:39: warning: unused variable 'buf' [-Wunused-variable] 929 | char nbuf[NSTRING], pbuf[NSTRING], buf[NSTRING]; | ^~~ color.c: In function 'do_quote_match': color.c:1026:11: warning: the address of 'buf' will always evaluate as 'true' [-Waddress] 1026 | c = buf && buf[0] ? strlen(buf) : 0; | ^~~ color.c:1027:10: warning: the address of 'nbuf' will always evaluate as 'true' [-Waddress] 1027 | n = nbuf && nbuf[0] ? strlen(nbuf) : 0; | ^~~~ color.c:1028:10: warning: the address of 'pbuf' will always evaluate as 'true' [-Waddress] 1028 | p = pbuf && pbuf[0] ? strlen(pbuf) : 0; | ^~~~ color.c:1065:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1065 | for (i = clength; i < c && ISspace(GLine[i]); i++); | ^~~ color.c:1066:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1066 | if (i == c) /* Padded CLine until the end of spaces? */ | ^~ color.c:1119:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1119 | for (j = 0; (j < p) && (GLine[j] == PLine[j]); j++); | ^~~ color.c:1120:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1120 | if ((p != c || j != p) && NLine[n]) | ^~ color.c: In function 'is_indent': color.c:1210:22: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1210 | case ' ' : for (; ISspace(word[i]); i++); | ^~~ color.c:1211:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1211 | if (!is_indent_char(now(word,i))) | ^~ color.c:117:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 117 | ((c) == '-' ) && \ | ^ color.c:1260:31: note: in expansion of macro 'allowed_after_digit' 1260 | if(allowed_after_digit(now(word,k),word,k)){ | ^~~~~~~~~~~~~~~~~~~ color.c:1199:34: warning: unused variable 'digit' [-Wunused-variable] 1199 | int i = 0, finished = 0, j, k, digit = 0, bdigits = -1, alpha = 0; | ^~~~~ color.c: In function 'add_allowed_qstr': color.c:1327:7: warning: unused variable 'i' [-Wunused-variable] 1327 | int i; | ^ At top level: color.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: color.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o temp_nam.o temp_nam.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' temp_nam.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: temp_nam.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; | ^~~~~ temp_nam.c: In function 'temp_nam_ext': temp_nam.c:328:44: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized] 328 | if(prefix && (ll = strlen(prefix)) && l+ll < MAXPATH){ | ~^~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' rm -f libpithosd.a /usr/bin/ar cru libpithosd.a bldpath.o canaccess.o canonicl.o collate.o color.o coredump.o creatdir.o debugtime.o domnames.o err_desc.o fgetpos.o filesize.o fnexpand.o hostname.o lstcmpnt.o mimedisp.o pipe.o pw_stuff.o rename.o tempfile.o temp_nam.o writ_dir.o ranlib libpithosd.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' Making all in charconv make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filesys.o filesys.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' filesys.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: filesys.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o utf8.o utf8.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' utf8.c: In function 'utf8_snprintf': utf8.c:1286:47: warning: variable 'modifier' set but not used [-Wunused-but-set-variable] 1286 | int min_field_width, field_precision, modifier; | ^~~~~~~~ utf8.c:1279:13: warning: variable 'start_of_specifier' set but not used [-Wunused-but-set-variable] 1279 | char *start_of_specifier; | ^~~~~~~~~~~~~~~~~~ At top level: utf8.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: utf8.c 1184 2008-12-16 23:52:15Z hubert@u.washington.edu $"; | ^~~~~ utf8.c: In function 'convert_to_utf8': utf8.c:255:28: warning: 'cs' may be used uninitialized in this function [-Wmaybe-uninitialized] 255 | fcharset = cs ? cs->name : NULL; | ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' rm -f libpithcc.a /usr/bin/ar cru libpithcc.a filesys.o utf8.o ranlib libpithcc.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o addrstring.o addrstring.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' addrstring.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: addrstring.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o addrbook.o addrbook.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' addrbook.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: addrbook.c 90 2006-07-19 22:30:36Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ablookup.o ablookup.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' ablookup.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: ablookup.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o abdlc.o abdlc.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' abdlc.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: abdlc.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ In file included from ../pith/headers.h:63, from abdlc.c:19: abdlc.c: In function 'dlc_mgr': ../pith/debug.h:40:23: warning: 'prev_row' may be used uninitialized in this function [-Wmaybe-uninitialized] 40 | #define dprint(x) { output_debug_msg x ; } | ^~~~~~~~~~~~~~~~ abdlc.c:223:24: note: 'prev_row' was declared here 223 | long prev_row; | ^~~~~~~~ In file included from ../pith/headers.h:63, from abdlc.c:19: ../pith/debug.h:40:23: warning: 'next_row' may be used uninitialized in this function [-Wmaybe-uninitialized] 40 | #define dprint(x) { output_debug_msg x ; } | ^~~~~~~~~~~~~~~~ abdlc.c:222:24: note: 'next_row' was declared here 222 | long next_row; | ^~~~~~~~ In file included from ../pith/headers.h:63, from abdlc.c:19: ../pith/debug.h:40:23: warning: 'next_index' may be used uninitialized in this function [-Wmaybe-uninitialized] 40 | #define dprint(x) { output_debug_msg x ; } | ^~~~~~~~~~~~~~~~ abdlc.c:220:48: note: 'next_index' was declared here 220 | int new_index, known_index, next_index; | ^~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o bldaddr.o bldaddr.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from bldaddr.c:39: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ bldaddr.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: bldaddr.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ bldaddr.c: In function 'expand_address': bldaddr.c:877:19: warning: 'adr2' may be used uninitialized in this function [-Wmaybe-uninitialized] 877 | if(adr2 == NULL){ | ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o body.o body.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o charset.o charset.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' charset.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: charset.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $"; | ^~~~~ charset.c: In function 'rfc1522_valid': charset.c:394:13: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] 394 | *endp = p; | ~~~~~~^~~ charset.c:391:12: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized] 391 | *txt = t; | ~~~~~^~~ charset.c:388:12: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized] 388 | *enc = e; | ~~~~~^~~ charset.c: In function 'conversion_table': charset.c:864:6: warning: 'fc' may be used uninitialized in this function [-Wmaybe-uninitialized] 864 | if(fc < 256) | ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o color.o color.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' color.c: In function 'color_a_quote': color.c:161:25: warning: unused variable 'j' [-Wunused-variable] 161 | int countem = 0, i, j = 0; | ^ At top level: color.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: color.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from color.c:19: In function 'strncpy', inlined from 'color_a_quote' at color.c:244:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 12 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o copyaddr.o copyaddr.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' copyaddr.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: copyaddr.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o context.o context.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' context.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: context.c 1144 2008-08-14 16:53:34Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from context.c:19: In function 'strncpy', inlined from 'context_allowed' at context.c:322:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ context.c: In function 'context_allowed': context.c:322:28: note: length computed here 322 | strncpy(free_this, p, strlen(p)+200); | ^~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o detoken.o detoken.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from detoken.c:28: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ detoken.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: detoken.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ detoken.c: In function 'detoken_src': detoken.c:160:11: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] 160 | char *ret, *str1, *str2; | ^~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o editorial.o editorial.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' editorial.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: editorial.c 768 2007-10-24 00:10:03Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o detach.o detach.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' detach.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: detach.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o escapes.o escapes.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' escapes.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: escapes.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o adrbklib.o adrbklib.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' adrbklib.c: In function 'copy_abook_to_tempfile': adrbklib.c:462:12: warning: variable 'mtime' set but not used [-Wunused-but-set-variable] 462 | time_t mtime; | ^~~~~ adrbklib.c:456:12: warning: variable 'got_it' set but not used [-Wunused-but-set-variable] 456 | int got_it, fd, c, | ^~~~~~ At top level: adrbklib.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: adrbklib.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o flag.o flag.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from flag.c:30: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ flag.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: flag.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; | ^~~~~ flag.c: In function 'flag_search': flag.c:344:16: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] 344 | mc->sequence = 0; | ~~~~~~~~~~~~~^~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o handle.o handle.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' handle.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: handle.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o folder.o folder.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' folder.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: folder.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from folder.c:19: In function 'strncpy', inlined from 'new_folder' at folder.c:1683:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ folder.c: In function 'new_folder': folder.c:1679:19: note: length computed here 1679 | size_t l = strlen(name); | ^~~~~~~~~~~~ folder.c: In function 'get_recent_in_folder': folder.c:2603:12: warning: 'uns' may be used uninitialized in this function [-Wmaybe-uninitialized] 2603 | *unseen = uns; | ~~~~~~~~^~~~~ folder.c:2600:9: warning: 'nw' may be used uninitialized in this function [-Wmaybe-uninitialized] 2600 | *new = nw; | ~~~~~^~~~ folder.c:2606:11: warning: 'tot' may be used uninitialized in this function [-Wmaybe-uninitialized] 2606 | *total = tot; | ~~~~~~~^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help.o help.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' help.c: In function 'get_alpine_revision_string': help.c:65:8: warning: the address of 'h_revision' will always evaluate as 'true' [-Waddress] 65 | if(h_revision && h_revision[0] && h_revision[0][0]){ | ^~~~~~~~~~ help.c: In function 'get_alpine_revision_number': help.c:110:8: warning: the address of 'h_revision' will always evaluate as 'true' [-Waddress] 110 | if(h_revision && h_revision[0] && h_revision[0][0]){ | ^~~~~~~~~~ At top level: help.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: help.c 900 2008-01-05 01:13:26Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o helpindx.o helpindx.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' helpindx.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: helpindx.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o hist.o hist.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' hist.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: hist.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o conf.o conf.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' conf.c: In function 'write_pinerc': conf.c:5766:18: warning: unused variable 'slink' [-Wunused-variable] 5766 | char *slink = NULL; | ^~~~~ conf.c: In function 'get_supported_options': conf.c:8484:71: warning: unused variable 'i' [-Wunused-variable] 8484 | int cnt, alcnt, len, cols, disabled, any_disabled = 0, i; | ^ In file included from conf.c:32: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ conf.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: conf.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from conf.c:25: In function 'strncpy', inlined from 'set_feature_list_current_val' at conf.c:4994:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c: In function 'init_pinerc': conf.c:1062:9: warning: 'db' may be used uninitialized in this function [-Wmaybe-uninitialized] 1062 | db += strlen(db); \ | ^~ conf.c:1076:36: note: 'db' was declared here 1076 | char buf[MAXPATH+1], *p, *db; | ^~ conf.c: In function 'read_pinerc': conf.c:5476:13: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] 5476 | && !expand_variables(tmp_20k_buf, SIZEOF_20KBUF, value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5477 | (v == &ps_global->vars[V_MAILCAP_PATH] || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5478 | v == &ps_global->vars[V_MIMETYPE_PATH])))){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:5655:28: warning: 'filename' may be used uninitialized in this function [-Wmaybe-uninitialized] 5655 | prc->pinerc_written = name_file_mtime(filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~ conf.c: In function 'write_pinerc': conf.c:6121:19: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] 6121 | if((var->is_list && (!lval || (!lval[0] && !var->global_val.l))) || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:6160:9: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] 6160 | if(strlen(pval) > buflen){ | ^~~~~~~~~~~~ conf.c:5883:10: warning: 'filename' may be used uninitialized in this function [-Wmaybe-uninitialized] 5883 | mtime = name_file_mtime(filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~ conf.c: In function 'set_variable': conf.c:6677:39: warning: 'prc' may be used uninitialized in this function [-Wmaybe-uninitialized] 6677 | prc->outstanding_pinerc_changes = 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ conf.c: In function 'set_variable_list': conf.c:6743:39: warning: 'prc' may be used uninitialized in this function [-Wmaybe-uninitialized] 6743 | prc->outstanding_pinerc_changes = 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o icache.o icache.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' icache.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: icache.c 874 2007-12-15 02:51:06Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o init.o init.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from ../pith/headers.h:63, from init.c:25: init.c: In function 'prune_move_folder': init.c:527:11: warning: the address of 'spath' will always evaluate as 'true' [-Waddress] 527 | spath ? spath : "?", newpath ? newpath : "?")); | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ init.c:531:25: warning: the address of 'spath' will always evaluate as 'true' [-Waddress] 531 | pretty_fn(spath ? spath : "?")); | ^ init.c:537:43: warning: the address of 'spath' will always evaluate as 'true' [-Waddress] 537 | pretty_fn(spath ? spath : "?"), | ^ In file included from ../pith/headers.h:63, from init.c:25: init.c:540:26: warning: the address of 'spath' will always evaluate as 'true' [-Waddress] 540 | spath ? spath : "?", newpath ? newpath : "?", | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ At top level: init.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: init.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o imap.o imap.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from imap.c:32: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ imap.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: imap.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o keyword.o keyword.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' keyword.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: keyword.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $"; | ^~~~~ keyword.c: In function 'initial_to_keyword': keyword.c:171:8: warning: 'kwinit' may be used uninitialized in this function [-Wmaybe-uninitialized] 171 | if(kwinit == init){ | ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o list.o list.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' list.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: list.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ical.o ical.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' ical.c: In function 'ical_free_vtimezone': ical.c:462:13: warning: unused variable 'j' [-Wunused-variable] 462 | TZ_comp i,j; | ^ ical.c:462:11: warning: unused variable 'i' [-Wunused-variable] 462 | TZ_comp i,j; | ^ ical.c: In function 'ical_free_valarm': ical.c:490:10: warning: unused variable 'j' [-Wunused-variable] 490 | int i, j; | ^ ical.c:490:7: warning: unused variable 'i' [-Wunused-variable] 490 | int i, j; | ^ ical.c: In function 'ical_set_date': ical.c:1881:11: warning: unused variable 't' [-Wunused-variable] 1881 | time_t t; | ^ ical.c: In function 'ical_std_or_daylight': ical.c:1911:13: warning: unused variable 'tzid' [-Wunused-variable] 1911 | ICLINE_S *tzid = (ICLINE_S *) vtz->prop[TZCid]; | ^~~~ ical.c:1910:23: warning: unused variable 'daylight' [-Wunused-variable] 1910 | struct tm standard, daylight; | ^~~~~~~~ ical.c:1910:13: warning: unused variable 'standard' [-Wunused-variable] 1910 | struct tm standard, daylight; | ^~~~~~~~ ical.c: In function 'ical_adjust_date': ical.c:1926:18: warning: variable 'cur_std_day' set but not used [-Wunused-but-set-variable] 1926 | ICAL_TZPROP_S *cur_std_day; | ^~~~~~~~~~~ ical.c:1924:9: warning: variable 'tzname' set but not used [-Wunused-but-set-variable] 1924 | char *tzname = NULL; | ^~~~~~ ical.c: In function 'ical_vevent_summary': ical.c:2545:33: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 2545 | rv->description[i++] = cpystr(ical_decode(s, vcal->encoding)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from ical.c:1: ../pith/../c-client/misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ ical.c:2545:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2545 | rv->description[i++] = cpystr(ical_decode(s, vcal->encoding)); | ^ ical.c:2551:32: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 2551 | rv->description[i++] = cpystr(ical_decode(s, vcal->encoding)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from ical.c:1: ../pith/../c-client/misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ ical.c:2551:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2551 | rv->description[i++] = cpystr(ical_decode(s, vcal->encoding)); | ^ ical.c:2186:9: warning: unused variable 'k' [-Wunused-variable] 2186 | char *k; | ^ ical.c: In function 'ical_non_ascii_valid': ical.c:1682:7: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] 1682 | int rv; | ^~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ldap.o ldap.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' ldap.c: In function 'ldap_lookup': ldap.c:657:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 657 | if(pwd && pwd[0]) | ^~ ldap.c:662:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 662 | passwd.bv_val = pwd; | ^~~~~~ In file included from ../pith/headers.h:63, from ldap.c:19: ldap.c:923:35: warning: the address of 'filter' will always evaluate as 'true' [-Waddress] 923 | base ? base : "?", filter ? filter : "?")); | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ At top level: ldap.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: ldap.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailcap.o mailcap.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' mailcap.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: mailcap.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; | ^~~~~ mailcap.c: In function 'mc_get_command': mailcap.c:640:55: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 640 | snprintf(tmp_mime_type, sizeof(tmp_mime_type), "%s/%s", body_types[type], subtype); | ^ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from mailcap.c:19: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o maillist.o maillist.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' maillist.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: maillist.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailcmd.o mailcmd.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from ../pith/headers.h:63, from mailcmd.c:19: mailcmd.c: In function 'do_broach_folder': mailcmd.c:562:24: warning: the address of 'expanded_file' will always evaluate as 'true' [-Waddress] 562 | expanded_file ? expanded_file : "?", | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c:402:32: warning: unused variable 'n' [-Wunused-variable] 402 | do_reopen = 0, n, was_dead = 0, cur_already_set = 0; | ^ mailcmd.c: In function 'agg_text_select': mailcmd.c:2240:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2240 | if(!mepgm) | ^~ mailcmd.c:2354:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2354 | srchpgm->msgno = (limitsrch ? *limitsrch : NULL); | ^~~~~~~ mailcmd.c: In function 'move_read_msgs_using_rules': mailcmd.c:2704:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2704 | if(success = save(ps_global, stream,save_context, folder_to_save[i], | ^~~~~~~ mailcmd.c: In function 'setup_threading_index_style': mailcmd.c:2794:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2794 | for(i = 0; v = thread_index_styles(i); i++) | ^ mailcmd.c: In function 'get_perfolder_startup_rule': mailcmd.c:2820:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2820 | for(i = 0; v = incoming_startup_rules(i); i++) | ^ In file included from mailcmd.c:42: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from mailcmd.c:20: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailcmd.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: mailcmd.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from mailcmd.c:19: In function 'strncpy', inlined from 'move_read_msgs.part.0' at mailcmd.c:1655:4: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated copying between 0 and 5 bytes from a string of length 5 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c: In function 'agg_text_select': mailcmd.c:2406:21: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] 2406 | mc->searched = T; mailcmd.c: In function 'do_broach_folder': mailcmd.c:654:9: warning: '%s' directive output may be truncated writing up to 4096 bytes into a region of size 129 [-Wformat-truncation=] 654 | "%s", ps_global->cur_folder); | ^~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from mailcmd.c:19: /usr/include/bits/stdio2.h:70:10: note: 'snprintf' output between 1 and 4097 bytes into a destination of size 129 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:963:5: warning: '%s' directive output may be truncated writing up to 4096 bytes into a region of size 129 [-Wformat-truncation=] 963 | "%s", ps_global->cur_folder); | ^~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from mailcmd.c:19: /usr/include/bits/stdio2.h:70:10: note: 'snprintf' output between 1 and 4097 bytes into a destination of size 129 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o margin.o margin.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' margin.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: margin.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mimedesc.o mimedesc.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' mimedesc.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: mimedesc.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailview.o mailview.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' mailview.c: In function 'format_calendar_vevent': mailview.c:395:6: warning: unused variable 'thisdescwid' [-Wunused-variable] 395 | int thisdescwid; | ^~~~~~~~~~~ mailview.c:394:7: warning: unused variable 'numbuf' [-Wunused-variable] 394 | char numbuf[50]; | ^~~~~~ mailview.c: In function 'format_calendar': mailview.c:515:49: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 515 | b = mail_body (ps_global->mail_stream, msgno, a->number); | ~^~~~~~~~ | | | char * In file included from headers.h:28, from mailview.c:27: ../c-client/mail.h:1781:19: note: expected 'unsigned char *' but argument is of type 'char *' 1781 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mailview.c:531:27: warning: pointer targets in passing argument 1 of 'rfc822_base64' differ in signedness [-Wpointer-sign] 531 | caltext = rfc822_base64(rawtext, strlen(rawtext), &callen); | ^~~~~~~ | | | char * In file included from headers.h:30, from mailview.c:27: ../c-client/rfc822.h:102:37: note: expected 'unsigned char *' but argument is of type 'char *' 102 | void *rfc822_base64 (unsigned char *src,unsigned long srcl,unsigned long *len); | ~~~~~~~~~~~~~~~^~~ mailview.c:541:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 541 | caltext = rfc822_qprint ((unsigned char *) rawtext,strlen(rawtext),&callen); | ^ mailview.c: In function 'color_signature': mailview.c:1502:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1502 | if(p = strchr(tmp_20k_buf, '\015')) *p = '\0'; | ^ mailview.c:1517:9: warning: the address of 'buf2' will always evaluate as 'true' [-Waddress] 1517 | i = buf2 && buf2[0] ? strlen(buf2) : 0; | ^~~~ mailview.c:1489:15: warning: unused variable 'q' [-Wunused-variable] 1489 | char *p, *q; | ^ mailview.c: In function 'incomplete_url': mailview.c:1931:15: warning: unused variable 'len' [-Wunused-variable] 1931 | int rv = 0, len; | ^~~ mailview.c: In function 'url_hilite': mailview.c:1970:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1970 | if((uh && uh->handlesp && ((h = *(uh->handlesp)) == NULL) || h->key == 0) || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailview.c: In function 'remove_spaces_ival': mailview.c:3246:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3246 | for (i = 0; isspace((unsigned char) p[ival->end - i - 1]); i++); | ^~~ mailview.c:3247:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3247 | ival->end -= i; | ^~~~ mailview.c: In function 'color_this_text': mailview.c:3277:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3277 | if (i = any_color_in_string(p)){ | ^ mailview.c:3259:18: warning: unused variable 'pattern' [-Wunused-variable] 3259 | static char *pattern = NULL; | ^~~~~~~ At top level: mailview.c:3259:18: warning: 'pattern' defined but not used [-Wunused-variable] In file included from mailview.c:42: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailview.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: mailview.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:25, from mailview.c:27: In function 'strncpy', inlined from 'select_quote' at mailview.c:2252:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'select_quote' at mailview.c:2253:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'select_quote' at mailview.c:2252:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'select_quote' at mailview.c:2253:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'select_quote' at mailview.c:2254:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'select_quote' at mailview.c:2257:9: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'select_quote' at mailview.c:2287:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'select_quote' at mailview.c:2289:8: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'select_quote' at mailview.c:2290:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'select_quote' at mailview.c:2291:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailview.c: In function 'format_addr_string': mailview.c:3432:20: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] 3432 | addr->mailbox = mtmp; | ~~~~~~~~~~~~~~^~~~~~ mailview.c: In function 'format_message': mailview.c:215:11: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] 215 | return(rv); | ^ mailview.c: In function 'url_hilite': mailview.c:1970:67: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized] 1970 | if((uh && uh->handlesp && ((h = *(uh->handlesp)) == NULL) || h->key == 0) || | ~^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mimetype.o mimetype.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' mimetype.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: mimetype.c 955 2008-03-06 23:52:36Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o msgno.o msgno.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' msgno.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: msgno.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $"; | ^~~~~ msgno.c: In function 'msgno_exceptions': msgno.c:676:3: warning: 'partp' may be used uninitialized in this function [-Wmaybe-uninitialized] 676 | (*partp)->next = NULL; | ~^~~~~~~ msgno.c:669:13: warning: 'peltp' may be used uninitialized in this function [-Wmaybe-uninitialized] 669 | *peltp = (PINELT_S *) fs_get(sizeof(PINELT_S)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailindx.o mailindx.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' mailindx.c: In function 'reset_index_format': mailindx.c:385:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 385 | if(rule = get_rule_result(FOR_INDEX, ps_global->cur_folder, V_INDEX_RULES)){ | ^~~~ mailindx.c: In function 'build_header_work': mailindx.c:1660:20: warning: unused variable 'branch' [-Wunused-variable] 1660 | unsigned long branch; | ^~~~~~ mailindx.c: In function 'fetch_firsttext': mailindx.c:3942:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3942 | if(rule_result = find_value((delete_quotes | ^~~~~~~~~~~ mailindx.c:3939:18: warning: unused variable 'env' [-Wunused-variable] 3939 | ENVELOPE *env; | ^~~ mailindx.c: In function 'date_str': mailindx.c:5046:32: warning: variable 'ampm' set but not used [-Wunused-but-set-variable] 5046 | char dbuf[200], *Ddd, *ampm; | ^~~~ mailindx.c: In function 'subj_str': mailindx.c:5587:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 5587 | if (rule_result = find_value("_SUBJECT_", origsubj, PROCESS_SP, idata, 4)){ | ^~~~~~~~~~~ mailindx.c:5531:52: warning: unused variable 'i' [-Wunused-variable] 5531 | int depth = 0, mult = 2, collapsed, i, we_clear = 0; | ^ mailindx.c:5531:41: warning: unused variable 'collapsed' [-Wunused-variable] 5531 | int depth = 0, mult = 2, collapsed, i, we_clear = 0; | ^~~~~~~~~ mailindx.c: In function 'from_str': mailindx.c:6408:24: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 6408 | sprintf(str, "%-*.*s", strsize-1, strsize-1, | ~~^~~~ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} mailindx.c:6408:26: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 6408 | sprintf(str, "%-*.*s", strsize-1, strsize-1, | ~~~~^~ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} mailindx.c:6421:25: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 6421 | sprintf(str, "To: %-*.*s", strsize-1-4, | ~~^~~~ ~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} mailindx.c:6421:27: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 6421 | sprintf(str, "To: %-*.*s", strsize-1-4, | ~~~~^~ | | | int 6422 | strsize-1-4, newsgroups); | ~~~~~~~~~~~ | | | size_t {aka long unsigned int} mailindx.c:6424:23: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 6424 | sprintf(str, "%-*.*s", strsize-1, strsize-1, | ~~^~~~ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} mailindx.c:6424:25: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 6424 | sprintf(str, "%-*.*s", strsize-1, strsize-1, | ~~~~^~ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} mailindx.c:6445:19: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 6445 | sprintf(str, "%-*.*s", strsize-1, strsize-1, rule_result); | ~~^~~~ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} mailindx.c:6445:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 6445 | sprintf(str, "%-*.*s", strsize-1, strsize-1, rule_result); | ~~~~^~ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} mailindx.c: In function 'setup_threading_display_style': mailindx.c:6756:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6756 | for(i = 0; v = thread_disp_styles(i); i++) | ^ mailindx.c: In function 'find_value': mailindx.c:6784:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6784 | if(rule = get_rulelist_from_code(V_REPLACE_RULES, ps_global->rule_list)){ | ^~~~ In file included from mailindx.c:44: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from mailindx.c:28: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailindx.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: mailindx.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from mailindx.c:18: In function 'strncpy', inlined from 'date_str' at mailindx.c:4589:4: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 5 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'date_str' at mailindx.c:4586:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 4 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailindx.c: In function 'fetch_firsttext': mailindx.c:3842:20: warning: 'pelt' may be used uninitialized in this function [-Wmaybe-uninitialized] 3842 | if(pelt && pelt->firsttext != NULL) | ~~~~^~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from mailindx.c:18: In function 'strncpy', inlined from 'subj_str' at mailindx.c:5985:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailindx.c: In function 'subj_str': mailindx.c:5977:15: note: length computed here 5977 | seplen = strlen(sep); | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from mailindx.c:18: In function 'strncpy', inlined from 'format_index_index_line' at mailindx.c:2923:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 2048 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailindx.c: In function 'format_index_index_line': mailindx.c:2159:11: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] 2159 | if(mc->answered) | ^~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o news.o news.c news.c: In function 'news_grouper': news.c:214:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 214 | if(no_servers == 0) | ^~ news.c:222:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 222 | for(server = ps_global->VAR_NNTP_SERVER; | ^~~ At top level: news.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: news.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ news.c: In function 'news_grouper': news.c:330:8: warning: 'cnt_errs' may be used uninitialized in this function [-Wmaybe-uninitialized] 330 | if(--cnt_errs > 0 && (ep - ng_error < sizeof(ng_error)-3)){ | ^ news.c:327:23: warning: 'ep' may be used uninitialized in this function [-Wmaybe-uninitialized] 327 | while(*p2 && (ep - ng_error < sizeof(ng_error)-1)) | ~~~^~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newmail.o newmail.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' newmail.c: In function 'new_mail': newmail.c:80:19: warning: variable 'last_check_point_call' set but not used [-Wunused-but-set-variable] 80 | static time_t last_check_point_call = 0; | ^~~~~~~~~~~~~~~~~~~~~ At top level: newmail.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: newmail.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pipe.o pipe.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' pipe.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: pipe.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o readfile.o readfile.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' readfile.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: readfile.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filter.o filter.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' filter.c: In function 'gf_terminal': filter.c:168:24: warning: unused variable 'eib' [-Wunused-variable] 168 | #define GF_EIB_INIT(F) eib = (F) ? GF_QUE_END(F) : NULL | ^~~ filter.c:180:19: note: in expansion of macro 'GF_EIB_INIT' 180 | unsigned char *GF_EIB_INIT(FO); | ^~~~~~~~~~~ filter.c:895:2: note: in expansion of macro 'GF_INIT' 895 | GF_INIT(f, f); | ^~~~~~~ filter.c:166:23: warning: unused variable 'ip' [-Wunused-variable] 166 | #define GF_IP_INIT(F) ip = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~ filter.c:179:19: note: in expansion of macro 'GF_IP_INIT' 179 | unsigned char *GF_IP_INIT(FO); \ | ^~~~~~~~~~ filter.c:895:2: note: in expansion of macro 'GF_INIT' 895 | GF_INIT(f, f); | ^~~~~~~ filter.c: In function 'gf_pipe': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] 171 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' 178 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:972:2: note: in expansion of macro 'GF_INIT' 972 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c:170:23: warning: unused variable 'op' [-Wunused-variable] 170 | #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL | ^~ filter.c:177:40: note: in expansion of macro 'GF_OP_INIT' 177 | #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ | ^~~~~~~~~~ filter.c:972:2: note: in expansion of macro 'GF_INIT' 972 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c: In function 'gf_filter_puts': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] 171 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' 178 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:1162:5: note: in expansion of macro 'GF_INIT' 1162 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c: In function 'gf_filter_eod': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] 171 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' 178 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:1188:5: note: in expansion of macro 'GF_INIT' 1188 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c:170:23: warning: unused variable 'op' [-Wunused-variable] 170 | #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL | ^~ filter.c:177:40: note: in expansion of macro 'GF_OP_INIT' 177 | #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ | ^~~~~~~~~~ filter.c:1188:5: note: in expansion of macro 'GF_INIT' 1188 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c: In function 'gf_html2plain': filter.c:168:24: warning: unused variable 'eib' [-Wunused-variable] 168 | #define GF_EIB_INIT(F) eib = (F) ? GF_QUE_END(F) : NULL | ^~~ filter.c:180:19: note: in expansion of macro 'GF_EIB_INIT' 180 | unsigned char *GF_EIB_INIT(FO); | ^~~~~~~~~~~ filter.c:7915:2: note: in expansion of macro 'GF_INIT' 7915 | GF_INIT(f, f->next); | ^~~~~~~ filter.c:166:23: warning: unused variable 'ip' [-Wunused-variable] 166 | #define GF_IP_INIT(F) ip = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~ filter.c:179:19: note: in expansion of macro 'GF_IP_INIT' 179 | unsigned char *GF_IP_INIT(FO); \ | ^~~~~~~~~~ filter.c:7915:2: note: in expansion of macro 'GF_INIT' 7915 | GF_INIT(f, f->next); | ^~~~~~~ filter.c: In function 'html_write': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] 171 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' 178 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:8902:5: note: in expansion of macro 'GF_INIT' 8902 | GF_INIT(f, f->next); | ^~~~~~~ filter.c:170:23: warning: unused variable 'op' [-Wunused-variable] 170 | #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL | ^~ filter.c:177:40: note: in expansion of macro 'GF_OP_INIT' 177 | #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ | ^~~~~~~~~~ filter.c:8902:5: note: in expansion of macro 'GF_INIT' 8902 | GF_INIT(f, f->next); | ^~~~~~~ filter.c: In function 'html_putc': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] 171 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' 178 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:8974:5: note: in expansion of macro 'GF_INIT' 8974 | GF_INIT(f, f->next); | ^~~~~~~ filter.c:170:23: warning: unused variable 'op' [-Wunused-variable] 170 | #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL | ^~ filter.c:177:40: note: in expansion of macro 'GF_OP_INIT' 177 | #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ | ^~~~~~~~~~ filter.c:8974:5: note: in expansion of macro 'GF_INIT' 8974 | GF_INIT(f, f->next); | ^~~~~~~ filter.c: In function 'cid_tempfile_name': filter.c:9081:26: warning: unused variable 'u' [-Wunused-variable] 9081 | char *s, *t = NULL, *u, c; | ^ filter.c: In function 'gf_html_cid2file': filter.c:9193:11: warning: unused variable 'n' [-Wunused-variable] 9193 | long n; | ^ filter.c: In function 'gf_quote_test': filter.c:11437:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 11437 | if(cline = strchr(gline,'\012'))\ | ^~~~~ filter.c:11499:2: note: in expansion of macro 'GF_ADD_QUOTED_LINE' 11499 | GF_ADD_QUOTED_LINE((F), line);\ | ^~~~~~~~~~~~~~~~~~ filter.c:11552:7: note: in expansion of macro 'SECOND_LINE_QUOTE_TEST' 11552 | SECOND_LINE_QUOTE_TEST(line, f); | ^~~~~~~~~~~~~~~~~~~~~~ filter.c:11437:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 11437 | if(cline = strchr(gline,'\012'))\ | ^~~~~ filter.c:11523:2: note: in expansion of macro 'GF_ADD_QUOTED_LINE' 11523 | GF_ADD_QUOTED_LINE((F), line);\ | ^~~~~~~~~~~~~~~~~~ filter.c:11555:3: note: in expansion of macro 'FIRST_LINE_QUOTE_TEST' 11555 | FIRST_LINE_QUOTE_TEST(line, f); | ^~~~~~~~~~~~~~~~~~~~~ filter.c:11437:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 11437 | if(cline = strchr(gline,'\012'))\ | ^~~~~ filter.c:11499:2: note: in expansion of macro 'GF_ADD_QUOTED_LINE' 11499 | GF_ADD_QUOTED_LINE((F), line);\ | ^~~~~~~~~~~~~~~~~~ filter.c:11567:6: note: in expansion of macro 'SECOND_LINE_QUOTE_TEST' 11567 | SECOND_LINE_QUOTE_TEST(line, f); | ^~~~~~~~~~~~~~~~~~~~~~ filter.c:11437:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 11437 | if(cline = strchr(gline,'\012'))\ | ^~~~~ filter.c:11523:2: note: in expansion of macro 'GF_ADD_QUOTED_LINE' 11523 | GF_ADD_QUOTED_LINE((F), line);\ | ^~~~~~~~~~~~~~~~~~ filter.c:11570:2: note: in expansion of macro 'FIRST_LINE_QUOTE_TEST' 11570 | FIRST_LINE_QUOTE_TEST(line, f); | ^~~~~~~~~~~~~~~~~~~~~ filter.c:11437:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 11437 | if(cline = strchr(gline,'\012'))\ | ^~~~~ filter.c:11579:5: note: in expansion of macro 'GF_ADD_QUOTED_LINE' 11579 | GF_ADD_QUOTED_LINE(f, line+i); | ^~~~~~~~~~~~~~~~~~ filter.c: In function 'html_element_comment': filter.c:7742:7: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 7742 | getcwd(p = buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: filter.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: filter.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ filter.c: In function 'html_li': filter.c:5841:36: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 15 [-Wformat-truncation=] 5841 | snprintf(buf, sizeof(buf), " %s.", tmp); | ^ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from filter.c:44: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 18 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rfc2231.o rfc2231.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' rfc2231.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: rfc2231.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o remote.o remote.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from ../pith/headers.h:63, from remote.c:25: remote.c: In function 'rd_update_remote': remote.c:2276:14: warning: the address of 'date' will always evaluate as 'true' [-Waddress] 2276 | date ? date : "?")); | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ At top level: remote.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: remote.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from remote.c:25: In function 'strncpy', inlined from 'rd_update_remote' at remote.c:2283:4: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 100 bytes from a string of length 199 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rules.o rules.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' rules.c: In function 'isolate_condition': rules.c:318:48: warning: unused variable 'l' [-Wunused-variable] 318 | int done = 0, error = 0, next_condition = 0, l; | ^ rules.c: In function 'parse_group_data': rules.c:382:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 382 | if (p = advance_to_char(d,';', STRICTLY, &offset)){ | ^ rules.c:386:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | else if (p = advance_to_char(d,'}', STRICTLY, NULL)) | ^ rules.c: In function 'canonicalize_condition': rules.c:498:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 498 | case '_' : for(s = p+1; *s >= 'A' && *s <= 'Z'; s++); | ^~~ rules.c:499:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 499 | for(i = 0; token_rules[i] != NULL; i++) | ^~~ rules.c:544:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 544 | case '&': if(*(p+1) = *p){ | ^ rules.c:472:27: warning: unused variable 'c' [-Wunused-variable] 472 | char *p = data, *s, *t, c; | ^ rules.c: In function 'fill_condition': rules.c:615:16: warning: unused variable 'cvalue' [-Wunused-variable] 615 | CONDVALUE_S *cvalue; | ^~~~~~ rules.c:613:13: warning: variable 't' set but not used [-Wunused-but-set-variable] 613 | char *s, *t, *u; | ^ rules.c: In function 'parse_action': rules.c:678:9: warning: unused variable 'function' [-Wunused-variable] 678 | char *function, *p = data; | ^~~~~~~~ rules.c: In function 'get_rule_list': rules.c:866:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 866 | if(rule = parse_rule(list[i], context)){ | ^~~~ rules.c: In function 'add_rule': rules.c:902:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 902 | if (trulelist->rlist = get_rule_list(list, context, 0)) | ^~~~~~~~~ rules.c:897:40: warning: unused variable 'orulelist' [-Wunused-variable] 897 | PRULELIST_S *prulelist, *trulelist, *orulelist; | ^~~~~~~~~ rules.c:897:16: warning: unused variable 'prulelist' [-Wunused-variable] 897 | PRULELIST_S *prulelist, *trulelist, *orulelist; | ^~~~~~~~~ rules.c: In function 'test_rule': rules.c:979:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 979 | if (result = process_rule(rlist->prule, ctxt, env)) | ^~~~~~ rules.c: In function 'free_parsed_value': rules.c:1117:17: warning: unused variable 'tval' [-Wunused-variable] 1117 | TOKEN_VALUE *tval = NULL; | ^~~~ rules.c: In function 'do_trim': rules.c:1317:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1317 | while(begin_text = strstr(test+offset,tval->testxt)){ | ^~~~~~~~~~ rules.c: In function 'trim': rules.c:1333:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1333 | if (test = detoken_src(taction->token, context, env, NULL, NULL, NULL)) | ^~~~ rules.c:1330:6: warning: unused variable 'offset' [-Wunused-variable] 1330 | int offset; | ^~~~~~ rules.c:1328:8: warning: unused variable 'begin_text' [-Wunused-variable] 1328 | char *begin_text, *test; | ^~~~~~~~~~ rules.c: In function 'do_rextrim': rules.c:1351:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1351 | while(begin_text = strstr(test+offset, trim_text)){ | ^~~~~~~~~~ rules.c:1345:11: warning: unused variable 'len' [-Wunused-variable] 1345 | size_t len; | ^~~ rules.c:1344:8: warning: unused variable 'i' [-Wunused-variable] 1344 | int i, offset = 0; | ^ rules.c: In function 'exec_fcn': rules.c:1536:24: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 1536 | rv = cpystr(output_so->dp); | ~~~~~~~~~^~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from rules.c:12: ../pith/../c-client/misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ rules.c: In function 'rules_fetchenvelope': rules.c:1558:28: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 1558 | env->date = cpystr((unsigned char *) idata->date); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from rules.c:12: ../pith/../c-client/misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ rules.c:1558:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1558 | env->date = cpystr((unsigned char *) idata->date); | ^ In file included from rules.c:17: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ rules.c: In function 'canonicalize_condition': rules.c:493:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 493 | sprintf(tmp, "%d ", --level); | ^~ rules.c:493:19: note: directive argument in the range [-2147483648, 2147483646] 493 | sprintf(tmp, "%d ", --level); | ^~~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from rules.c:12: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 13 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o search.o search.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' search.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: search.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o reply.o reply.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' reply.c: In function 'reply_quote_str': reply.c:886:44: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 886 | strncpy(reply_string,"> ",sizeof("> ")); | ^ reply.c: In function 'get_reply_data': reply.c:1987:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1987 | if (env) | ^~ reply.c:1989:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1989 | break; | ^~~~~ reply.c: In function 'forward_subject': reply.c:2564:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2564 | if (rule = get_result_rule(V_FORWARD_RULES,FOR_COMPOSE, env)){ | ^~~~ reply.c: In function 'forward_multi_alt_mixed': reply.c:3958:11: warning: unused variable 'new_charset' [-Wunused-variable] 3958 | char *new_charset = NULL; | ^~~~~~~~~~~ In file included from reply.c:51: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from reply.c:47: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ reply.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: reply.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from reply.c:19: In function 'strncat', inlined from 'reply_signature' at reply.c:1503:2: /usr/include/bits/string_fortified.h:122:10: warning: 'strncat' output may be truncated copying between 0 and 2 bytes from a string of length 1 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reply.c: In function 'get_reply_data': reply.c:2016:45: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] 2016 | sprintf(buf,"%s%s%s%s",mc->flagged ? "*" : "", | ^ reply.c: In function 'reply_body': reply.c:988:59: warning: '.1' directive output may be truncated writing 2 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 988 | snprintf(section = sect_buf, sizeof(sect_buf), "%.*s.1", SECTBUFLEN-1, sect_prefix); | ^~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from reply.c:19: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 258 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o save.o save.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' save.c: In function 'save_ex_output_text': save.c:1726:10: warning: unused variable 's' [-Wunused-variable] 1726 | char *s; | ^ save.c:1724:8: warning: unused variable 'line_len' [-Wunused-variable] 1724 | int line_len = 68 - depth; | ^~~~~~~~ save.c:1723:19: warning: unused variable 'j' [-Wunused-variable] 1723 | int starti, i, j, startpos, pos, rv; | ^ In file included from save.c:29: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ save.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: save.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $"; | ^~~~~ save.c: In function 'save_get_fldr_from_env': save.c:291:6: warning: 'bufp' may be used uninitialized in this function [-Wmaybe-uninitialized] 291 | istrncpy(fbuf, bufp, nfbuf - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c: In function 'save': save.c:638:9: warning: 'dummy_msgno' may be used uninitialized in this function [-Wmaybe-uninitialized] 638 | mail_flag(dstn_stream, ulong2string(dummy_msgno), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | flags, ST_SET | ST_SILENT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:671:5: warning: 'au' may be used uninitialized in this function [-Wmaybe-uninitialized] 671 | mail_parameters(NIL, SET_APPENDUID, (void *) au); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:571:35: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] 571 | fs_resize((void **) &flags, (len+1) * sizeof(char)); | ~~~~^~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o sequence.o sequence.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' sequence.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: sequence.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o state.o state.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from state.c:38: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ state.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: state.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o sort.o sort.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from sort.c:33: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ sort.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: sort.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o status.o status.c status.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: status.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o store.o store.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' store.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: store.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pattern.o pattern.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' pattern.c: In function 'parse_pat_file': pattern.c:1001:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1001 | (void)fgets(buf, BUF_SIZE, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from pattern.c:30: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ pattern.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: pattern.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $"; | ^~~~~ pattern.c: In function 'parse_action_slash': pattern.c:1805:11: warning: 'save' may be used uninitialized in this function [-Wmaybe-uninitialized] 1805 | *(p+1) = save; | ~~~~~~~^~~~~~ pattern.c: In function 'data_for_patline': pattern.c:4235:4: warning: 'bodytext_not' may be used uninitialized in this function [-Wmaybe-uninitialized] 4235 | if(bodytext_not) | ^ pattern.c:4225:4: warning: 'alltext_not' may be used uninitialized in this function [-Wmaybe-uninitialized] 4225 | if(alltext_not) | ^ pattern.c: In function 'sub_write_patterns': pattern.c:3350:8: warning: 'var' may be used uninitialized in this function [-Wmaybe-uninitialized] 3350 | : ALVAL(var, (rflags & PAT_USE_MAIN) ? Main : Post); pattern.c: In function 'parse_intvl': pattern.c:1890:4: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized] 1890 | (*next)->imin = left; | ~^~~~~~ pattern.c: In function 'parse_patgrp_slash': pattern.c:1502:11: warning: 'save' may be used uninitialized in this function [-Wmaybe-uninitialized] 1502 | *(p+1) = save; | ~~~~~~~^~~~~~ pattern.c: In function 'sub_open_any_patterns': pattern.c:551:47: warning: 'var' may be used uninitialized in this function [-Wmaybe-uninitialized] 551 | t = var->is_changed_val ? var->changed_val.l : var->current_val.l; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ pattern.c: In function 'match_pattern': pattern.c:4842:19: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] 4842 | mc->searched = T; make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o strlst.o strlst.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' strlst.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: strlst.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o send.o send.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' send.c: In function 'pine_new_env': send.c:1200:18: warning: the address of 'pf_template' will always evaluate as 'true' [-Waddress] 1200 | for(cnt = 0; pf_template && pf_template[cnt].name; cnt++) | ^~~~~~~~~~~ send.c: In function 'pine_free_env': send.c:1465:15: warning: the address of 'pf_template' will always evaluate as 'true' [-Waddress] 1465 | for(cnt = 0; pf_template && pf_template[cnt].name; cnt++) | ^~~~~~~~~~~ send.c: In function 'post_handoff': send.c:5646:30: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 5646 | if(s = strstr(header->env->date," (")) /* fix the date format for news */ | ~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from send.c:19: /usr/include/string.h:334:34: note: expected 'const char *' but argument is of type 'unsigned char *' 334 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ send.c:5646:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 5646 | if(s = strstr(header->env->date," (")) /* fix the date format for news */ | ^ send.c:5649:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 5649 | if(err = mta_parse_post(header, body, SENDNEWS, errbuf, errbuflen, bigresult_f, pipecb_f)){ | ^~~ In file included from send.c:47: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ send.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: send.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $"; | ^~~~~ send.c: In function 'call_mailer': send.c:2075:20: warning: 'added_encoding' may be used uninitialized in this function [-Wmaybe-uninitialized] 2075 | body_encodings[added_encoding] = NULL; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ send.c:2076:19: warning: 'save_encoding' may be used uninitialized in this function [-Wmaybe-uninitialized] 2076 | bp->encoding = save_encoding; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o tempfile.o tempfile.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' tempfile.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: tempfile.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o string.o string.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' string.c: In function 'collspaces': string.c:149:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 149 | while(*string = *p++) | ^ string.c: In function 'repeat_char': string.c:1424:11: warning: variable 'b' set but not used [-Wunused-but-set-variable] 1424 | char *b; | ^ string.c: In function 'fold': string.c:1618:45: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 1618 | for(i = starting_point; winner == -1 && i <= strlen(next_piece) != '\0' && i < 512; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~ At top level: string.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: string.c 910 2008-01-14 22:28:38Z hubert@u.washington.edu $"; | ^~~~~ string.c: In function 'short_str': string.c:464:13: warning: 'second' may be used uninitialized in this function [-Wmaybe-uninitialized] 464 | second++; | ~~~~~~^~ string.c:461:8: warning: 'first' may be used uninitialized in this function [-Wmaybe-uninitialized] 461 | q += utf8_to_width(q, src, buflen, first, &got_width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ string.c: In function 'convert_date_to_local': string.c:1349:63: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 16 [-Wformat-truncation=] 1349 | snprintf(datebuf, sizeof(datebuf), "%.3s, %d %.3s %d %02d:%02d:%02d", | ^~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from string.c:59: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 69 bytes into a destination of size 26 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ string.c: In function 'byte_string': string.c:1478:49: warning: '%ld' directive output may be truncated writing between 1 and 19 bytes into a region of size 8 [-Wformat-truncation=] 1478 | snprintf(string, sizeof(string), "%ld.%ld%s%s", ones, tenths, aa, *a ? "B" : "bytes"); | ^~~ string.c:1478:44: note: directive argument in the range [1, 9223372036854775805] 1478 | snprintf(string, sizeof(string), "%ld.%ld%s%s", ones, tenths, aa, *a ? "B" : "bytes"); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from string.c:59: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 5 or more bytes (assuming 27) into a destination of size 10 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ string.c:1476:45: warning: '%ld' directive output may be truncated writing between 1 and 19 bytes into a region of size 10 [-Wformat-truncation=] 1476 | snprintf(string, sizeof(string), "%ld%s%s", ones, aa, *a ? "B" : "bytes"); | ^~~ string.c:1476:44: note: directive argument in the range [0, 9223372036854775807] 1476 | snprintf(string, sizeof(string), "%ld%s%s", ones, aa, *a ? "B" : "bytes"); | ^~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from string.c:59: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 3 or more bytes (assuming 25) into a destination of size 10 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o stream.o stream.c In file included from stream.c:37: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ stream.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: stream.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from stream.c:26: In function 'strncpy', inlined from 'pine_mail_append_full' at stream.c:960:6: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream.c: In function 'pine_mail_append_full': stream.c:958:8: note: length computed here 958 | len = strlen(mailbox); | ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from stream.c:26: In function 'strncpy', inlined from 'pine_mail_copy_full' at stream.c:1120:6: /usr/include/bits/string_fortified.h:91:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream.c: In function 'pine_mail_copy_full': stream.c:1118:8: note: length computed here 1118 | len = strlen(mailbox); | ^~~~~~~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o takeaddr.o takeaddr.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' takeaddr.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: takeaddr.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; | ^~~~~ takeaddr.c: In function 'set_up_takeaddr': takeaddr.c:675:26: warning: 'env' may be used uninitialized in this function [-Wmaybe-uninitialized] 675 | env_for_pico_callback = env; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o adjtime.o adjtime.c adjtime.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: adjtime.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o util.o util.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' util.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: util.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o url.o url.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' url.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: url.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o text.o text.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' text.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: text.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ text.c: In function 'replace_quotes': text.c:855:20: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] 855 | if(strlen(lp) < len) | ~~~~~~~~~~~^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from text.c:27: In function 'strcpy', inlined from 'delete_quotes' at text.c:649:4: /usr/include/bits/string_fortified.h:75:10: warning: 'strcpy' accessing between 1 and 9223372036854775805 bytes may overlap up to 9223372036854775805 bytes [-Wrestrict] 75 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c: In function 'delete_quotes': text.c:638:8: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] 638 | lp += len; | ~~~^~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o thread.o thread.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' thread.c: In function 'set_flags_for_thread': thread.c:112:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 112 | if(next = get_next(stream,thrd)){ | ^~~~ thread.c:119:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 119 | if(branch = get_branch(stream, thrd)){ | ^~~~~~ thread.c: In function 'sort_thread_callback': thread.c:167:32: warning: unused variable 'branch' [-Wunused-variable] 167 | long raw_current, branch; | ^~~~~~ thread.c: In function 'make_thrdflags_consistent': thread.c:446:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 446 | if(next = get_next(stream, thrd)){ | ^~~~ thread.c:456:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 456 | if(branch = get_branch(stream, thrd)){ | ^~~~~~ thread.c: In function 'count_flags_in_thread': thread.c:1008:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1008 | if(next = get_next(stream, thrd)){ | ^~~~ thread.c:1014:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1014 | if(branch = get_branch(stream, thrd)){ | ^~~~~~ thread.c: In function 'mark_msgs_in_thread': thread.c:1110:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1110 | if(next = get_next(stream, thrd)){ | ^~~~ thread.c:1116:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1116 | if(branch = get_branch(stream, thrd)){ | ^~~~~~ thread.c: In function 'set_thread_lflags': thread.c:1175:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1175 | if(next = get_next(stream, thrd)){ | ^~~~ thread.c:1181:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1181 | if(branch = get_branch(stream,thrd)){ | ^~~~~~ thread.c: In function 'to_us_symbol_for_thread': thread.c:1278:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1278 | if(next = get_next(stream,thrd)){ | ^~~~ thread.c: In function 'set_search_bit_for_thread': thread.c:1606:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1606 | if(next= get_next(stream, thrd)){ | ^~~~ thread.c:1612:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1612 | if(branch = get_branch(stream, thrd)){ | ^~~~~~ thread.c: In function 'top_thread': thread.c:1643:20: warning: unused variable 'rawno' [-Wunused-variable] 1643 | unsigned long rawno; | ^~~~~ thread.c: In function 'top_this_thread': thread.c:1669:20: warning: unused variable 'rawno' [-Wunused-variable] 1669 | unsigned long rawno; | ^~~~~ thread.c: In function 'thread_is_kolapsed': thread.c:1708:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1708 | while(collapsed = this_thread_is_kolapsed(state, stream, msgmap, rawno)) | ^~~~~~~~~ thread.c: In function 'this_thread_is_kolapsed': thread.c:1729:26: warning: unused variable 'orig' [-Wunused-variable] 1729 | unsigned long rawno, orig; | ^~~~ thread.c: In function 'count_this_thread': thread.c:1761:34: warning: unused variable 'topnxt' [-Wunused-variable] 1761 | unsigned long top, orig_top, topnxt; | ^~~~~~ thread.c:1761:24: warning: unused variable 'orig_top' [-Wunused-variable] 1761 | unsigned long top, orig_top, topnxt; | ^~~~~~~~ thread.c:1761:19: warning: unused variable 'top' [-Wunused-variable] 1761 | unsigned long top, orig_top, topnxt; | ^~~ thread.c: In function 'find_msgmap': thread.c:1916:16: warning: variable 'thrd' set but not used [-Wunused-but-set-variable] 1916 | PINETHRD_S *thrd; | ^~~~ thread.c:1914:22: warning: unused variable 'nthreads' [-Wunused-variable] 1914 | long tmsg, ntmsg, nthreads; | ^~~~~~~~ thread.c: In function 'move_thread': thread.c:2051:15: warning: variable 'thrd' set but not used [-Wunused-but-set-variable] 2051 | PINETHRD_S *thrd; | ^~~~ thread.c: In function 'move_next_thread': thread.c:2143:9: warning: unused variable 'collapsed' [-Wunused-variable] 2143 | int collapsed, rv = 1, done = 0; | ^~~~~~~~~ In file included from thread.c:30: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ thread.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: thread.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $"; | ^~~~~ thread.c: In function 'msgno_thread_info': thread.c:786:9: warning: 'peltp' may be used uninitialized in this function [-Wmaybe-uninitialized] 786 | if((*peltp)->pthrd == NULL) | ~^~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o smkeys.o smkeys.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' smkeys.c: In function 'ALPINE_self_signed_certificate': smkeys.c:204:59: warning: pointer targets in passing argument 4 of 'X509_NAME_add_entry_by_txt' differ in signedness [-Wpointer-sign] 204 | X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, "Password File Certificate and Key Pair", -1, -1, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from smkeys.h:27, from smkeys.c:38: /usr/include/openssl/x509.h:832:53: note: expected 'const unsigned char *' but argument is of type 'char *' 832 | const unsigned char *bytes, int len, int loc, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ smkeys.c:244:18: warning: unused variable 'tpubkey' [-Wunused-variable] 244 | EVP_PKEY *tpubkey = X509_REQ_get0_pubkey(req); | ^~~~~~~ At top level: smkeys.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: smkeys.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ smkeys.c: In function 'smime_get_date': smkeys.c:668:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1023 [-Wformat-truncation=] 654 | m = iobuf; | ~~~~~ ...... 668 | snprintf(date, sizeof(date), "%s %s %s %s (%s)", d, m, y, t, z); | ^~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from smkeys.c:24: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 7 or more bytes (assuming 4102) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smkeys.c:679:35: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1024 [-Wformat-truncation=] 654 | m = iobuf; | ~~~~~ ...... 679 | snprintf(buf, sizeof(buf), "%s/%s/%s", m, d, y + strlen(y) - 2); | ^~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from smkeys.c:24: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 3 or more bytes (assuming 4098) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smkeys.c: In function 'save_cert_for.part.0': smkeys.c:1057:46: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1057 | snprintf(fpath, sizeof(fpath), "%s%c%s", | ^ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from smkeys.c:24: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o helptext.o helptext.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o smime.o smime.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' smime.c: In function 'setup_pwdcert': smime.c:312:9: warning: the address of 'pathkey' will always evaluate as 'true' [-Waddress] 312 | if((pathkey && *pathkey) || text){ | ^~~~~~~ smime.c: In function 'import_certificate': smime.c:668:46: warning: unused variable 'cert2' [-Wunused-variable] 668 | X509 *cert = p_cert ? p_cert->cert : NULL, *cert2; | ^~~~~ smime.c:859:4: warning: null argument where non-null required (argument 1) [-Wnonnull] 859 | memset((void *)DATACERT(ctype), 0, sizeof(CertList)); | ^~~~~~ smime.c: In function 'smime_extract_and_save_cert': smime.c:2772:10: warning: unused variable 'error' [-Wunused-variable] 2772 | long error; | ^~~~~ smime.c: In function 'decrypt_file': smime.c:3267:10: warning: unused variable 'j' [-Wunused-variable] 3267 | int i, j; | ^ smime.c:3267:7: warning: unused variable 'i' [-Wunused-variable] 3267 | int i, j; | ^ smime.c: In function 'import_certificate': smime.c:773:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 773 | fgets(tmp2, sizeof(tmp2), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: smime.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: smime.c 1176 2008-09-29 21:16:42Z hubert@u.washington.edu $"; | ^~~~~ smime.c: In function 'certlist_from_personal_certs': smime.c:1163:13: warning: 'cl' may be used uninitialized in this function [-Wmaybe-uninitialized] 1163 | cl->next = certlist_from_personal_certs(pc->next); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'setup_pwdcert': smime.c:316:18: warning: 'text' may be used uninitialized in this function [-Wmaybe-uninitialized] 316 | if((pkey = load_pkey_with_prompt(pathkey, text, prompt, NULL)) != NULL){ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'copy_dir_to_container': smime.c:1934:58: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1934 | snprintf(fpath, sizeof(fpath), "%s%c%s", | ^ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from smime.c:28: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 2 or more bytes (assuming 4098) into a destination of size 4097 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'smime_expunge_cert': smime.c:540:5: warning: 'count' may be used uninitialized in this function [-Wmaybe-uninitialized] 540 | q_status_message2(SM_ORDER, 3, 3, _("Removed %s certificate%s"), comatose(count), plural(count)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'do_fiddle_smime_message': smime.c:3112:16: warning: 'bodytext' may be used uninitialized in this function [-Wmaybe-uninitialized] 3112 | result = smime_validate_extra_test(mimetext, mimelen, bodytext, bodylen, p7, flag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c:3065:39: note: 'bodytext' was declared here 3065 | char newSec[100], *mimetext, *bodytext; | ^~~~~~~~ smime.c:3104:7: warning: 'mimetext' may be used uninitialized in this function [-Wmaybe-uninitialized] 3104 | BIO_write(in, mimetext, mimelen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c:3065:28: note: 'mimetext' was declared here 3065 | char newSec[100], *mimetext, *bodytext; | ^~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from smime.c:28: In function 'strncpy', inlined from 'import_certificate' at smime.c:628:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 4097 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'import_certificate' at smime.c:630:8: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 4097 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'import_certificate': smime.c:720:13: warning: 'use_this_file' may be used uninitialized in this function [-Wmaybe-uninitialized] 720 | r = (*pith_smime_import_certificate)(filename, use_this_file, "certificate", sizeof(filename) - 20); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' rm -f libpith.a /usr/bin/ar cru libpith.a ablookup.o abdlc.o addrbook.o addrstring.o adrbklib.o bldaddr.o body.o charset.o color.o conf.o context.o copyaddr.o detoken.o detach.o editorial.o escapes.o filter.o flag.o folder.o handle.o help.o helpindx.o hist.o icache.o ical.o imap.o init.o keyword.o ldap.o list.o mailcap.o mailcmd.o mailindx.o maillist.o mailview.o margin.o mimedesc.o mimetype.o msgno.o newmail.o news.o pattern.o pipe.o readfile.o remote.o reply.o rfc2231.o rules.o save.o search.o sequence.o send.o sort.o state.o status.o store.o stream.o string.o strlst.o takeaddr.o tempfile.o text.o thread.o adjtime.o url.o util.o helptext.o smkeys.o smime.o ranlib libpith.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' Making all in pico Making all in osdep make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o chkpoint.o chkpoint.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' chkpoint.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: chkpoint.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o altedit.o altedit.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' altedit.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: altedit.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $"; | ^~~~~ altedit.c: In function 'alt_editor': altedit.c:133:10: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 133 | *wsp = c; | ~~~~~^~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fsync.o fsync.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filesys.o filesys.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' filesys.c: In function 'ffelbowroom': filesys.c:1008:12: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1008 | (void) ftruncate(fileno(g_pico_fio.fp), (off_t) fsbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: filesys.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: filesys.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../../include/system.h:45, from filesys.c:19: In function 'strncpy', inlined from 'gethomedir' at filesys.c:244:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filesys.c: In function 'gethomedir': filesys.c:238:9: note: length computed here 238 | hlen = strlen(buf); | ^~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mouse.o mouse.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' mouse.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: mouse.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newmail.o newmail.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' newmail.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: newmail.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o getkey.o getkey.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' getkey.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: getkey.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o popen.o popen.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' popen.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: popen.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o raw.o raw.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' raw.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: raw.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o read.o read.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' read.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: read.c 763 2007-10-23 23:37:34Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o color.o color.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' color.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: color.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../../include/system.h:45, from color.c:20: In function 'strncpy', inlined from 'pico_nfcolor' at color.c:1105:4, inlined from 'pico_nfcolor' at color.c:1089:1: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 12 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pico_rfcolor' at color.c:1156:4, inlined from 'pico_rfcolor' at color.c:1140:1: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 12 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'color_to_asciirgb' at color.c:1683:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying 11 bytes from a string of the same length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'color_to_asciirgb' at color.c:1685:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ color.c: In function 'color_to_asciirgb': color.c:1684:6: note: length computed here 1684 | l = strlen(colorName); | ^~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o shell.o shell.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' shell.c: In function 'bktoshell': shell.c:108:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | system((shell = (char *)getenv("SHELL")) ? shell : "/bin/csh"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: shell.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: shell.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o signals.o signals.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' signals.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: signals.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ signals.c: In function 'winch_handler': signals.c:117:29: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] 117 | Pmaster->arm_winch_cleanup = i; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o truncate.o truncate.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o spell.o spell.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' spell.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: spell.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o tty.o tty.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' tty.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: tty.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o terminal.o terminal.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' terminal.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: terminal.c 921 2008-01-31 02:09:25Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' rm -f libpicoosd.a /usr/bin/ar cru libpicoosd.a altedit.o chkpoint.o color.o filesys.o fsync.o getkey.o mouse.o newmail.o popen.o raw.o read.o shell.o signals.o spell.o terminal.o truncate.o tty.o ranlib libpicoosd.a make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o bind.o bind.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' bind.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: bind.c 857 2007-12-08 00:49:45Z hubert@u.washington.edu $"; | ^~~~~ bind.c: In function 'wscrollw': bind.c:290:10: warning: 'cont' may be used uninitialized in this function [-Wmaybe-uninitialized] 290 | if(cont) | ^ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o buffer.o buffer.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' buffer.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: buffer.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o basic.o basic.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' basic.c: In function 'gotobop': basic.c:365:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 358 | || (lback(curwp->w_dotp) != curbp->b_linep | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 359 | && llength(lback(curwp->w_dotp)) > qlen | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | && (quoted == quote_match(default_qstr(glo_quote_str, 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 361 | lback(curwp->w_dotp), pqstr, NLINE, 0)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 362 | && !strcmp(qstr, pqstr) | ~~~~~~~~~~~~~~~~~~~~~~~ 363 | && !ISspace(lgetc(curwp->w_dotp, qlen).c) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 364 | && (strlenis(qstr2) > strlenis(qstr))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 365 | && !qstr2[i] && !qstr[j]) | ~~~~~~~~~~~~~^~~~~~~~~~~ basic.c: In function 'GetAccent': basic.c:407:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 407 | else | ^~~~ basic.c:413:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 413 | return accent(c,d); | ^~~~~~ basic.c: In function 'pineaccent': basic.c:420:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 420 | if (e = GetAccent()) | ^ basic.c: In function 'gotoeop': basic.c:587:33: warning: unused variable 'changeqstr' [-Wunused-variable] 587 | int quoted, qlen, indented, changeqstr = 0; | ^~~~~~~~~~ At top level: basic.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: basic.c 831 2007-11-27 01:04:19Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o attach.o attach.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' attach.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: attach.c 1082 2008-06-12 18:39:50Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from attach.c:21: In function 'strncpy', inlined from 'AskAttach' at attach.c:351:4: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attach.c: In function 'AskAttach': attach.c:343:10: note: length computed here 343 | len = strlen(fn); | ^~~~~~~~~~ attach.c:168:39: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 500 [-Wformat-truncation=] 168 | snprintf(bfn, sizeof(bfn), "%s%c%.*s", | ^~ attach.c:168:36: note: assuming directive output of 1 byte 168 | snprintf(bfn, sizeof(bfn), "%s%c%.*s", | ^~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from headers.h:30, from attach.c:21: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 2147484149 bytes into a destination of size 500 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from attach.c:21: In function 'strncpy', inlined from 'AskAttach' at attach.c:226:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attach.c: In function 'AskAttach': attach.c:214:52: note: length computed here 214 | if (upload && (strlen(fn)+strlen(S_FILESEP)+strlen(bfn)) < sizeof(fn)){ | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from attach.c:21: In function 'strncpy', inlined from 'AskAttach' at attach.c:228:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attach.c: In function 'AskAttach': attach.c:214:23: note: length computed here 214 | if (upload && (strlen(fn)+strlen(S_FILESEP)+strlen(bfn)) < sizeof(fn)){ | ^~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from attach.c:21: In function 'strncpy', inlined from 'NewAttach' at attach.c:1291:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attach.c: In function 'NewAttach': attach.c:1284:11: note: length computed here 1284 | len = strlen(f); | ^~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from attach.c:21: In function 'strncpy', inlined from 'NewAttach' at attach.c:1319:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attach.c: In function 'NewAttach': attach.c:1310:11: note: length computed here 1310 | len = strlen(c); | ^~~~~~~~~ attach.c: In function 'ParseAttach': attach.c:741:13: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] 741 | *off += j - 1; | ~~^~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from attach.c:21: In function 'strncpy', inlined from 'SyncAttach' at attach.c:545:7: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attach.c: In function 'SyncAttach': attach.c:536:13: note: length computed here 536 | if((j=strlen(file)) > strlen(tp->filename)){ | ^~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from attach.c:21: In function 'strncpy', inlined from 'SyncAttach' at attach.c:559:7: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attach.c: In function 'SyncAttach': attach.c:550:13: note: length computed here 550 | if((j=strlen(size)) > strlen(tp->size)){ | ^~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from attach.c:21: In function 'strncpy', inlined from 'SyncAttach' at attach.c:574:7: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attach.c: In function 'SyncAttach': attach.c:565:13: note: length computed here 565 | if((j=strlen(comment)) > strlen(tp->description)){ | ^~~~~~~~~~~~~~~ attach.c:622:7: warning: 'bld' may be used uninitialized in this function [-Wmaybe-uninitialized] 622 | if(bld) | ^ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o browse.o browse.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' browse.c: In function 'FileBrowse': browse.c:1710:10: warning: the address of 'pat' will always evaluate as 'true' [-Waddress] 1710 | if(pat && pat[0]) | ^~~ browse.c: In function 'p_chdir': browse.c:2741:7: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 2741 | chdir(mp->dname); | ^~~~~~~~~~~~~~~~ At top level: browse.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: browse.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from browse.c:43: In function 'strncpy', inlined from 'add_cell_to_lmlist' at browse.c:2035:2, inlined from 'add_cell_to_lmlist' at browse.c:2020:1: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c: In function 'add_cell_to_lmlist': browse.c:2028:42: note: length computed here 2028 | (new->dir=malloc(sizeof(char)*((dlen=strlen(mp->dname))+1))) == NULL){ | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from browse.c:43: In function 'strncpy', inlined from 'getfcells' at browse.c:1938:4: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c: In function 'getfcells': browse.c:1924:42: note: length computed here 1924 | if ((flength = strlen(ncp->fname) + 1 + strlen(dname)) < sizeof(mp->dname)){ | ^~~~~~~~~~~~~ browse.c:1915:16: warning: 'tcp' may be used uninitialized in this function [-Wmaybe-uninitialized] 1915 | ncp->prev = tcp; | ~~~~~~~~~~^~~~~ browse.c: In function 'FileBrowse': browse.c:1391:38: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1391 | snprintf(tmp, sizeof(tmp), "%s%c%s", gmp->dname, C_FILESEP, | ^ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 2 or more bytes (assuming 501) into a destination of size 500 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:801:44: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 801 | snprintf(child, sizeof(child), "%s%c%s", gmp->dname, C_FILESEP, | ^ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 2 or more bytes (assuming 501) into a destination of size 500 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:710:41: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 710 | snprintf(child, sizeof(child), "%s%c%s", gmp->dname, C_FILESEP, | ^ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 2 or more bytes (assuming 501) into a destination of size 500 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:869:44: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 869 | snprintf(child, sizeof(child), "%s%c%s", gmp->dname, C_FILESEP, | ^ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 2 or more bytes (assuming 501) into a destination of size 500 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:1273:41: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1273 | snprintf(tmp, sizeof(tmp), "%s%c%s", gmp->dname, C_FILESEP, | ^ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 2 or more bytes (assuming 501) into a destination of size 500 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:1548:41: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1548 | snprintf(child, sizeof(child), "%s%c%s", gmp->dname, C_FILESEP, | ^ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 2 or more bytes (assuming 501) into a destination of size 500 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fileio.o fileio.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' fileio.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: fileio.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o file.o file.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' file.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: file.c 1082 2008-06-12 18:39:50Z hubert@u.washington.edu $"; | ^~~~~ file.c: In function 'insfile': file.c:166:54: warning: '%s' directive output may be truncated writing up to 500 bytes into a region of size 44 [-Wformat-truncation=] 166 | snprintf(prompt, sizeof(prompt), "%s to insert from %s %s: ", | ^~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from headers.h:30, from file.c:29: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 33 and 533 bytes into a destination of size 64 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from file.c:29: In function 'strncat', inlined from 'insfile' at file.c:276:10: /usr/include/bits/string_fortified.h:122:10: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c: In function 'insfile': file.c:270:44: note: length computed here 270 | len = strlen(dir)+strlen(S_FILESEP)+strlen(fname); | ^~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o line.o line.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' line.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: line.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ line.c: In function 'lalloc': line.c:92:16: warning: 'lp' may be used uninitialized in this function [-Wmaybe-uninitialized] 92 | lp->l_used = used; | ~~~~~~~~~~~^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o random.o random.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' random.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: random.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ random.c: In function 'showcpos': random.c:73:78: warning: '%ld' directive output may be truncated writing between 1 and 19 bytes into a region of size between 0 and 46 [-Wformat-truncation=] 73 | snprintf(buffer,sizeof(buffer),"line %d of %d (%d%%%%), character %ld of %ld (%d%%%%)", | ^~~ random.c:73:36: note: directive argument in the range [0, 9223372036854775807] 73 | snprintf(buffer,sizeof(buffer),"line %d of %d (%d%%%%), character %ld of %ld (%d%%%%)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from headers.h:30, from random.c:26: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 42 and 116 bytes into a destination of size 80 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ random.c:73:5: warning: 'thisline' may be used uninitialized in this function [-Wmaybe-uninitialized] 73 | snprintf(buffer,sizeof(buffer),"line %d of %d (%d%%%%), character %ld of %ld (%d%%%%)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | thisline+1, lines+1, (int)((100L*(thisline+1))/(lines+1)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | nbc, nch, (nch) ? (int)((100L*nbc)/nch) : 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pico.o pico.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' pico.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: pico.c 921 2008-01-31 02:09:25Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from pico.c:70: In function 'strncpy', inlined from 'register_key' at pico.c:1533:2, inlined from 'register_key' at pico.c:1498:1: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pico.c: In function 'register_key': pico.c:1531:13: note: length computed here 1531 | len = strlen(label); | ^~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o display.o display.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' display.c: In function 'update': display.c:428:13: warning: unused variable 'quoted' [-Wunused-variable] 428 | int quoted; | ^~~~~~ display.c: In function 'updatelinecolor': display.c:1000:17: warning: unused variable 'qcolor' [-Wunused-variable] 1000 | COLOR_PAIR *qcolor = NULL, *lastc = NULL, *pcolor = NULL; | ^~~~~~ display.c:998:21: warning: unused variable 'quote_found' [-Wunused-variable] 998 | int in_quote, quote_found = 0, level; | ^~~~~~~~~~~ display.c:995:47: warning: unused variable 'cp7' [-Wunused-variable] 995 | CELL *cp1, *cp2, *cp3, *cp4, *cp5, *cp6, *cp7; | ^~~ display.c:995:41: warning: unused variable 'cp6' [-Wunused-variable] 995 | CELL *cp1, *cp2, *cp3, *cp4, *cp5, *cp6, *cp7; | ^~~ display.c: In function 'speller_choice': display.c:1593:8: warning: unused variable 'utf8_prompt' [-Wunused-variable] 1593 | char *utf8_prompt; | ^~~~~~~~~~~ display.c:1591:6: warning: variable 'buf' set but not used [-Wunused-but-set-variable] 1591 | UCS buf[128]; | ^~~ display.c: In function 'mlchoose': display.c:1644:14: warning: unused variable 'changed' [-Wunused-variable] 1644 | int changed = FALSE; | ^~~~~~~ display.c: In function 'mlreplyd': display.c:2215:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2215 | if (c = GetAccent()) | ^ At top level: display.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: display.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $"; | ^~~~~ display.c: In function 'window_signature_block': display.c:397:7: warning: 'is_sig_start' may be used uninitialized in this function [-Wmaybe-uninitialized] 397 | if(is_sig_start == 0) in_sig = 0; | ^ display.c: In function 'modeline': display.c:1400:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 494 [-Wformat-truncation=] 1400 | snprintf(t2, sizeof(t2), "File: %s", bp->b_fname); | ^~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from headers.h:30, from display.c:38: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 7 and 4102 bytes into a destination of size 500 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1437:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 500 [-Wformat-truncation=] 1437 | snprintf(t2, sizeof(t2), "%s", bp->b_fname); | ^~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from headers.h:30, from display.c:38: /usr/include/bits/stdio2.h:70:10: note: 'snprintf' output between 1 and 4096 bytes into a destination of size 500 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c: In function 'update': display.c:557:28: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] 557 | j = wp->w_ntrows - (j-i); /* we chose new top line! */ | ~~^~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o region.o region.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' region.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: region.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o window.o window.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' window.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: window.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o composer.o composer.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' composer.c: In function 'LineEdit': composer.c:2101:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2101 | if (ch = GetAccent()) | ^~ At top level: composer.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: composer.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from headers.h:30, from composer.c:46: In function 'strncpy', inlined from 'save_pico_state' at composer.c:4699:7: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ composer.c: In function 'save_pico_state': composer.c:4699:40: note: length computed here 4699 | strncpy(ret->opertree, opertree, strlen(opertree)+1); | ^~~~~~~~~~~~~~~~ composer.c: In function 'call_builder': composer.c:3689:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 3689 | *sbuf = '\0'; | ~~~~~~^~~~~~ composer.c:3684:22: note: at offset 0 to an object with size 0 allocated by 'malloc' here 3684 | if((sbuf=(char *)malloc(sbuflen * sizeof(*sbuf))) == NULL){ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o utf8stub.o utf8stub.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' utf8stub.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: utf8stub.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o search.o search.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' search.c: In function 'forwsearch': search.c:441:42: warning: the address of 'defpat' will always evaluate as 'true' [-Waddress] 441 | utf8 = sucs4_to_utf8_cpystr(defpat ? defpat : x, flags & SR_BACKWRD); | ^ search.c: In function 'replace_pat': search.c:483:11: warning: unused variable 'i' [-Wunused-variable] 483 | int i, flags; | ^ At top level: search.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: search.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o word.o word.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' word.c: In function 'fillpara': word.c:669:19: warning: unused variable 'qstr2' [-Wunused-variable] 669 | UCS *qstr, qstr2[NSTRING], c; | ^~~~~ word.c: In function 'fpnewline': word.c:1202:6: warning: unused variable 'ww' [-Wunused-variable] 1202 | int ww; | ^~ At top level: word.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: word.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o main.o main.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' main.c: In function 'main': main.c:288:8: warning: the address of 'opertree' will always evaluate as 'true' [-Waddress] 288 | if(opertree && opertree[0]){ | ^~~~~~~~ main.c: In function 'display_color_codes': main.c:523:9: warning: unused variable 'fg' [-Wunused-variable] 523 | char *fg; | ^~ main.c:520:38: warning: unused variable 'row' [-Wunused-variable] 520 | int i, j, k, l, a, len, len_entry, row; | ^~~ main.c:520:27: warning: unused variable 'len_entry' [-Wunused-variable] 520 | int i, j, k, l, a, len, len_entry, row; | ^~~~~~~~~ main.c:520:22: warning: unused variable 'len' [-Wunused-variable] 520 | int i, j, k, l, a, len, len_entry, row; | ^~~ main.c:520:10: warning: unused variable 'j' [-Wunused-variable] 520 | int i, j, k, l, a, len, len_entry, row; | ^ At top level: main.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: main.c 1184 2008-12-16 23:52:15Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' rm -f libpico.a /usr/bin/ar cru libpico.a attach.o basic.o bind.o browse.o buffer.o composer.o display.o file.o fileio.o line.o pico.o random.o region.o search.o window.o word.o ranlib libpico.a make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pilot.o pilot.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' pilot.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: pilot.c 1184 2008-12-16 23:52:15Z hubert@u.washington.edu $"; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -Wl,--as-needed -o pilot pilot.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 libtool: link: gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -o pilot pilot.o utf8stub.o ../c-client/utf8.o -L/usr/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 -pthread In function 'strncpy', inlined from 'add_to_color_name_list.part.0' at osdep/color.c:840:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ osdep/color.c: In function 'add_to_color_name_list.part.0': osdep/color.c:836:26: note: length computed here 836 | new_name->namelen = strlen(name); | ^ In function 'strncpy', inlined from 'gethomedir' at osdep/filesys.c:244:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ osdep/filesys.c: In function 'gethomedir': osdep/filesys.c:238:9: note: length computed here 238 | hlen = strlen(buf); | ^ In function 'strncpy', inlined from 'fname_to_locale' at ../pith/charconv/filesys.c:80:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pith/charconv/filesys.c: In function 'fname_to_locale': ../pith/charconv/filesys.c:76:25: note: length computed here 76 | fname_locale_len = strlen(converted_fname)+1; | ^ In function 'strncpy', inlined from 'getfcells' at browse.c:1938:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ browse.c: In function 'getfcells': browse.c:1924:42: note: length computed here 1924 | if ((flength = strlen(ncp->fname) + 1 + strlen(dname)) < sizeof(mp->dname)){ | ^ In function 'strncpy', inlined from 'save_pico_state' at composer.c:4699:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ composer.c: In function 'save_pico_state': composer.c:4699:40: note: length computed here 4699 | strncpy(ret->opertree, opertree, strlen(opertree)+1); | ^ In function 'strncpy', inlined from 'our_rename' at ../pith/charconv/filesys.c:492:2, inlined from 'FileBrowse' at browse.c:1394:7, inlined from 'main' at pilot.c:221:5: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ pilot.c: In function 'main': ../pith/charconv/filesys.c:490:8: note: length computed here 490 | len = strlen(p); | ^ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -Wl,--as-needed -o pico main.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 libtool: link: gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -o pico main.o utf8stub.o ../c-client/utf8.o -L/usr/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 -pthread make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' Making all in alpine In function 'strncpy', inlined from 'our_rename' at ../pith/charconv/filesys.c:492:2, inlined from 'FileBrowse.constprop' at browse.c:1394:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ browse.c: In function 'FileBrowse.constprop': ../pith/charconv/filesys.c:490:8: note: length computed here 490 | len = strlen(p); | ^ In function 'strncpy', inlined from 'AskAttach' at attach.c:351:4, inlined from 'HeaderEditorWork.constprop' at composer.c:799:11: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ composer.c: In function 'HeaderEditorWork.constprop': attach.c:343:10: note: length computed here 343 | len = strlen(fn); | ^ In function 'strncpy', inlined from 'AskAttach' at attach.c:226:3, inlined from 'HeaderEditorWork.constprop' at composer.c:799:11: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ composer.c: In function 'HeaderEditorWork.constprop': attach.c:214:52: note: length computed here 214 | if (upload && (strlen(fn)+strlen(S_FILESEP)+strlen(bfn)) < sizeof(fn)){ | ^ In function 'strncpy', inlined from 'AskAttach' at attach.c:228:3, inlined from 'HeaderEditorWork.constprop' at composer.c:799:11: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ composer.c: In function 'HeaderEditorWork.constprop': attach.c:214:23: note: length computed here 214 | if (upload && (strlen(fn)+strlen(S_FILESEP)+strlen(bfn)) < sizeof(fn)){ | ^ In function 'strncpy', inlined from 'add_to_color_name_list.part.0' at osdep/color.c:840:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ osdep/color.c: In function 'add_to_color_name_list.part.0': osdep/color.c:836:26: note: length computed here 836 | new_name->namelen = strlen(name); | ^ In function 'strncpy', inlined from 'pico_get_last_bg_color' at osdep/color.c:1722:2, inlined from 'tinfoeeol' at osdep/terminal.c:750:18, inlined from 'tinfoeeol' at osdep/terminal.c:736:1: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ osdep/terminal.c: In function 'tinfoeeol': osdep/color.c:1720:13: note: length computed here 1720 | len = strlen(_last_bg_color); | ^ In function 'strncpy', inlined from 'gethomedir' at osdep/filesys.c:244:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ osdep/filesys.c: In function 'gethomedir': osdep/filesys.c:238:9: note: length computed here 238 | hlen = strlen(buf); | ^ In function 'strncpy', inlined from 'SyncAttach' at attach.c:574:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ attach.c: In function 'SyncAttach': attach.c:565:13: note: length computed here 565 | if((j=strlen(comment)) > strlen(tp->description)){ | ^ In function 'strncpy', inlined from 'NewAttach' at attach.c:1291:5, inlined from 'SyncAttach' at attach.c:586:12: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ attach.c: In function 'SyncAttach': attach.c:1284:11: note: length computed here 1284 | len = strlen(f); | ^ In function 'strncpy', inlined from 'NewAttach' at attach.c:1319:5, inlined from 'SyncAttach' at attach.c:586:12: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ attach.c: In function 'SyncAttach': attach.c:1310:11: note: length computed here 1310 | len = strlen(c); | ^ In function 'strncpy', inlined from 'save_pico_state' at composer.c:4699:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ composer.c: In function 'save_pico_state': composer.c:4699:40: note: length computed here 4699 | strncpy(ret->opertree, opertree, strlen(opertree)+1); | ^ composer.c: In function 'call_builder': composer.c:3689:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 3689 | *sbuf = '\0'; | ^ composer.c:3684:22: note: at offset 0 to an object with size 0 allocated by 'malloc' here 3684 | if((sbuf=(char *)malloc(sbuflen * sizeof(*sbuf))) == NULL){ | ^ In function 'strncat', inlined from 'insfile' at file.c:276:10: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^ file.c: In function 'insfile': file.c:270:44: note: length computed here 270 | len = strlen(dir)+strlen(S_FILESEP)+strlen(fname); | ^ In function 'strncpy', inlined from 'getfcells' at browse.c:1938:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ browse.c: In function 'getfcells': browse.c:1924:42: note: length computed here 1924 | if ((flength = strlen(ncp->fname) + 1 + strlen(dname)) < sizeof(mp->dname)){ | ^ In function 'strncpy', inlined from 'fname_to_locale' at ../pith/charconv/filesys.c:80:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pith/charconv/filesys.c: In function 'fname_to_locale': ../pith/charconv/filesys.c:76:25: note: length computed here 76 | fname_locale_len = strlen(converted_fname)+1; | ^ make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' echo "char datestamp[]="\"Fri Nov 27 13:05:48 EST 2020\"";" > date.c echo "char hoststamp[]="\"\"";" >> date.c echo "char configoptions[]="\"`../config.status --config`\"";" >> date.c cat ../patchlevel >> date.c make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' /usr/bin/make all-recursive Making all in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o diskquot.non.o diskquot.non.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' diskquot.non.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: diskquot.non.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o chnge_pw.o chnge_pw.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' chnge_pw.c: In function 'change_passwd': chnge_pw.c:59:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | system(cmd_buf); | ^~~~~~~~~~~~~~~ At top level: chnge_pw.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: chnge_pw.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o execview.o execview.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' execview.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: execview.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fltrname.o fltrname.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' fltrname.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: fltrname.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ fltrname.c: In function 'filter_filename': fltrname.c:94:37: warning: '" not allowed in file name' directive output may be truncated writing 26 bytes into a region of size between 25 and 80 [-Wformat-truncation=] 94 | "Character \"%s\" after \"%.*s\" not allowed in file name", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/system.h:31, from fltrname.c:22: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 47 or more bytes (assuming 102) into a destination of size 100 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o jobcntrl.o jobcntrl.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' jobcntrl.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: jobcntrl.c 765 2007-10-23 23:51:37Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o debuging.o debuging.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' debuging.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: debuging.c 900 2008-01-05 01:13:26Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o print.o print.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' In file included from print.c:36: print.c: In function 'open_printer': print.c:337:17: warning: the address of 'command' will always evaluate as 'true' [-Waddress] 337 | command ? command : "?")); | ^ ../../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ At top level: print.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: print.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $"; | ^~~~~ print.c: In function 'open_printer': print.c:226:5: warning: 'lastprinter' may be used uninitialized in this function [-Wmaybe-uninitialized] 224 | cur_printer = (cur_printer 1) | ^~ alpine.c:3140:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3140 | ps->initial_cmds[i] = ps->initial_cmds_backup[i] = 0; | ^~ In file included from mailcmd.h:26, from alpine.c:35: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ alpine.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: alpine.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o addrbook.o addrbook.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from mailcmd.h:26, from addrbook.c:29: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ addrbook.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: addrbook.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from addrbook.c:25: In function 'strncpy', inlined from 'get_abook_display_line' at addrbook.c:787:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 2999 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addrbook.c: In function 'paint_line': addrbook.c:485:20: warning: 'save_char' may be used uninitialized in this function [-Wmaybe-uninitialized] 485 | *end_hilite_here = save_char; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ addrbook.c: In function 'resync_screen': addrbook.c:6220:8: warning: 'old_global_row' may be used uninitialized in this function [-Wmaybe-uninitialized] 6220 | warp_to_dlc(&dlc_restart, old_global_row); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addrbook.c:6219:8: warning: 'old_entry_num' may be used uninitialized in this function [-Wmaybe-uninitialized] 6219 | if(old_entry_num == new_entry_num) | ^ addrbook.c: In function 'addr_book': addrbook.c:3394:17: warning: 'old_l_p_p' may be used uninitialized in this function [-Wmaybe-uninitialized] 3394 | if(!warped && old_l_p_p == as.l_p_page){ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ addrbook.c:3395:18: warning: 'old_top_ent' may be used uninitialized in this function [-Wmaybe-uninitialized] 3395 | as.top_ent = old_top_ent; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ addrbook.c:3396:18: warning: 'old_cur_row' may be used uninitialized in this function [-Wmaybe-uninitialized] 3396 | as.cur_row = old_cur_row; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ addrbook.c:3874:19: warning: 'def_key' may be used uninitialized in this function [-Wmaybe-uninitialized] 3874 | switch(km->keys[def_key].bind.cmd){ | ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o adrbkcmd.o adrbkcmd.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' adrbkcmd.c: In function 'convert_abook_to_remote': adrbkcmd.c:2189:27: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 2189 | snprintf(nick, sizeof(nick), "Remote %s", | ^ In file included from ../pith/headers.h:63, from headers.h:25, from adrbkcmd.c:25: adrbkcmd.c: In function 'ab_export': adrbkcmd.c:4275:19: warning: the address of 'full_filename' will always evaluate as 'true' [-Waddress] 4275 | full_filename ? full_filename : "?")); | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ adrbkcmd.c:4469:23: warning: the address of 'full_filename' will always evaluate as 'true' [-Waddress] 4469 | full_filename ? full_filename : "?", | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ In file included from mailcmd.h:26, from adrbkcmd.c:32: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ adrbkcmd.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: adrbkcmd.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ adrbkcmd.c: In function 'view_abook_entry': adrbkcmd.c:348:21: warning: 'old_cur_row' may be used uninitialized in this function [-Wmaybe-uninitialized] 348 | as.cur_row = old_cur_row; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ adrbkcmd.c:347:21: warning: 'old_top_ent' may be used uninitialized in this function [-Wmaybe-uninitialized] 347 | as.top_ent = old_top_ent; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ adrbkcmd.c:346:44: warning: 'old_l_p_p' may be used uninitialized in this function [-Wmaybe-uninitialized] 346 | if(sargs.proc.data.i != VIEW_ABOOK_WARPED && old_l_p_p == as.l_p_page){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ adrbkcmd.c: In function 'convert_abook_to_remote': adrbkcmd.c:2189:43: warning: '%s' directive output may be truncated writing likely 12 or more bytes into a region of size 1 [-Wformat-truncation=] 2189 | snprintf(nick, sizeof(nick), "Remote %s", | ^~ adrbkcmd.c:2189:35: note: assuming directive output of 12 bytes 2189 | snprintf(nick, sizeof(nick), "Remote %s", | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from adrbkcmd.c:25: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 8 or more bytes (assuming 20) into a destination of size 8 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ adrbkcmd.c: In function 'convert_to_remote_config': adrbkcmd.c:2727:13: warning: 'sigs' may be used uninitialized in this function [-Wmaybe-uninitialized] 2727 | else if(!(abooks || sigs)) | ^~~~~~~~~~~~~~~~~ adrbkcmd.c:2727:13: warning: 'abooks' may be used uninitialized in this function [-Wmaybe-uninitialized] adrbkcmd.c: In function 'ab_del_abook': adrbkcmd.c:3413:52: warning: 'how_many_in_list' may be used uninitialized in this function [-Wmaybe-uninitialized] 3413 | new_list = (char **)fs_get((how_many_in_list + 1) * sizeof(char *)); | ~~~~~~~~~~~~~~~~~~^~~~ adrbkcmd.c: In function 'ab_forward': adrbkcmd.c:4661:10: warning: 'abe' may be used uninitialized in this function [-Wmaybe-uninitialized] 4661 | for(ll = abe->addr.list; ll && *ll; ll++){ | ~~~^~~~~~~~~~~~~~~~ adrbkcmd.c: In function 'ab_export': adrbkcmd.c:4473:15: warning: 'orig_errno' may be used uninitialized in this function [-Wmaybe-uninitialized] 4473 | filename, error_description(orig_errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from adrbkcmd.c:25: In function 'strncpy', inlined from 'ab_save' at adrbkcmd.c:5327:8: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ adrbkcmd.c: In function 'ab_agg_delete': adrbkcmd.c:6218:18: warning: 'newelnum' may be used uninitialized in this function [-Wmaybe-uninitialized] 6218 | newelnum--; | ~~~~~~~~^~ adrbkcmd.c: In function 'single_entry_delete': adrbkcmd.c:6389:27: warning: 'dname' may be used uninitialized in this function [-Wmaybe-uninitialized] 6389 | dname = dname ? dname : ""; | ~~~~~~~~~~~~~~^~~~ adrbkcmd.c:6390:27: warning: 'cmd' may be used uninitialized in this function [-Wmaybe-uninitialized] 6390 | cmd = cmd ? cmd : ""; | ~~~~~~~~~~~~~~^~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o colorconf.o colorconf.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from context.h:23, from conftype.h:24, from colorconf.h:21, from colorconf.c:21: colorconf.c: In function 'color_text_tool': ../pith/conf.h:865:25: warning: the address of 'v' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ colorconf.c:1113:13: note: in expansion of macro 'APVAL' 1113 | apval = APVAL(&v, ew); | ^~~~~ colorconf.c: In function 'color_update_selected': colorconf.c:2582:30: warning: variable 'bg_is_custom' set but not used [-Wunused-but-set-variable] 2582 | int i, fg_is_custom = 1, bg_is_custom = 1; | ^~~~~~~~~~~~ colorconf.c:2582:12: warning: variable 'fg_is_custom' set but not used [-Wunused-but-set-variable] 2582 | int i, fg_is_custom = 1, bg_is_custom = 1; | ^~~~~~~~~~~~ In file included from context.h:23, from conftype.h:24, from colorconf.h:21, from colorconf.c:21: colorconf.c: In function 'color_edit_screen': ../pith/conf.h:865:25: warning: the address of 'v' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ colorconf.c:2839:10: note: in expansion of macro 'APVAL' 2839 | apval = APVAL(&v, ew); | ^~~~~ In file included from colorconf.c:31: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ colorconf.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: colorconf.c 934 2008-02-23 00:44:29Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o dispfilt.o dispfilt.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' dispfilt.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: dispfilt.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from dispfilt.c:25: In function 'strncpy', inlined from 'expand_filter_tokens' at dispfilt.c:206:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispfilt.c: In function 'expand_filter_tokens': dispfilt.c:206:25: note: length computed here 206 | strncpy(bp, filter, strlen(filter)+1); | ^~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o flagmaint.o flagmaint.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from flagmaint.c:25: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ flagmaint.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: flagmaint.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o context.o context.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from mailcmd.h:26, from context.c:27: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ context.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: context.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help.o help.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' help.c: In function 'helper_internal': help.c:139:35: warning: pointer targets in passing argument 1 of 'http_get' differ in signedness [-Wpointer-sign] 139 | help_text = http_get(*shown_text + 14, &status); | ~~~~~~~~~~~~^~~~ | | | char * In file included from ../pith/headers.h:34, from headers.h:25, from help.c:19: ../pith/../c-client/http.h:112:25: note: expected 'unsigned char *' but argument is of type 'char *' 112 | unsigned char *http_get(unsigned char *, int *); | ^~~~~~~~~~~~~~~ help.c:139:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 139 | help_text = http_get(*shown_text + 14, &status); | ^ help.c:371:44: warning: value computed is not used [-Wunused-value] 371 | for(rv = external_text; *rv != NULL; *rv++) | ^~~~~ In file included from mailcmd.h:26, from help.c:25: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ help.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: help.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o init.o init.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' init.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: init.c 101 2006-08-10 22:53:04Z mikes@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o confscroll.o confscroll.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' confscroll.c: In function 'conf_scroll_screen': confscroll.c:472:23: warning: unused variable 'k' [-Wunused-variable] 472 | int cmd, i, j, k = 1, done = 0, changes = 0; | ^ In file included from confscroll.c:55: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from mailcmd.h:26, from confscroll.c:31: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ confscroll.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: confscroll.c 1169 2008-08-27 06:42:06Z hubert@u.washington.edu $"; | ^~~~~ confscroll.c: In function 'text_pretty_value': confscroll.c:3989:30: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] 3989 | p += utf8_to_width(p, lval[cl->varmem], sizeof(tmp)-(p-tmp), avail_width, &got_width); | ^ confscroll.c:3993:9: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] 3993 | p += utf8_to_width(p, pval, sizeof(tmp)-(p-tmp), avail_width, &got_width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ confscroll.c:4047:13: warning: 'lvalexc' may be used uninitialized in this function [-Wmaybe-uninitialized] 4047 | the_list++; | ~~~~~~~~^~ confscroll.c: In function 'update_option_screen': confscroll.c:3232:9: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] 3232 | char *p; | ^ confscroll.c: In function 'text_toolit': confscroll.c:1981:27: warning: 'incr' may be used uninitialized in this function [-Wmaybe-uninitialized] 1981 | numval = MAX(numval - incr, lowrange); | ^ confscroll.c:2328:31: warning: 'hirange' may be used uninitialized in this function [-Wmaybe-uninitialized] 2328 | _("Maximum value is %s"), comatose(hirange)); | ^~~~~~~~~~~~~~~~~ confscroll.c:2311:31: warning: 'lowrange' may be used uninitialized in this function [-Wmaybe-uninitialized] 2311 | _("Minimum value is %s"), comatose(lowrange)); | ^~~~~~~~~~~~~~~~~~ confscroll.c:2420:18: warning: 'alval' may be used uninitialized in this function [-Wmaybe-uninitialized] 2420 | swap_val = (*alval)[curindex]; | ~^~~~~~~ confscroll.c:1824:22: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] 1824 | && lval && lval[0] && lval[0][0] | ~~~~^~~ confscroll.c:2101:9: warning: 'apval' may be used uninitialized in this function [-Wmaybe-uninitialized] 2101 | fs_give((void **)apval); | ^~~~~~~~~~~~~~~~~~~~~~~ confscroll.c:2076:10: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] 2076 | ? (!*pval) | ^~~~~ confscroll.c: In function 'radiobutton_tool': confscroll.c:2868:5: warning: 'old_cs' may be used uninitialized in this function [-Wmaybe-uninitialized] 2868 | if(old_cs != ps->color_style){ | ^ confscroll.c:2893:5: warning: 'old_uc' may be used uninitialized in this function [-Wmaybe-uninitialized] 2893 | if(!old_uc && pico_usingcolor()){ | ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o kblock.o kblock.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' kblock.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: kblock.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o imap.o imap.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from imap.c:42: xoauth2.h:18:20: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 18 | #define GMAIL_NAME "Gmail" | ^~~~~~~ imap.c:148:4: note: in expansion of macro 'GMAIL_NAME' 148 | {GMAIL_NAME, | ^~~~~~~~~~ xoauth2.h:18:20: note: (near initialization for 'alpine_oauth2_list[0].name') 18 | #define GMAIL_NAME "Gmail" | ^~~~~~~ imap.c:148:4: note: in expansion of macro 'GMAIL_NAME' 148 | {GMAIL_NAME, | ^~~~~~~~~~ imap.c:163:13: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 163 | {{"GET", "https://accounts.google.com/o/oauth2/auth", /* authorization address, get access code */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:163:13: note: (near initialization for 'alpine_oauth2_list[0].server_mthd[0].urlserver') imap.c:166:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 166 | {"POST", "https://accounts.google.com/o/oauth2/token", /* Address to get refresh token from access code */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:166:14: note: (near initialization for 'alpine_oauth2_list[0].server_mthd[2].urlserver') imap.c:168:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 168 | {"POST", "https://accounts.google.com/o/oauth2/token", /* access token from refresh token */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:168:14: note: (near initialization for 'alpine_oauth2_list[0].server_mthd[3].urlserver') In file included from imap.c:42: xoauth2.h:23:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 23 | #define OUTLOOK_NAME "Outlook" | ^~~~~~~~~ imap.c:180:4: note: in expansion of macro 'OUTLOOK_NAME' 180 | {OUTLOOK_NAME, | ^~~~~~~~~~~~ xoauth2.h:23:22: note: (near initialization for 'alpine_oauth2_list[1].name') 23 | #define OUTLOOK_NAME "Outlook" | ^~~~~~~~~ imap.c:180:4: note: in expansion of macro 'OUTLOOK_NAME' 180 | {OUTLOOK_NAME, | ^~~~~~~~~~~~ imap.c:196:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 196 | {"POST", "https://login.microsoftonline.com/\001/oauth2/v2.0/devicecode", /* first time use and get device code information */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:196:14: note: (near initialization for 'alpine_oauth2_list[1].server_mthd[1].urlserver') imap.c:198:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 198 | {"POST", "https://login.microsoftonline.com/\001/oauth2/v2.0/token", /* Get first Refresh Token and Access token */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:198:14: note: (near initialization for 'alpine_oauth2_list[1].server_mthd[2].urlserver') imap.c:200:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 200 | {"POST", "https://login.microsoftonline.com/\001/oauth2/v2.0/token", /* Get access token from refresh token */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:200:14: note: (near initialization for 'alpine_oauth2_list[1].server_mthd[3].urlserver') In file included from imap.c:42: xoauth2.h:23:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 23 | #define OUTLOOK_NAME "Outlook" | ^~~~~~~~~ imap.c:212:4: note: in expansion of macro 'OUTLOOK_NAME' 212 | {OUTLOOK_NAME, | ^~~~~~~~~~~~ xoauth2.h:23:22: note: (near initialization for 'alpine_oauth2_list[2].name') 23 | #define OUTLOOK_NAME "Outlook" | ^~~~~~~~~ imap.c:212:4: note: in expansion of macro 'OUTLOOK_NAME' 212 | {OUTLOOK_NAME, | ^~~~~~~~~~~~ imap.c:227:13: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 227 | {{"GET", "https://login.microsoftonline.com/\001/oauth2/v2.0/authorize", /* Get Access Code */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:227:13: note: (near initialization for 'alpine_oauth2_list[2].server_mthd[0].urlserver') imap.c:230:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 230 | {"POST", "https://login.microsoftonline.com/\001/oauth2/v2.0/token", /* Get first Refresh Token and Access token */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:230:14: note: (near initialization for 'alpine_oauth2_list[2].server_mthd[2].urlserver') imap.c:232:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 232 | {"POST", "https://login.microsoftonline.com/\001/oauth2/v2.0/token", /* Get access token from refresh token */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:232:14: note: (near initialization for 'alpine_oauth2_list[2].server_mthd[3].urlserver') In file included from imap.c:42: xoauth2.h:33:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 33 | #define YAHOO_NAME "Yahoo!" | ^~~~~~~~ imap.c:244:4: note: in expansion of macro 'YAHOO_NAME' 244 | {YAHOO_NAME, | ^~~~~~~~~~ xoauth2.h:33:22: note: (near initialization for 'alpine_oauth2_list[3].name') 33 | #define YAHOO_NAME "Yahoo!" | ^~~~~~~~ imap.c:244:4: note: in expansion of macro 'YAHOO_NAME' 244 | {YAHOO_NAME, | ^~~~~~~~~~ imap.c:259:13: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 259 | {{"GET", "https://api.login.yahoo.com/oauth2/request_auth", /* Get Access Code */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:259:13: note: (near initialization for 'alpine_oauth2_list[3].server_mthd[0].urlserver') imap.c:262:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 262 | {"POST", "https://api.login.yahoo.com/oauth2/get_token", /* Get first Refresh Token and Access token */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:262:14: note: (near initialization for 'alpine_oauth2_list[3].server_mthd[2].urlserver') imap.c:264:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 264 | {"POST", "https://api.login.yahoo.com/oauth2/get_token", /* Get access token from refresh token */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:264:14: note: (near initialization for 'alpine_oauth2_list[3].server_mthd[3].urlserver') In file included from imap.c:42: xoauth2.h:28:23: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 28 | #define YANDEX_NAME "Yandex" | ^~~~~~~~ imap.c:276:4: note: in expansion of macro 'YANDEX_NAME' 276 | {YANDEX_NAME, | ^~~~~~~~~~~ xoauth2.h:28:23: note: (near initialization for 'alpine_oauth2_list[4].name') 28 | #define YANDEX_NAME "Yandex" | ^~~~~~~~ imap.c:276:4: note: in expansion of macro 'YANDEX_NAME' 276 | {YANDEX_NAME, | ^~~~~~~~~~~ imap.c:291:13: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 291 | {{"GET", "https://oauth.yandex.com/authorize", /* Get Access Code */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:291:13: note: (near initialization for 'alpine_oauth2_list[4].server_mthd[0].urlserver') imap.c:294:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 294 | {"POST", "https://oauth.yandex.com/token", /* Get first Refresh Token and Access token */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:294:14: note: (near initialization for 'alpine_oauth2_list[4].server_mthd[2].urlserver') imap.c:296:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 296 | {"POST", "https://oauth.yandex.com/token", /* Get access token from refresh token */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:296:14: note: (near initialization for 'alpine_oauth2_list[4].server_mthd[3].urlserver') imap.c:147:1: warning: missing braces around initializer [-Wmissing-braces] 147 | { | ^ imap.c:147:1: warning: missing braces around initializer [-Wmissing-braces] imap.c: In function 'oauth2_select_flow': imap.c:400:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 400 | n += strlen(oa2list->name); + 5; /* number, parenthesis, space */ | ~~~~~~~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap.c:399:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 399 | for(oa2list = alpine_oauth2_list; oa2list && oa2list->name ;oa2list++) | ^~~ imap.c:400:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 400 | n += strlen(oa2list->name); + 5; /* number, parenthesis, space */ | ^ imap.c:400:40: warning: statement with no effect [-Wunused-value] imap.c:406:10: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 406 | for(i = 0; oa2list && oa2list->host && oa2list->host[i] && strucmp(oa2list->host[i], host); i++); | ^~~ imap.c:407:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 407 | if(oa2list && oa2list->host && i < OAUTH2_TOT_EQUIV && oa2list->host[i]) | ^~ imap.c: In function 'oauth2_set_device_info': imap.c:469:17: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 469 | char *name = oa2->name; | ^~~ In file included from osdep/../../pith/../pith/../pith/../pith/remtype.h:20, from osdep/../../pith/../pith/../pith/conftype.h:22, from osdep/../../pith/../pith/state.h:21, from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from imap.c:28: imap.c:504:33: warning: pointer targets in passing argument 2 of 'in_store->puts' differ in signedness [-Wpointer-sign] 504 | so_puts(in_store, deviceinfo->message); osdep/../../pith/../pith/../pith/../pith/../pith/store.h:56:47: note: in definition of macro 'so_puts' 56 | #define so_puts(so, s) ((*(so)->puts)((so), (s))) | ^ imap.c:504:33: note: expected 'char *' but argument is of type 'unsigned char *' 504 | so_puts(in_store, deviceinfo->message); osdep/../../pith/../pith/../pith/../pith/../pith/store.h:56:47: note: in definition of macro 'so_puts' 56 | #define so_puts(so, s) ((*(so)->puts)((so), (s))) | ^ imap.c:567:27: warning: unused variable 'token' [-Wunused-variable] 567 | char prompt[MAILTMPLEN], token[MAILTMPLEN]; | ^~~~~ imap.c:567:7: warning: unused variable 'prompt' [-Wunused-variable] 567 | char prompt[MAILTMPLEN], token[MAILTMPLEN]; | ^~~~~~ imap.c:565:17: warning: variable 'q_line' set but not used [-Wunused-but-set-variable] 565 | int flags, rc, q_line; | ^~~~~~ imap.c:565:13: warning: unused variable 'rc' [-Wunused-variable] 565 | int flags, rc, q_line; | ^~ imap.c:565:6: warning: variable 'flags' set but not used [-Wunused-but-set-variable] 565 | int flags, rc, q_line; | ^~~~~ imap.c:468:10: warning: unused variable 'code' [-Wunused-variable] 468 | char *code; | ^~~~ imap.c: In function 'oauth2_get_access_code': imap.c:673:26: warning: pointer targets in passing argument 1 of 'strucmp' differ in signedness [-Wpointer-sign] 673 | if(strucmp(oauth2->name, GMAIL_NAME) == 0){ | ~~~~~~^~~~~~ | | | unsigned char * In file included from ../pith/headers.h:40, from headers.h:25, from imap.c:28: ../pith/osdep/collate.h:25:15: note: expected 'char *' but argument is of type 'unsigned char *' 25 | int strucmp(char *, char *); | ^~~~~~ imap.c: In function 'mm_login_oauth2': imap.c:1026:66: warning: pointer targets in passing argument 1 of 'set_alpine_id' differ in signedness [-Wpointer-sign] 1026 | ps_global->id = set_alpine_id(oa2list->app_id ? oa2list->app_id : PACKAGE_NAME, PACKAGE_VERSION); In file included from imap.c:30: imap.h:34:23: note: expected 'unsigned char *' but argument is of type 'char *' 34 | IDLIST *set_alpine_id(unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ In file included from ../include/system.h:26, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: ../include/config.h:543:25: warning: pointer targets in passing argument 2 of 'set_alpine_id' differ in signedness [-Wpointer-sign] 543 | #define PACKAGE_VERSION "2.24" | ^~~~~~ | | | char * imap.c:1026:82: note: in expansion of macro 'PACKAGE_VERSION' 1026 | ps_global->id = set_alpine_id(oa2list->app_id ? oa2list->app_id : PACKAGE_NAME, PACKAGE_VERSION); | ^~~~~~~~~~~~~~~ In file included from imap.c:30: imap.h:34:40: note: expected 'unsigned char *' but argument is of type 'char *' 34 | IDLIST *set_alpine_id(unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ imap.c:1107:16: warning: unused variable 'i' [-Wunused-variable] 1107 | int nmethods, i, j; | ^ imap.c:908:37: warning: unused variable 'save_dont_use' [-Wunused-variable] 908 | int oespace, avail, need, save_dont_use; | ^~~~~~~~~~~~~ imap.c:908:31: warning: unused variable 'need' [-Wunused-variable] 908 | int oespace, avail, need, save_dont_use; | ^~~~ imap.c:908:24: warning: unused variable 'avail' [-Wunused-variable] 908 | int oespace, avail, need, save_dont_use; | ^~~~~ imap.c:908:15: warning: unused variable 'oespace' [-Wunused-variable] 908 | int oespace, avail, need, save_dont_use; | ^~~~~~~ imap.c:907:20: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 907 | int len, rc, q_line, flags, i, j; | ^~ imap.c:906:15: warning: unused variable 'help' [-Wunused-variable] 906 | HelpType help ; | ^~~~ imap.c:896:15: warning: unused variable 'tool' [-Wunused-variable] 896 | char *tool = NULL; | ^~~~ imap.c:895:15: warning: unused variable 'url_oauth2' [-Wunused-variable] 895 | char *url_oauth2; | ^~~~~~~~~~ imap.c:894:30: warning: unused variable 'pwleadin' [-Wunused-variable] 894 | char logleadin[80], pwleadin[50]; | ^~~~~~~~ imap.c:894:15: warning: unused variable 'logleadin' [-Wunused-variable] 894 | char logleadin[80], pwleadin[50]; | ^~~~~~~~~ imap.c:893:46: warning: unused variable 'defubuf' [-Wunused-variable] 893 | char hostleadin[80], hostname[200], defubuf[200]; | ^~~~~~~ imap.c:893:31: warning: unused variable 'hostname' [-Wunused-variable] 893 | char hostleadin[80], hostname[200], defubuf[200]; | ^~~~~~~~ imap.c:893:15: warning: unused variable 'hostleadin' [-Wunused-variable] 893 | char hostleadin[80], hostname[200], defubuf[200]; | ^~~~~~~~~~ imap.c:892:15: warning: unused variable 'defuser' [-Wunused-variable] 892 | char defuser[NETMAXUSER]; | ^~~~~~~ imap.c:891:59: warning: unused variable 'last' [-Wunused-variable] 891 | char prompt[4*MAILTMPLEN], value[4*MAILTMPLEN], *last; | ^~~~ imap.c:891:37: warning: unused variable 'value' [-Wunused-variable] 891 | char prompt[4*MAILTMPLEN], value[4*MAILTMPLEN], *last; | ^~~~~ imap.c: In function 'set_alpine_id': imap.c:1236:23: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 1236 | id->value = cpystr(pname); | ^~~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from headers.h:25, from imap.c:28: ../pith/../c-client/misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imap.c:1239:29: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 1239 | id->next->value = cpystr(pversion); | ^~~~~~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from headers.h:25, from imap.c:28: ../pith/../c-client/misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from ../include/system.h:26, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: imap.c: In function 'mm_login_work': ../include/config.h:531:22: warning: pointer targets in passing argument 1 of 'set_alpine_id' differ in signedness [-Wpointer-sign] 531 | #define PACKAGE_NAME "alpine" | ^~~~~~~~ | | | char * imap.c:1507:35: note: in expansion of macro 'PACKAGE_NAME' 1507 | ps_global->id = set_alpine_id(PACKAGE_NAME, PACKAGE_VERSION); | ^~~~~~~~~~~~ imap.c:1228:30: note: expected 'unsigned char *' but argument is of type 'char *' 1228 | set_alpine_id(unsigned char *pname, unsigned char *pversion) | ~~~~~~~~~~~~~~~^~~~~ In file included from ../include/system.h:26, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: ../include/config.h:543:25: warning: pointer targets in passing argument 2 of 'set_alpine_id' differ in signedness [-Wpointer-sign] 543 | #define PACKAGE_VERSION "2.24" | ^~~~~~ | | | char * imap.c:1507:49: note: in expansion of macro 'PACKAGE_VERSION' 1507 | ps_global->id = set_alpine_id(PACKAGE_NAME, PACKAGE_VERSION); | ^~~~~~~~~~~~~~~ imap.c:1228:52: note: expected 'unsigned char *' but argument is of type 'char *' 1228 | set_alpine_id(unsigned char *pname, unsigned char *pversion) | ~~~~~~~~~~~~~~~^~~~~~~~ In file included from ../pith/headers.h:63, from headers.h:25, from imap.c:28: imap.c:1520:19: warning: the address of 'non_def_port' will always evaluate as 'true' [-Waddress] 1520 | non_def_port ? non_def_port : "?")); | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c: In function 'read_passfile': imap.c:3634:41: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] 3634 | dprint((10, "read_passfile: %s\n", tmp ? tmp : "?")); | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c:3501:17: warning: unused variable 'sbuf' [-Wunused-variable] 3501 | struct stat sbuf; | ^~~~ In file included from ../pith/headers.h:63, from headers.h:25, from imap.c:28: imap.c: In function 'write_passfile': imap.c:3845:40: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] 3845 | dprint((10, "write_passfile: %s", tmp ? tmp : "?")); | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c: In function 'mm_diskerror': imap.c:2327:6: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2327 | system("csh"); | ^~~~~~~~~~~~~ imap.c: In function 'read_passfile': imap.c:3544:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3544 | fgets(tmp2, sizeof(tmp2), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mailcmd.h:26, from imap.c:33: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ imap.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: imap.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ imap.c: In function 'oauth2_select_flow': imap.c:417:25: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] 417 | rv = (sel >= 0 && sel < i) ? 0 : -1; | ~~~~~~~~~~^~~~~~~~~~~ imap.c: In function 'oauth2_get_access_code': imap.c:840:11: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] 840 | return code; | ^~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: In function 'strncpy', inlined from 'pine_sslfailure' at imap.c:2786:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 500 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pine_sslfailure' at imap.c:2809:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 500 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pine_sslfailure' at imap.c:2832:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 500 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pine_sslfailure' at imap.c:2855:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 500 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pine_sslfailure' at imap.c:2879:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 500 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'pine_sslfailure' at imap.c:2906:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 500 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function 'write_passfile': imap.c:3840:42: warning: '%s' directive output may be truncated writing up to 10239 bytes into a region of size 10237 [-Wformat-truncation=] 3840 | snprintf(tmp, sizeof(tmp), "%s\t%s\t%s\t%s%s%s\n", l->passwd, l->user, | ^~ 3841 | l->hosts->name, blob, | ~~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 5 or more bytes (assuming 10245) into a destination of size 10240 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: In function 'strncat', inlined from 'write_passfile' at imap.c:3854:2: /usr/include/bits/string_fortified.h:122:10: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function 'write_passfile': imap.c:3853:9: note: length computed here 3853 | len += strlen(tmp) + 1; | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: In function 'strncpy', inlined from 'mm_login_work' at imap.c:1736:4: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'mm_login_work' at imap.c:1977:7: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o keymenu.o keymenu.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' keymenu.c: In function 'output_keymenu': keymenu.c:3192:5: warning: the address of 'this_label' will always evaluate as 'true' [-Waddress] 3192 | && this_label && !strcmp(this_label,last_time->label) | ^~ keymenu.c:3314:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 3314 | while(keystr[len-1] == SPACE) | ^~~~~ keymenu.c:3316:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 3316 | len--; | ^~~ keymenu.c: In function 'print_inverted_label': keymenu.c:4183:8: warning: the address of 'prename' will always evaluate as 'true' [-Waddress] 4183 | if(prename) | ^~~~~~~ keymenu.c:4186:8: warning: the address of 'namepart' will always evaluate as 'true' [-Waddress] 4186 | if(namepart){ | ^~~~~~~~ keymenu.c:4193:8: warning: the address of 'labelpart' will always evaluate as 'true' [-Waddress] 4193 | if(labelpart){ | ^~~~~~~~~ In file included from mailcmd.h:26, from keymenu.c:21: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ keymenu.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: keymenu.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from keymenu.c:19: In function 'strncpy', inlined from 'output_keymenu' at keymenu.c:3230:7: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 18 bytes from a string of length 3000 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'output_keymenu' at keymenu.c:3293:7: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 240 bytes from a string of length 240 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o listsel.o listsel.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' listsel.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: listsel.c 918 2008-01-23 19:39:38Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ldapconf.o ldapconf.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from context.h:23, from conftype.h:24, from ldapconf.h:21, from ldapconf.c:20: ldapconf.c: In function 'dir_edit_screen': ../pith/conf.h:865:25: warning: the address of 'server_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1215:13: note: in expansion of macro 'APVAL' 1215 | apval = APVAL(&server_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'base_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1222:13: note: in expansion of macro 'APVAL' 1222 | apval = APVAL(&base_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'port_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1230:10: note: in expansion of macro 'APVAL' 1230 | apval = APVAL(&port_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'binddn_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1240:13: note: in expansion of macro 'APVAL' 1240 | apval = APVAL(&binddn_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'nick_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1247:13: note: in expansion of macro 'APVAL' 1247 | apval = APVAL(&nick_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'srch_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1254:13: note: in expansion of macro 'APVAL' 1254 | apval = APVAL(&srch_type_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'srch_rule_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1265:13: note: in expansion of macro 'APVAL' 1265 | apval = APVAL(&srch_rule_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'time_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1276:10: note: in expansion of macro 'APVAL' 1276 | apval = APVAL(&time_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'size_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1287:10: note: in expansion of macro 'APVAL' 1287 | apval = APVAL(&size_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'mailattr_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1297:13: note: in expansion of macro 'APVAL' 1297 | apval = APVAL(&mailattr_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'cnattr_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1306:13: note: in expansion of macro 'APVAL' 1306 | apval = APVAL(&cnattr_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'snattr_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1315:13: note: in expansion of macro 'APVAL' 1315 | apval = APVAL(&snattr_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'gnattr_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1324:13: note: in expansion of macro 'APVAL' 1324 | apval = APVAL(&gnattr_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'cust_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1333:13: note: in expansion of macro 'APVAL' 1333 | apval = APVAL(&cust_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'server_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1811:10: note: in expansion of macro 'APVAL' 1811 | apval = APVAL(&server_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'base_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1815:10: note: in expansion of macro 'APVAL' 1815 | apval = APVAL(&base_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'port_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1819:10: note: in expansion of macro 'APVAL' 1819 | apval = APVAL(&port_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'binddn_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1823:10: note: in expansion of macro 'APVAL' 1823 | apval = APVAL(&binddn_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'nick_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1827:10: note: in expansion of macro 'APVAL' 1827 | apval = APVAL(&nick_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'srch_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1831:10: note: in expansion of macro 'APVAL' 1831 | apval = APVAL(&srch_type_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'srch_rule_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1835:10: note: in expansion of macro 'APVAL' 1835 | apval = APVAL(&srch_rule_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'time_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1839:10: note: in expansion of macro 'APVAL' 1839 | apval = APVAL(&time_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'size_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1843:10: note: in expansion of macro 'APVAL' 1843 | apval = APVAL(&size_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'cust_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1847:10: note: in expansion of macro 'APVAL' 1847 | apval = APVAL(&cust_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'mailattr_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1851:10: note: in expansion of macro 'APVAL' 1851 | apval = APVAL(&mailattr_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'snattr_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1855:10: note: in expansion of macro 'APVAL' 1855 | apval = APVAL(&snattr_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'gnattr_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1859:10: note: in expansion of macro 'APVAL' 1859 | apval = APVAL(&gnattr_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'cnattr_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1863:10: note: in expansion of macro 'APVAL' 1863 | apval = APVAL(&cnattr_var, ew); | ^~~~~ In file included from ldapconf.c:31: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ ldapconf.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: ldapconf.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; | ^~~~~ ldapconf.c: In function 'dir_config_shuffle': ldapconf.c:1031:15: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] 1031 | b->varmem = j; | ~~~~~~~~~~^~~ ldapconf.c:1030:15: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] 1030 | a->varmem = b->varmem; | ~~~~~~~~~~^~~~~~~~~~~ ldapconf.c:1004:10: warning: 'new_num' may be used uninitialized in this function [-Wmaybe-uninitialized] 1004 | else if (i == new_num) | ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o folder.o folder.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' folder.c: In function 'folder_import': folder.c:3908:5: warning: the address of 'full_filename' will always evaluate as 'true' [-Waddress] 3908 | if(full_filename && full_filename[0]) | ^~~~~~~~~~~~~ folder.c: In function 'add_new_folder': folder.c:4121:6: warning: the address of 'mdmbox' will always evaluate as 'true' [-Waddress] 4121 | if(mdmbox | ^~~~~~ folder.c:4913:6: warning: the address of 'nickname' will always evaluate as 'true' [-Waddress] 4913 | if(nickname && nickname[0]){ | ^~~~~~~~ folder.c: In function 'delete_folder': folder.c:5849:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5849 | if((fp = folder_entry(index, FOLDERS(context))) | ^~ folder.c:5852:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5852 | next_folder[len-1] = '\0'; | ^~~~~~~~~~~ In file included from mailcmd.h:26, from folder.c:40: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ folder.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: folder.c 1144 2008-08-14 16:53:34Z hubert@u.washington.edu $"; | ^~~~~ folder.c: In function 'use_color_for_folder': folder.c:2181:4: warning: 'test2' may be used uninitialized in this function [-Wmaybe-uninitialized] 2180 | return (fp->isdir && fp->isfolder) ? test1 + test2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2181 | : (fp->isdir ? test1 : (fp->isfolder? test2 : 0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ folder.c:2181:4: warning: 'test1' may be used uninitialized in this function [-Wmaybe-uninitialized] folder.c: In function 'folder_lister_fullname': folder.c:3578:42: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 3578 | snprintf(tmp, sizeof(tmp), "%.*s%.*s", | ^ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from folder.c:32: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 1 and 2049 bytes into a destination of size 2048 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from folder.c:32: In function 'strncpy', inlined from 'add_new_folder' at folder.c:4501:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 266 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'add_new_folder' at folder.c:4625:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 266 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ folder.c: In function 'add_new_folder': folder.c:4905:59: warning: 'alval' may be used uninitialized in this function [-Wmaybe-uninitialized] 4905 | if(!inbox && add_folder && add_folder[0] && alval && *alval && (*alval)[offset]){ | ^~~~~~ folder.c: In function 'group_subscription': folder.c:5116:9: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] 5116 | if(f){ | ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailindx.o mailindx.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' mailindx.c: In function 'index_lister': mailindx.c:1004:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1004 | else | ^~~~ mailindx.c:1012:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1012 | break; | ^~~~~ mailindx.c:1096:20: warning: variable 'thrd' set but not used [-Wunused-but-set-variable] 1096 | PINETHRD_S *thrd = NULL; | ^~~~ mailindx.c: In function 'top_ent_calc': mailindx.c:2799:18: warning: unused variable 'branch' [-Wunused-variable] 2799 | unsigned long branch; | ^~~~~~ mailindx.c:2870:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2870 | if(branch = get_branch(stream,thrd)) | ^~~~~~ mailindx.c:2872:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2872 | else if(next = get_next(stream,thrd)) | ^~~~ In file included from mailcmd.h:26, from mailindx.c:21: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailindx.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: mailindx.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; | ^~~~~ In file included from osdep/../../pith/../pith/../pith/indxtype.h:22, from osdep/../../pith/../pith/state.h:22, from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from mailindx.c:19: mailindx.c: In function 'index_scroll_to_pos': osdep/../../pith/../pith/../pith/../pith/msgno.h:36:35: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] 36 | (p)->select[(p)->sel_cur] = (m); \ | ^ mailindx.c:2534:16: note: 'k' was declared here 2534 | long i, j, k; | ^ In file included from osdep/../../pith/../pith/../pith/indxtype.h:22, from osdep/../../pith/../pith/state.h:22, from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from mailindx.c:19: mailindx.c: In function 'index_lister': osdep/../../pith/../pith/../pith/../pith/msgno.h:36:35: warning: 'new_cur' may be used uninitialized in this function [-Wmaybe-uninitialized] 36 | (p)->select[(p)->sel_cur] = (m); \ | ^ mailindx.c:845:13: note: 'new_cur' was declared here 845 | int new_cur; | ^~~~~~~ mailindx.c:817:10: warning: 'topthrd' may be used uninitialized in this function [-Wmaybe-uninitialized] 817 | set_thread_lflags(stream, topthrd, msgmap, MN_CHID, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailindx.c:472:4: warning: 'paint_status' may be used uninitialized in this function [-Wmaybe-uninitialized] 472 | if(paint_status) | ^ mailindx.c:514:2: warning: 'cur_col' may be used uninitialized in this function [-Wmaybe-uninitialized] 514 | MoveCursor(cur_row, cur_col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newuser.o newuser.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' newuser.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: newuser.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pattern.o pattern.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' pattern.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: pattern.c 169 2006-10-04 23:26:48Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailpart.o mailpart.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from ../pith/headers.h:63, from headers.h:25, from mailpart.c:25: mailpart.c: In function 'write_attachment': mailpart.c:1328:14: warning: the address of 'filename' will always evaluate as 'true' [-Waddress] 1328 | filename ? filename : "?")); | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailpart.c:1315:39: warning: variable 'we_cancel' set but not used [-Wunused-but-set-variable] 1315 | int r, rflags = GER_NONE, we_cancel = 0, flags; | ^~~~~~~~~ mailpart.c: In function 'display_attachment': mailpart.c:2307:8: warning: the address of 'sender_filename' will always evaluate as 'true' [-Waddress] 2307 | if(sender_filename){ | ^~~~~~~~~~~~~~~ mailpart.c: In function 'display_vevent_summary': mailpart.c:3101:51: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 3101 | b = mail_body(ps_global->mail_stream, msgno, a->number); | ~^~~~~~~~ | | | char * In file included from ../pith/headers.h:28, from headers.h:25, from mailpart.c:25: ../pith/../c-client/mail.h:1781:19: note: expected 'unsigned char *' but argument is of type 'char *' 1781 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mailpart.c:3105:32: warning: pointer targets in passing argument 1 of 'rfc822_base64' differ in signedness [-Wpointer-sign] 3105 | caltext = rfc822_base64(b64text, strlen(b64text), &callen); | ^~~~~~~ | | | char * In file included from ../pith/headers.h:30, from headers.h:25, from mailpart.c:25: ../pith/../c-client/rfc822.h:102:37: note: expected 'unsigned char *' but argument is of type 'char *' 102 | void *rfc822_base64 (unsigned char *src,unsigned long srcl,unsigned long *len); | ~~~~~~~~~~~~~~~^~~ mailpart.c:3098:46: warning: unused variable 'p' [-Wunused-variable] 3098 | char *errstr = NULL, tmp[MAILTMPLEN], *p; | ^ mailpart.c:3098:28: warning: unused variable 'tmp' [-Wunused-variable] 3098 | char *errstr = NULL, tmp[MAILTMPLEN], *p; | ^~~ mailpart.c: In function 'write_attached_msg': mailpart.c:1569:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1569 | ftruncate(fileno((FILE *)store->txt), (off_t) start_of_append); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mailcmd.h:26, from mailpart.c:36: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailpart.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: mailpart.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from mailpart.c:25: In function 'strncpy', inlined from 'update_att_screen_titlebar' at mailpart.c:1152:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailpart.c: In function 'display_vcard_att': mailpart.c:3077:40: warning: 'cmd' may be used uninitialized in this function [-Wmaybe-uninitialized] 3077 | while(!errstr && (cmd == MC_RESIZE || cmd == MC_FULLHDR)); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ mailpart.c: In function 'attachment_screen': mailpart.c:743:50: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 50 and 51 [-Wformat-truncation=] 743 | snprintf(tmp, sizeof(tmp), "Word to find %s%s%s: ", | ^~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailpart.c:25: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 81 bytes into a destination of size 64 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pipe.o pipe.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' pipe.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: pipe.c 155 2006-09-29 23:28:46Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailview.o mailview.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' mailview.c: In function 'scrolltool': mailview.c:3527:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3527 | if (any_messages(ps_global->msgmap, NULL, | ^~ mailview.c:3531:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3531 | done = 1; | ^~~~ mailview.c: In function 'visible_linelen': mailview.c:5091:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5091 | if(i < st->line_lengths[line] && n > 0) | ^~ mailview.c:5094:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5094 | break; | ^~~~~ In file included from mailcmd.h:26, from mailview.c:29: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailview.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: mailview.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from mailview.c:28: In function 'strncpy', inlined from 'update_scroll_titlebar' at mailview.c:3943:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'update_scroll_titlebar' at mailview.c:3944:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'update_scroll_titlebar' at mailview.c:3945:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../pith/headers.h:63, from headers.h:25, from mailview.c:28: mailview.c: In function 'mail_view_screen': ../pith/debug.h:40:23: warning: 'env' may be used uninitialized in this function [-Wmaybe-uninitialized] 40 | #define dprint(x) { output_debug_msg x ; } | ^~~~~~~~~~~~~~~~ mailview.c:243:21: note: 'env' was declared here 243 | ENVELOPE *env; | ^~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o print.o print.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from print.c:26: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ print.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: print.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o radio.o radio.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from mailcmd.h:26, from radio.c:24: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ radio.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: radio.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o remote.o remote.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' remote.c: In function 'rd_metadata_name': remote.c:315:33: warning: the address of 'pinerc_dir' will always evaluate as 'true' [-Waddress] 315 | build_path(path, pinerc_dir ? pinerc_dir : NULL, | ^ At top level: remote.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: remote.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $"; | ^~~~~ remote.c: In function 'rd_prompt_about_forged_remote_data': remote.c:213:4: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | p += strlen(p); | ~~^~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailcmd.o mailcmd.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' mailcmd.c: In function 'save_prompt': mailcmd.c:2801:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2801 | if (rule = get_result_rule(V_SAVE_RULES, FOR_SAVE, env)){ | ^~~~ In file included from ../pith/headers.h:63, from headers.h:25, from mailcmd.c:31: mailcmd.c: In function 'cmd_export': mailcmd.c:3811:19: warning: the address of 'full_filename' will always evaluate as 'true' [-Waddress] 3811 | full_filename ? full_filename : "?")); | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c:3865:24: warning: the address of 'full_filename' will always evaluate as 'true' [-Waddress] 3865 | full_filename ? full_filename : "?", | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c: In function 'simple_export': mailcmd.c:4123:19: warning: the address of 'full_filename' will always evaluate as 'true' [-Waddress] 4123 | full_filename ? full_filename : "?")); | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c: In function 'broach_folder': mailcmd.c:6058:15: warning: the address of 'newfolder' will always evaluate as 'true' [-Waddress] 6058 | newfolder ? newfolder : "?")); | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c:6066:17: warning: the address of 'expanded' will always evaluate as 'true' [-Waddress] 6066 | expanded ? expanded : "?")); | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c: In function 'select_by_text': mailcmd.c:8315:18: warning: unused variable 'buftmp' [-Wunused-variable] 8315 | char buftmp[MAILTMPLEN], namehdr[80]; | ^~~~~~ mailcmd.c: In function 'cmd_delete_this_thread': mailcmd.c:10122:33: warning: unused variable 'nxthrd' [-Wunused-variable] 10122 | PINETHRD_S *thrd = NULL, *nxthrd; | ^~~~~~ mailcmd.c: In function 'cmd_delete_thread': mailcmd.c:10150:33: warning: unused variable 'nxthrd' [-Wunused-variable] 10150 | PINETHRD_S *thrd = NULL, *nxthrd; | ^~~~~~ mailcmd.c:10149:49: warning: unused variable 'save_kolapsed' [-Wunused-variable] 10149 | unsigned long rawno, top, orig_top, topnxt, save_kolapsed; | ^~~~~~~~~~~~~ mailcmd.c:10149:41: warning: unused variable 'topnxt' [-Wunused-variable] 10149 | unsigned long rawno, top, orig_top, topnxt, save_kolapsed; | ^~~~~~ mailcmd.c: In function 'collapse_this_thread': mailcmd.c:10190:32: warning: unused variable 'msgno' [-Wunused-variable] 10190 | unsigned long rawno, orig, msgno; | ^~~~~ mailcmd.c:10190:26: warning: unused variable 'orig' [-Wunused-variable] 10190 | unsigned long rawno, orig, msgno; | ^~~~ mailcmd.c:10189:33: warning: unused variable 'nthrd' [-Wunused-variable] 10189 | PINETHRD_S *thrd = NULL, *nthrd; | ^~~~~ mailcmd.c:10188:28: warning: unused variable 'done' [-Wunused-variable] 10188 | int collapsed, rv = 1, done = 0; | ^~~~ mailcmd.c: In function 'collapse_thread': mailcmd.c:10249:20: warning: unused variable 'rv' [-Wunused-variable] 10249 | int collapsed, rv = 1, done = 0; | ^~ mailcmd.c:10249:9: warning: unused variable 'collapsed' [-Wunused-variable] 10249 | int collapsed, rv = 1, done = 0; | ^~~~~~~~~ mailcmd.c: In function 'expand_this_thread': mailcmd.c:10324:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 10324 | if (thrd->toploose) | ^ mailcmd.c:10288:32: warning: unused variable 'msgno' [-Wunused-variable] 10288 | unsigned long rawno, orig, msgno; | ^~~~~ mailcmd.c:10287:33: warning: unused variable 'nthrd' [-Wunused-variable] 10287 | PINETHRD_S *thrd = NULL, *nthrd; | ^~~~~ mailcmd.c:10286:28: warning: unused variable 'done' [-Wunused-variable] 10286 | int collapsed, rv = 1, done = 0; | ^~~~ mailcmd.c: In function 'expand_thread': mailcmd.c:10348:19: warning: variable 'orig' set but not used [-Wunused-but-set-variable] 10348 | unsigned long orig, orig_top, top; | ^~~~ mailcmd.c:10346:20: warning: unused variable 'rv' [-Wunused-variable] 10346 | int collapsed, rv = 1, done = 0; | ^~ mailcmd.c:10346:9: warning: unused variable 'collapsed' [-Wunused-variable] 10346 | int collapsed, rv = 1, done = 0; | ^~~~~~~~~ In file included from mailcmd.c:76: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from mailcmd.h:26, from mailcmd.c:32: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailcmd.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: mailcmd.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ mailcmd.c: In function 'cmd_flag': mailcmd.c:2003:4: warning: 'use_maint_screen' may be used uninitialized in this function [-Wmaybe-uninitialized] 2003 | if(use_maint_screen){ | ^ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: In function 'strncpy', inlined from 'jump_to' at mailcmd.c:5284:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'select_sort' at mailcmd.c:9674:7: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'select_sort' at mailcmd.c:9672:7: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c: In function 'save_prompt': mailcmd.c:2946:25: warning: 'preindex' may be used uninitialized in this function [-Wmaybe-uninitialized] 2946 | ekey[preindex].label = (pre == NoPreserve) ? "Preserve Order" : "Any Order"; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:2943:25: warning: 'delindex' may be used uninitialized in this function [-Wmaybe-uninitialized] 2943 | ekey[delindex].label = (del == NoDel) ? "Delete" : "No Delete"; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: In function 'strncpy', inlined from 'broach_folder' at mailcmd.c:5828:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c: In function 'cmd_export': mailcmd.c:3995:45: warning: '%s' directive output may be truncated writing up to 4096 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 3995 | snprintf(filename, sizeof(filename), "%s%s%s", dir, S_FILESEP, lfile); | ^~ ~~~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 8194 bytes into a destination of size 4097 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:4010:50: warning: '%s' directive output may be truncated writing up to 1 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 4010 | snprintf(filename, sizeof(filename), "%s%s%s%s%d%s%s", | ^~ mailcmd.c:4010:43: note: directive argument in the range [2, 2147483647] 4010 | snprintf(filename, sizeof(filename), "%s%s%s%s%d%s%s", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 3 or more bytes (assuming 4110) into a destination of size 4097 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:3857:2: warning: 'start_of_append' may be used uninitialized in this function [-Wmaybe-uninitialized] 3857 | our_truncate(full_filename, (off_t)start_of_append); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:3870:20: warning: 'orig_errno' may be used uninitialized in this function [-Wmaybe-uninitialized] 3870 | filename, error_description(orig_errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c: In function 'cmd_expunge': mailcmd.c:3318:67: warning: '%.*s' directive output may be truncated writing up to 461 bytes into a region of size between 459 and 478 [-Wformat-truncation=] 3318 | snprintf(prompt, sizeof(prompt), "Exclude %ld message%s from %.*s", del_count, | ^~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 24 and 504 bytes into a destination of size 501 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:3460:9: warning: 'prefilter_del_count' may be used uninitialized in this function [-Wmaybe-uninitialized] 3460 | else if(!prefilter_del_count) | ^ mailcmd.c: In function 'process_cmd': mailcmd.c:1342:64: warning: '%.*s' directive output may be truncated writing up to 461 bytes into a region of size between 459 and 478 [-Wformat-truncation=] 1342 | snprintf(prompt, sizeof(prompt), "UNexclude %ld message%s in %.*s", del_count, | ^~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 24 and 504 bytes into a destination of size 501 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:667:9: warning: 'topthrd' may be used uninitialized in this function [-Wmaybe-uninitialized] 667 | j = count_lflags_in_thread(stream, topthrd, msgmap, MN_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o reply.o reply.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' reply.c: In function 'reply': reply.c:163:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 163 | if(rule = get_result_rule(V_REPLY_INDENT_RULES, FOR_COMPOSE , env)){ | ^~~~ reply.c:110:17: warning: unused variable 'hostpart' [-Wunused-variable] 110 | char *hostpart; | ^~~~~~~~ reply.c: In function 'reply_text_query': reply.c:1150:14: warning: unused variable 'which_help' [-Wunused-variable] 1150 | unsigned which_help; | ^~~~~~~~~~ reply.c:1097:9: warning: variable 'orig_sf' set but not used [-Wunused-but-set-variable] 1097 | int orig_sf; | ^~~~~~~ In file included from reply.c:66: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from mailcmd.h:26, from reply.c:46: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ reply.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: reply.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ reply.c: In function 'reply': reply.c:371:5: warning: 'env' may be used uninitialized in this function [-Wmaybe-uninitialized] 371 | reply_seed(pine_state, outgoing, env, saved_from, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 372 | saved_to, saved_cc, saved_resent, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 373 | &fcc, flags & RSF_FORCE_REPLY_ALL, &errmsg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reply.c: In function 'forward': reply.c:1695:13: warning: 'env' may be used uninitialized in this function [-Wmaybe-uninitialized] 1695 | filtered = detoken(role, (totalmsgs == 1L) ? env : NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1696 | 0, 0, 0, &redraft_pos, &impl); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reply.c:1858:19: warning: 'msgno' may be used uninitialized in this function [-Wmaybe-uninitialized] 1858 | && (body = forward_body(ps->mail_stream, env, orig_body, msgno, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1859 | NULL, msgtext, | ~~~~~~~~~~~~~~ 1860 | FWD_NONE)))){ | ~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o signal.o signal.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from mailcmd.h:26, from signal.c:37: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ signal.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: signal.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o setup.o setup.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' setup.c: In function 'inbox_path_text_tool': setup.c:675:22: warning: variable 'apval' set but not used [-Wunused-but-set-variable] 675 | char **apval; | ^~~~~ In file included from mailcmd.h:26, from setup.c:29: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ setup.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: setup.c 918 2008-01-23 19:39:38Z hubert@u.washington.edu $"; | ^~~~~ setup.c: In function 'option_screen': setup.c:469:25: warning: 'ctmpb' may be used uninitialized in this function [-Wmaybe-uninitialized] 469 | ctmpa->varnamep = ctmpb; | ~~~~~~~~~~~~~~~~~^~~~~~~ setup.c:64:39: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] 64 | char tmp[MAXPATH+1], *pval, **lval; | ^~~~ setup.c:265:6: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] 265 | decode_sort(pval, &def_sort, &def_sort_rev, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o status.o status.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from mailcmd.h:26, from status.c:32: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ status.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: status.c 840 2007-12-01 01:34:49Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o titlebar.o titlebar.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' titlebar.c: In function 'format_titlebar': titlebar.c:429:14: warning: variable 'thd_len' set but not used [-Wunused-but-set-variable] 429 | ss_len, thd_len, is_context, avail, extra; | ^~~~~~~ At top level: titlebar.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: titlebar.c 1075 2008-06-04 00:19:39Z hubert@u.washington.edu $"; | ^~~~~ titlebar.c: In function 'update_titlebar_message': titlebar.c:948:22: warning: 'curnum' may be used uninitialized in this function [-Wmaybe-uninitialized] 948 | as.current_thrd = curnum; | ~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from titlebar.c:19: In function 'strncpy', inlined from 'format_titlebar' at titlebar.c:738:8: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 24576 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'format_titlebar' at titlebar.c:805:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 24577 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_titlebar' at titlebar.c:221:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_titlebar' at titlebar.c:226:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o takeaddr.o takeaddr.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from mailcmd.h:26, from takeaddr.c:36: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ takeaddr.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: takeaddr.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; | ^~~~~ takeaddr.c: In function 'takeaddr_screen': takeaddr.c:1292:12: warning: 'km' may be used uninitialized in this function [-Wmaybe-uninitialized] 1292 | cmd = menu_command(ch, km); | ^~~~~~~~~~~~~~~~~~~~ takeaddr.c: In function 'take_without_edit': takeaddr.c:2435:53: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 2435 | snprintf(tmp, sizeof(tmp), "Saved %d %s to \"%.*s\"", | ^ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from takeaddr.c:25: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 20 and 201 bytes into a destination of size 200 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o send.o send.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' send.c: In function 'pine_send': send.c:2184:24: warning: the address of 'pf_template' will always evaluate as 'true' [-Waddress] 2184 | for(fixed_cnt = 0; pf_template && pf_template[fixed_cnt].name; fixed_cnt++) | ^~~~~~~~~~~ send.c:2588:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2588 | if (rule->result) | ^~ send.c:2590:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2590 | fs_give((void **)&rule); | ^~~~~~~ In file included from ../pith/headers.h:63, from headers.h:25, from send.c:25: send.c:3402:18: warning: the address of 'folder' will always evaluate as 'true' [-Waddress] 3402 | folder ? folder : "?", | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ send.c:3718:17: warning: the address of 'folder' will always evaluate as 'true' [-Waddress] 3718 | folder ? folder : "?", | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ send.c:3765:17: warning: the address of 'folder' will always evaluate as 'true' [-Waddress] 3765 | if(fcc_result && folder) | ^~ send.c:4198:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4198 | if (!ps_global->send_immediately) | ^~ send.c:4202:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4202 | break; /* All's well, pop out of here */ | ^~~~~ send.c: In function 'choose_a_priority': send.c:5204:16: warning: variable 'i' set but not used [-Wunused-but-set-variable] 5204 | int i, cnt; | ^ In file included from ../pith/headers.h:63, from headers.h:25, from send.c:25: send.c: In function 'upload_msg_to_pico': send.c:5342:10: warning: the address of 'cmd' will always evaluate as 'true' [-Waddress] 5342 | cmd ? cmd : "?", | ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' 40 | #define dprint(x) { output_debug_msg x ; } | ^ In file included from send.c:67: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from mailcmd.h:26, from send.c:38: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ send.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: send.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; | ^~~~~ send.c: In function 'filter_message_text': send.c:5539:14: warning: 'readthis_so' may be used uninitialized in this function [-Wmaybe-uninitialized] 5539 | errstr = gf_filter(cmd, key ? filter_session_key() : NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5540 | readthis_so, pc, NULL, 0, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5541 | pipe_callback); | ~~~~~~~~~~~~~~ send.c: In function 'pine_simple_send': send.c:1723:40: warning: 'fcc_result' may be used uninitialized in this function [-Wmaybe-uninitialized] 1723 | char *part2 = fcc_result ? "" : "NOT "; | ~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from send.c:25: In function 'strncpy', inlined from 'pine_send' at send.c:3007:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../pith/headers.h:26, from headers.h:25, from send.c:25: send.c: In function 'pine_send': send.c:3007:36: note: length computed here 3007 | strncpy(he->prompt, he->name, MIN(strlen(he->name), he->prwid - 2)); send.c:3375:35: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=] 3375 | snprintf(nbuf, sizeof(nbuf), "%d", i+1); | ^~ send.c:3375:34: note: directive argument in the range [-2147483647, 2147483647] 3375 | snprintf(nbuf, sizeof(nbuf), "%d", i+1); | ^~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from send.c:25: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 12 bytes into a destination of size 5 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ send.c:3368:38: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=] 3368 | snprintf(nbuf, sizeof(nbuf), "%d", i); | ^~ send.c:3368:37: note: directive argument in the range [-2147483648, 2147483646] 3368 | snprintf(nbuf, sizeof(nbuf), "%d", i); | ^~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from send.c:25: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 12 bytes into a destination of size 5 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ send.c:3375:35: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=] 3375 | snprintf(nbuf, sizeof(nbuf), "%d", i+1); | ^~ send.c:3375:34: note: directive argument in the range [-2147483647, 2147483647] 3375 | snprintf(nbuf, sizeof(nbuf), "%d", i+1); | ^~~~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from send.c:25: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 12 bytes into a destination of size 5 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ send.c:2939:29: warning: 'he_to' may be used uninitialized in this function [-Wmaybe-uninitialized] 2939 | he_to->affected_entry = he_fcc; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ send.c:2939:29: warning: 'he_fcc' may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from ../pith/headers.h:63, from headers.h:25, from send.c:25: ../pith/debug.h:40:23: warning: 'fcc_result' may be used uninitialized in this function [-Wmaybe-uninitialized] 40 | #define dprint(x) { output_debug_msg x ; } | ^~~~~~~~~~~~~~~~ send.c:3272:17: note: 'fcc_result' was declared here 3272 | int fcc_result = 0; | ^~~~~~~~~~ send.c:3623:29: warning: 'pf_ourhdrs' may be used uninitialized in this function [-Wmaybe-uninitialized] 3623 | pf_ourhdrs->writehdr = 1; | ~~~~~~~~~~~~~~~~~~~~~~^~~ send.c:3530:28: warning: 'pf_ourrep' may be used uninitialized in this function [-Wmaybe-uninitialized] 3530 | pf_ourrep->writehdr = 1; | ~~~~~~~~~~~~~~~~~~~~~^~~ send.c:3515:28: warning: 'pf_curpos' may be used uninitialized in this function [-Wmaybe-uninitialized] 3515 | pf_curpos->writehdr = 1; | ~~~~~~~~~~~~~~~~~~~~~^~~ send.c:3504:26: warning: 'pf_mbox' may be used uninitialized in this function [-Wmaybe-uninitialized] 3504 | pf_mbox->writehdr = 1; | ~~~~~~~~~~~~~~~~~~~^~~ send.c:3487:25: warning: 'pf_uid' may be used uninitialized in this function [-Wmaybe-uninitialized] 3487 | pf_uid->writehdr = 1; | ~~~~~~~~~~~~~~~~~~^~~ send.c:3464:25: warning: 'pf_err' may be used uninitialized in this function [-Wmaybe-uninitialized] 3464 | pf_err->writehdr = 1; | ~~~~~~~~~~~~~~~~~~^~~ send.c:3603:33: warning: 'pf_nntp_server' may be used uninitialized in this function [-Wmaybe-uninitialized] 3603 | pf_nntp_server->writehdr = 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ send.c:3564:33: warning: 'pf_smtp_server' may be used uninitialized in this function [-Wmaybe-uninitialized] 3564 | pf_smtp_server->writehdr = 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newmail.o newmail.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' newmail.c: In function 'new_mail_mess': newmail.c:157:10: warning: the address of 'from' will always evaluate as 'true' [-Waddress] 157 | from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", | ^~~~ newmail.c:158:10: warning: the address of 'from' will always evaluate as 'true' [-Waddress] 158 | from && from[0] ? "rom " : "", | ^~~~ newmail.c:159:10: warning: the address of 'from' will always evaluate as 'true' [-Waddress] 159 | from && from[0] ? from : "", | ^~~~ newmail.c:197:6: warning: the address of 'from' will always evaluate as 'true' [-Waddress] 197 | from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", | ^~~~ newmail.c:198:6: warning: the address of 'from' will always evaluate as 'true' [-Waddress] 198 | from && from[0] ? "rom " : "", | ^~~~ newmail.c:199:6: warning: the address of 'from' will always evaluate as 'true' [-Waddress] 199 | from && from[0] ? from : ""); | ^~~~ At top level: newmail.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: newmail.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o date.o date.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rpdump.o rpdump.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' rpdump.c: In function 'opt_enter': rpdump.c:769:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 769 | fgets(string, field_len, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpdump.c: In function 'wantto': rpdump.c:807:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 807 | fgets(rep, sizeof(rep), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: rpdump.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: rpdump.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o smime.o smime.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' smime.c: In function 'smime_manage_password_file_certs_init': smime.c:1519:18: warning: unused variable 'store' [-Wunused-variable] 1519 | X509_STORE *store = NULL; | ^~~~~ smime.c:1518:18: warning: unused variable 'lookup' [-Wunused-variable] 1518 | X509_LOOKUP *lookup = NULL; | ^~~~~~ smime.c:1514:14: warning: unused variable 'ext' [-Wunused-variable] 1514 | char *ext; | ^~~ smime.c: In function 'smime_manage_certs_init': smime.c:1713:16: warning: unused variable 't' [-Wunused-variable] 1713 | char *s, *t; | ^ smime.c:1713:12: warning: unused variable 's' [-Wunused-variable] 1713 | char *s, *t; | ^ smime.c:1641:14: warning: variable 'ext' set but not used [-Wunused-but-set-variable] 1641 | char *ext; | ^~~ In file included from smime.c:37: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ smime.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: smime.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ smime.c: In function 'output_cert_info': smime.c:529:4: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 529 | X509_NAME_get_text_by_OBJ(X509_get_issuer_name(x), X509_NAME_ENTRY_get_object(e), buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'manage_certs_tool': smime.c:1290:44: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1290 | snprintf(filename, sizeof(filename), "%s/%s.key", | ^~ In file included from /usr/include/stdio.h:866, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from smime.c:28: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 20 and 4116 bytes into a destination of size 4097 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from smime.c:28: In function 'strncpy', inlined from 'smime_manage_password_file_certs_init' at smime.c:1625:7: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'smime_manage_certs_init' at smime.c:1726:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o xoauth2conf.o xoauth2conf.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from xoauth2conf.h:19, from xoauth2conf.c:16: xoauth2.h:18:20: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 18 | #define GMAIL_NAME "Gmail" | ^~~~~~~ xoauth2conf.c:29:5: note: in expansion of macro 'GMAIL_NAME' 29 | { GMAIL_NAME, GMAIL_ID, GMAIL_SECRET, GMAIL_TENANT, NULL, NULL}, | ^~~~~~~~~~ xoauth2.h:18:20: note: (near initialization for 'xoauth_default[0].name') 18 | #define GMAIL_NAME "Gmail" | ^~~~~~~ xoauth2conf.c:29:5: note: in expansion of macro 'GMAIL_NAME' 29 | { GMAIL_NAME, GMAIL_ID, GMAIL_SECRET, GMAIL_TENANT, NULL, NULL}, | ^~~~~~~~~~ xoauth2.h:23:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 23 | #define OUTLOOK_NAME "Outlook" | ^~~~~~~~~ xoauth2conf.c:30:5: note: in expansion of macro 'OUTLOOK_NAME' 30 | { OUTLOOK_NAME, OUTLOOK_ID, OUTLOOK_SECRET, OUTLOOK_TENANT, NULL, NULL}, | ^~~~~~~~~~~~ xoauth2.h:23:22: note: (near initialization for 'xoauth_default[1].name') 23 | #define OUTLOOK_NAME "Outlook" | ^~~~~~~~~ xoauth2conf.c:30:5: note: in expansion of macro 'OUTLOOK_NAME' 30 | { OUTLOOK_NAME, OUTLOOK_ID, OUTLOOK_SECRET, OUTLOOK_TENANT, NULL, NULL}, | ^~~~~~~~~~~~ xoauth2.h:33:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 33 | #define YAHOO_NAME "Yahoo!" | ^~~~~~~~ xoauth2conf.c:31:5: note: in expansion of macro 'YAHOO_NAME' 31 | { YAHOO_NAME, YAHOO_ID, YAHOO_SECRET, YAHOO_TENANT, NULL, NULL}, | ^~~~~~~~~~ xoauth2.h:33:22: note: (near initialization for 'xoauth_default[2].name') 33 | #define YAHOO_NAME "Yahoo!" | ^~~~~~~~ xoauth2conf.c:31:5: note: in expansion of macro 'YAHOO_NAME' 31 | { YAHOO_NAME, YAHOO_ID, YAHOO_SECRET, YAHOO_TENANT, NULL, NULL}, | ^~~~~~~~~~ xoauth2.h:28:23: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 28 | #define YANDEX_NAME "Yandex" | ^~~~~~~~ xoauth2conf.c:32:5: note: in expansion of macro 'YANDEX_NAME' 32 | { YANDEX_NAME, YANDEX_ID, YANDEX_SECRET, YANDEX_TENANT, NULL, NULL}, | ^~~~~~~~~~~ xoauth2.h:28:23: note: (near initialization for 'xoauth_default[3].name') 28 | #define YANDEX_NAME "Yandex" | ^~~~~~~~ xoauth2conf.c:32:5: note: in expansion of macro 'YANDEX_NAME' 32 | { YANDEX_NAME, YANDEX_ID, YANDEX_SECRET, YANDEX_TENANT, NULL, NULL}, | ^~~~~~~~~~~ xoauth2conf.c: In function 'same_xoauth2_info': xoauth2conf.c:79:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 79 | if(x.name && y.name && !strcmp(x.name, y.name) | ~^~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:79:44: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 79 | if(x.name && y.name && !strcmp(x.name, y.name) | ~^~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c: In function 'xoauth_config_line': xoauth2conf.c:132:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 132 | n = strlen(XNAME) + strlen(x->name) + strlen(XID) + strlen(x->client_id) | ~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ xoauth2conf.c:128:7: warning: unused variable 'i' [-Wunused-variable] 128 | int i; | ^ xoauth2conf.c: In function 'xoauth_info_choice': xoauth2conf.c:184:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 184 | for(i = n = 0; xinfo[i] != NULL; i++) | ^~~ xoauth2conf.c:185:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 185 | n += strlen(xinfo[i]->client_id); + 5; /* number, parenthesis, space */ | ^ xoauth2conf.c:185:39: warning: statement with no effect [-Wunused-value] xoauth2conf.c:186:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 186 | n += strlen(xinfo[0]->name) + strlen(user); | ~~~~~~~~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ xoauth2conf.c: In function 'oauth2_get_client_info': xoauth2conf.c:288:42: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 288 | if(x && x->name && name && !strcmp(x->name, name)) | ~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:288:50: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 288 | if(x && x->name && name && !strcmp(x->name, name)) | ^~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:294:72: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 294 | for(i = 0; xoauth_default[i].name != NULL && strcmp(xoauth_default[i].name, name); i++); | ~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:294:79: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 294 | for(i = 0; xoauth_default[i].name != NULL && strcmp(xoauth_default[i].name, name); i++); | ^~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:306:42: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 306 | if(x && x->name && name && !strcmp(x->name, name)){ | ~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:306:50: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 306 | if(x && x->name && name && !strcmp(x->name, name)){ | ^~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:312:72: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 312 | for(i = 0; xoauth_default[i].name != NULL && strcmp(xoauth_default[i].name, name); i++); | ~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:312:79: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 312 | for(i = 0; xoauth_default[i].name != NULL && strcmp(xoauth_default[i].name, name); i++); | ^~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:356:24: warning: unused variable 'l' [-Wunused-variable] 356 | char ***alval, **l; | ^ xoauth2conf.c:277:11: warning: unused variable 'alval' [-Wunused-variable] 277 | char ***alval, **lval; | ^~~~~ xoauth2conf.c: In function 'write_xoauth_configuration': xoauth2conf.c:400:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 400 | x->name = cpystr(vlist[i]->descrip); /* hack! but makes life so much easier! */ | ^ xoauth2conf.c:402:34: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 402 | && strcmp(xoauth_default[m].name, x->name); m++); | ~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:402:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 402 | && strcmp(xoauth_default[m].name, x->name); m++); | ~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:385:30: warning: unused variable 'y' [-Wunused-variable] 385 | XOAUTH2_INFO_S *x = NULL, *y; | ^ xoauth2conf.c: In function 'xoauth_parse_client_info': xoauth2conf.c:477:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 477 | if (*s) x->name = cpystr(s); | ^ xoauth2conf.c: In function 'xoauth2_conf_dedup_and_merge': xoauth2conf.c:537:20: warning: unused variable 'n' [-Wunused-variable] 537 | int i, j, k, l, n, m; | ^ xoauth2conf.c:537:14: warning: unused variable 'k' [-Wunused-variable] 537 | int i, j, k, l, n, m; | ^ xoauth2conf.c: In function 'write_xoauth_conf_entry': xoauth2conf.c:616:31: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 616 | (*cl)->value = cpystr(x->name); | ~^~~~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from headers.h:25, from xoauth2conf.c:15: ../pith/../c-client/misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ xoauth2conf.c:630:34: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 630 | varlist[p]->descrip = cpystr(x->name); /* hack, but makes life easier! */ | ~^~~~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from headers.h:25, from xoauth2conf.c:15: ../pith/../c-client/misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ xoauth2conf.c:658:36: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 658 | varlist[p]->descrip = cpystr(x->name); /* hack, but makes life easier! */ | ~^~~~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from headers.h:25, from xoauth2conf.c:15: ../pith/../c-client/misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ xoauth2conf.c:686:36: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 686 | varlist[p]->descrip = cpystr(x->name); /* hack, but makes life easier! */ | ~^~~~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from headers.h:25, from xoauth2conf.c:15: ../pith/../c-client/misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ xoauth2conf.c:713:36: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 713 | varlist[p]->descrip = cpystr(x->name); /* hack, but makes life easier! */ | ~^~~~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from headers.h:25, from xoauth2conf.c:15: ../pith/../c-client/misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ xoauth2conf.c:739:34: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 739 | varlist[p]->descrip = cpystr(x->name); /* hack, but makes life easier! */ | ~^~~~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from headers.h:25, from xoauth2conf.c:15: ../pith/../c-client/misc.h:84:27: note: expected 'const char *' but argument is of type 'unsigned char *' 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ xoauth2conf.c:605:8: warning: unused variable 'i' [-Wunused-variable] 605 | int i, p = *pp; | ^ xoauth2conf.c: In function 'alpine_xoauth2_configuration': xoauth2conf.c:858:37: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 858 | if(y && (!y->name || strcmp(y->name, xoauth_default[i].name))){ | ~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:858:62: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 858 | if(y && (!y->name || strcmp(y->name, xoauth_default[i].name))){ | ~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:892:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 892 | if(!strcmp(oa2list->name,xoauth_default[i].name)){ | ~~~~~~~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:892:47: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 892 | if(!strcmp(oa2list->name,xoauth_default[i].name)){ | ~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:906:37: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 906 | if(y && (!y->name || strcmp(y->name, xoauth_default[i].name))){ | ~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:906:62: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 906 | if(y && (!y->name || strcmp(y->name, xoauth_default[i].name))){ | ~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:917:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 917 | if(!strcmp(oa2list->name, y->name)) oa2 = oa2list; | ~~~~~~~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:917:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 917 | if(!strcmp(oa2list->name, y->name)) oa2 = oa2list; | ~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xoauth2conf.c:954:77: warning: pointer targets in passing argument 1 of 'strucmp' differ in signedness [-Wpointer-sign] 954 | for(i = 0; xoauth_default[i].name != NULL && strucmp(xoauth_default[i].name, service); i++); | ~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from ../pith/headers.h:40, from headers.h:25, from xoauth2conf.c:15: ../pith/osdep/collate.h:25:15: note: expected 'char *' but argument is of type 'unsigned char *' 25 | int strucmp(char *, char *); | ^~~~~~ xoauth2conf.c:801:21: warning: unused variable 'x' [-Wunused-variable] 801 | XOAUTH2_INFO_S x, *y; | ^ xoauth2conf.c:799:43: warning: unused variable 'add_hidden_vars_title' [-Wunused-variable] 799 | int expose_hidden_config, add_hidden_vars_title = 0; | ^~~~~~~~~~~~~~~~~~~~~ xoauth2conf.c:796:19: warning: unused variable 'feature' [-Wunused-variable] 796 | FEATURE_S *feature; | ^~~~~~~ xoauth2conf.c:793:29: warning: variable 'q' set but not used [-Wunused-but-set-variable] 793 | int i, j, k, l, p, q, ln = 0, readonly_warning = 0, pos, count_vars; | ^ xoauth2conf.c:793:23: warning: unused variable 'l' [-Wunused-variable] 793 | int i, j, k, l, p, q, ln = 0, readonly_warning = 0, pos, count_vars; | ^ xoauth2conf.c:792:30: warning: unused variable 'secret_def' [-Wunused-variable] 792 | *id_def, *tenant_def, *secret_def; | ^~~~~~~~~~ xoauth2conf.c:792:17: warning: unused variable 'tenant_def' [-Wunused-variable] 792 | *id_def, *tenant_def, *secret_def; | ^~~~~~~~~~ xoauth2conf.c:792:8: warning: unused variable 'id_def' [-Wunused-variable] 792 | *id_def, *tenant_def, *secret_def; | ^~~~~~ xoauth2conf.c:791:65: warning: unused variable 'user_lval' [-Wunused-variable] 791 | char *name_lval, *id_lval, *tenant_lval, *secret_lval, *user_lval, | ^~~~~~~~~ xoauth2conf.c:791:51: warning: unused variable 'secret_lval' [-Wunused-variable] 791 | char *name_lval, *id_lval, *tenant_lval, *secret_lval, *user_lval, | ^~~~~~~~~~~ xoauth2conf.c:791:37: warning: unused variable 'tenant_lval' [-Wunused-variable] 791 | char *name_lval, *id_lval, *tenant_lval, *secret_lval, *user_lval, | ^~~~~~~~~~~ xoauth2conf.c:791:27: warning: unused variable 'id_lval' [-Wunused-variable] 791 | char *name_lval, *id_lval, *tenant_lval, *secret_lval, *user_lval, | ^~~~~~~ xoauth2conf.c:791:15: warning: unused variable 'name_lval' [-Wunused-variable] 791 | char *name_lval, *id_lval, *tenant_lval, *secret_lval, *user_lval, | ^~~~~~~~~ xoauth2conf.c:790:46: warning: unused variable 'user' [-Wunused-variable] 790 | char *name, *id, *tenant, *secret, **user; | ^~~~ xoauth2conf.c:790:36: warning: unused variable 'secret' [-Wunused-variable] 790 | char *name, *id, *tenant, *secret, **user; | ^~~~~~ xoauth2conf.c:790:27: warning: unused variable 'tenant' [-Wunused-variable] 790 | char *name, *id, *tenant, *secret, **user; | ^~~~~~ xoauth2conf.c:790:22: warning: unused variable 'id' [-Wunused-variable] 790 | char *name, *id, *tenant, *secret, **user; | ^~ xoauth2conf.c:790:15: warning: unused variable 'name' [-Wunused-variable] 790 | char *name, *id, *tenant, *secret, **user; | ^~~~ xoauth2conf.c:789:19: warning: unused variable 'extraname' [-Wunused-variable] 789 | char *s, *extraname = NULL; | ^~~~~~~~~ xoauth2conf.c:789:15: warning: unused variable 's' [-Wunused-variable] 789 | char *s, *extraname = NULL; | ^ xoauth2conf.c:788:31: warning: unused variable 'pval' [-Wunused-variable] 788 | char tmp[MAXPATH+1], *pval, **lval, ***alval; | ^~~~ xoauth2conf.c:788:14: warning: unused variable 'tmp' [-Wunused-variable] 788 | char tmp[MAXPATH+1], *pval, **lval, ***alval; | ^~~ In file included from xoauth2conf.c:24: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rpload.o rpload.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' rpload.c: In function 'opt_enter': rpload.c:1007:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1007 | fgets(string, field_len, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: rpload.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: rpload.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; | ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o roleconf.o roleconf.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from context.h:23, from conftype.h:24, from roleconf.h:21, from roleconf.c:20: roleconf.c: In function 'role_config_edit_screen': ../pith/conf.h:865:25: warning: the address of 'nick_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:2936:13: note: in expansion of macro 'APVAL' 2936 | apval = APVAL(&nick_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'comment_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:2955:13: note: in expansion of macro 'APVAL' 2955 | apval = APVAL(&comment_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'age_pat_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3001:10: note: in expansion of macro 'APVAL' 3001 | apval = APVAL(&age_pat_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'size_pat_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3012:10: note: in expansion of macro 'APVAL' 3012 | apval = APVAL(&size_pat_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'scorei_pat_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3025:10: note: in expansion of macro 'APVAL' 3025 | apval = APVAL(&scorei_pat_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_del_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3035:13: note: in expansion of macro 'APVAL' 3035 | apval = APVAL(&stat_del_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_new_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3043:13: note: in expansion of macro 'APVAL' 3043 | apval = APVAL(&stat_new_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_imp_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3051:13: note: in expansion of macro 'APVAL' 3051 | apval = APVAL(&stat_imp_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_ans_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3059:13: note: in expansion of macro 'APVAL' 3059 | apval = APVAL(&stat_ans_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_8bit_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3067:13: note: in expansion of macro 'APVAL' 3067 | apval = APVAL(&stat_8bit_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_rec_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3075:13: note: in expansion of macro 'APVAL' 3075 | apval = APVAL(&stat_rec_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_bom_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3083:13: note: in expansion of macro 'APVAL' 3083 | apval = APVAL(&stat_bom_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_boy_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3091:13: note: in expansion of macro 'APVAL' 3091 | apval = APVAL(&stat_boy_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'filt_del_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3103:13: note: in expansion of macro 'APVAL' 3103 | apval = APVAL(&filt_del_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'filt_new_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3111:13: note: in expansion of macro 'APVAL' 3111 | apval = APVAL(&filt_new_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'filt_imp_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3119:13: note: in expansion of macro 'APVAL' 3119 | apval = APVAL(&filt_imp_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'filt_ans_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3127:13: note: in expansion of macro 'APVAL' 3127 | apval = APVAL(&filt_ans_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'inick_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3134:13: note: in expansion of macro 'APVAL' 3134 | apval = APVAL(&inick_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'fldr_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3143:13: note: in expansion of macro 'APVAL' 3143 | apval = APVAL(&fldr_type_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'folder_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3150:13: note: in expansion of macro 'ALVAL' 3150 | alval = ALVAL(&folder_pat_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'abook_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3165:13: note: in expansion of macro 'APVAL' 3165 | apval = APVAL(&abook_type_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'cat_cmd_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3182:13: note: in expansion of macro 'ALVAL' 3182 | alval = ALVAL(&cat_cmd_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'cati_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3194:10: note: in expansion of macro 'APVAL' 3194 | apval = APVAL(&cati_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'cat_lim_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3205:13: note: in expansion of macro 'APVAL' 3205 | apval = APVAL(&cat_lim_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'from_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3224:10: note: in expansion of macro 'APVAL' 3224 | apval = APVAL(&from_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'from_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3228:10: note: in expansion of macro 'APVAL' 3228 | apval = APVAL(&from_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'replyto_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3241:10: note: in expansion of macro 'APVAL' 3241 | apval = APVAL(&replyto_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'replyto_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3245:10: note: in expansion of macro 'APVAL' 3245 | apval = APVAL(&replyto_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'fcc_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3252:13: note: in expansion of macro 'APVAL' 3252 | apval = APVAL(&fcc_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'sort_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3259:13: note: in expansion of macro 'APVAL' 3259 | apval = APVAL(&sort_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'iform_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3273:13: note: in expansion of macro 'APVAL' 3273 | apval = APVAL(&iform_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'startup_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3286:13: note: in expansion of macro 'APVAL' 3286 | apval = APVAL(&startup_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'litsig_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3303:13: note: in expansion of macro 'APVAL' 3303 | apval = APVAL(&litsig_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'sig_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3310:13: note: in expansion of macro 'APVAL' 3310 | apval = APVAL(&sig_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'templ_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3319:13: note: in expansion of macro 'APVAL' 3319 | apval = APVAL(&templ_act_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'cstm_act_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3328:13: note: in expansion of macro 'ALVAL' 3328 | alval = ALVAL(&cstm_act_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'smtp_act_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3336:13: note: in expansion of macro 'ALVAL' 3336 | alval = ALVAL(&smtp_act_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'nntp_act_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3344:13: note: in expansion of macro 'ALVAL' 3344 | alval = ALVAL(&nntp_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'score_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3358:10: note: in expansion of macro 'APVAL' 3358 | apval = APVAL(&score_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'hdrtok_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3370:10: note: in expansion of macro 'APVAL' 3370 | apval = APVAL(&hdrtok_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'repl_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3382:13: note: in expansion of macro 'APVAL' 3382 | apval = APVAL(&repl_type_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'forw_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3390:13: note: in expansion of macro 'APVAL' 3390 | apval = APVAL(&forw_type_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'comp_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3397:13: note: in expansion of macro 'APVAL' 3397 | apval = APVAL(&comp_type_var, ew); | ^~~~~ ../pith/conf.h:863:24: warning: the address of 'fldr_type_var' will always evaluate as 'true' [-Waddress] 863 | #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ | ^ roleconf.c:3553:6: note: in expansion of macro 'PVAL' 3553 | if((PVAL(&fldr_type_var, ew) && | ^~~~ ../pith/conf.h:863:24: warning: the address of 'fldr_type_var' will always evaluate as 'true' [-Waddress] 863 | #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ | ^ roleconf.c:3554:15: note: in expansion of macro 'PVAL' 3554 | !strucmp(PVAL(&fldr_type_var, ew), f->name)) | ^~~~ ../pith/conf.h:863:24: warning: the address of 'fldr_type_var' will always evaluate as 'true' [-Waddress] 863 | #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ | ^ roleconf.c:3555:10: note: in expansion of macro 'PVAL' 3555 | || (!PVAL(&fldr_type_var, ew) && f->value == FLDR_DEFL)) | ^~~~ ../pith/conf.h:863:24: warning: the address of 'abook_type_var' will always evaluate as 'true' [-Waddress] 863 | #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ | ^ roleconf.c:3834:6: note: in expansion of macro 'PVAL' 3834 | if((PVAL(&abook_type_var, ew) && | ^~~~ ../pith/conf.h:863:24: warning: the address of 'abook_type_var' will always evaluate as 'true' [-Waddress] 863 | #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ | ^ roleconf.c:3835:15: note: in expansion of macro 'PVAL' 3835 | !strucmp(PVAL(&abook_type_var, ew), f->name)) | ^~~~ ../pith/conf.h:863:24: warning: the address of 'abook_type_var' will always evaluate as 'true' [-Waddress] 863 | #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ | ^ roleconf.c:3836:10: note: in expansion of macro 'PVAL' 3836 | || (!PVAL(&abook_type_var, ew) && f->value == IAB_DEFL)) | ^~~~ ../pith/conf.h:867:24: warning: the address of 'cat_cmd_var' will always evaluate as 'true' [-Waddress] 867 | #define LVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.l : \ | ^ roleconf.c:3989:16: note: in expansion of macro 'LVAL' 3989 | if((lval = LVAL(&cat_cmd_var, ew)) != NULL && lval[0]){ | ^~~~ ../pith/conf.h:867:24: warning: the address of 'cstm_act_var' will always evaluate as 'true' [-Waddress] 867 | #define LVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.l : \ | ^ roleconf.c:4190:13: note: in expansion of macro 'LVAL' 4190 | if((lval = LVAL(&cstm_act_var, ew)) != NULL){ | ^~~~ ../pith/conf.h:867:24: warning: the address of 'smtp_act_var' will always evaluate as 'true' [-Waddress] 867 | #define LVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.l : \ | ^ roleconf.c:4222:13: note: in expansion of macro 'LVAL' 4222 | if((lval = LVAL(&smtp_act_var, ew)) != NULL){ | ^~~~ ../pith/conf.h:867:24: warning: the address of 'nntp_act_var' will always evaluate as 'true' [-Waddress] 867 | #define LVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.l : \ | ^ roleconf.c:4254:13: note: in expansion of macro 'LVAL' 4254 | if((lval = LVAL(&nntp_act_var, ew)) != NULL){ | ^~~~ ../pith/conf.h:865:25: warning: the address of 'filter_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:4345:10: note: in expansion of macro 'APVAL' 4345 | apval = APVAL(&filter_type_var, ew); | ^~~~~ ../pith/conf.h:863:24: warning: the address of 'sort_act_var' will always evaluate as 'true' [-Waddress] 863 | #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ | ^ roleconf.c:4488:9: note: in expansion of macro 'PVAL' 4488 | pval = PVAL(&sort_act_var, ew); | ^~~~ ../pith/conf.h:865:25: warning: the address of 'nick_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:4929:10: note: in expansion of macro 'APVAL' 4929 | apval = APVAL(&nick_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'comment_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:4934:10: note: in expansion of macro 'APVAL' 4934 | apval = APVAL(&comment_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'to_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4939:10: note: in expansion of macro 'ALVAL' 4939 | alval = ALVAL(&to_pat_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'from_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4943:10: note: in expansion of macro 'ALVAL' 4943 | alval = ALVAL(&from_pat_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'sender_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4947:10: note: in expansion of macro 'ALVAL' 4947 | alval = ALVAL(&sender_pat_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'cc_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4951:10: note: in expansion of macro 'ALVAL' 4951 | alval = ALVAL(&cc_pat_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'recip_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4955:10: note: in expansion of macro 'ALVAL' 4955 | alval = ALVAL(&recip_pat_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'partic_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4959:10: note: in expansion of macro 'ALVAL' 4959 | alval = ALVAL(&partic_pat_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'news_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4963:10: note: in expansion of macro 'ALVAL' 4963 | alval = ALVAL(&news_pat_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'subj_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4967:10: note: in expansion of macro 'ALVAL' 4967 | alval = ALVAL(&subj_pat_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'alltext_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4971:10: note: in expansion of macro 'ALVAL' 4971 | alval = ALVAL(&alltext_pat_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'bodytext_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4975:10: note: in expansion of macro 'ALVAL' 4975 | alval = ALVAL(&bodytext_pat_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'keyword_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4979:10: note: in expansion of macro 'ALVAL' 4979 | alval = ALVAL(&keyword_pat_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'charset_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4983:10: note: in expansion of macro 'ALVAL' 4983 | alval = ALVAL(&charset_pat_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'age_pat_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:4987:10: note: in expansion of macro 'APVAL' 4987 | apval = APVAL(&age_pat_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'size_pat_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:4992:10: note: in expansion of macro 'APVAL' 4992 | apval = APVAL(&size_pat_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'scorei_pat_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:4997:10: note: in expansion of macro 'APVAL' 4997 | apval = APVAL(&scorei_pat_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_del_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5002:10: note: in expansion of macro 'APVAL' 5002 | apval = APVAL(&stat_del_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_new_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5007:10: note: in expansion of macro 'APVAL' 5007 | apval = APVAL(&stat_new_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_rec_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5012:10: note: in expansion of macro 'APVAL' 5012 | apval = APVAL(&stat_rec_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_imp_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5017:10: note: in expansion of macro 'APVAL' 5017 | apval = APVAL(&stat_imp_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_ans_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5022:10: note: in expansion of macro 'APVAL' 5022 | apval = APVAL(&stat_ans_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_8bit_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5027:10: note: in expansion of macro 'APVAL' 5027 | apval = APVAL(&stat_8bit_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_bom_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5032:10: note: in expansion of macro 'APVAL' 5032 | apval = APVAL(&stat_bom_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'stat_boy_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5037:10: note: in expansion of macro 'APVAL' 5037 | apval = APVAL(&stat_boy_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'fldr_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5042:10: note: in expansion of macro 'APVAL' 5042 | apval = APVAL(&fldr_type_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'folder_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5047:10: note: in expansion of macro 'ALVAL' 5047 | alval = ALVAL(&folder_pat_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'abook_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5051:10: note: in expansion of macro 'APVAL' 5051 | apval = APVAL(&abook_type_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'abook_pat_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5056:10: note: in expansion of macro 'ALVAL' 5056 | alval = ALVAL(&abook_pat_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'cati_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5060:10: note: in expansion of macro 'APVAL' 5060 | apval = APVAL(&cati_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'cat_lim_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5065:10: note: in expansion of macro 'APVAL' 5065 | apval = APVAL(&cat_lim_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'inick_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5070:10: note: in expansion of macro 'APVAL' 5070 | apval = APVAL(&inick_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'from_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5075:10: note: in expansion of macro 'APVAL' 5075 | apval = APVAL(&from_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'replyto_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5080:10: note: in expansion of macro 'APVAL' 5080 | apval = APVAL(&replyto_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'fcc_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5085:10: note: in expansion of macro 'APVAL' 5085 | apval = APVAL(&fcc_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'litsig_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5090:10: note: in expansion of macro 'APVAL' 5090 | apval = APVAL(&litsig_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'sort_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5095:10: note: in expansion of macro 'APVAL' 5095 | apval = APVAL(&sort_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'iform_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5100:10: note: in expansion of macro 'APVAL' 5100 | apval = APVAL(&iform_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'startup_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5105:10: note: in expansion of macro 'APVAL' 5105 | apval = APVAL(&startup_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'sig_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5110:10: note: in expansion of macro 'APVAL' 5110 | apval = APVAL(&sig_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'templ_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5115:10: note: in expansion of macro 'APVAL' 5115 | apval = APVAL(&templ_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'score_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5120:10: note: in expansion of macro 'APVAL' 5120 | apval = APVAL(&score_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'hdrtok_act_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5125:10: note: in expansion of macro 'APVAL' 5125 | apval = APVAL(&hdrtok_act_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'repl_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5130:10: note: in expansion of macro 'APVAL' 5130 | apval = APVAL(&repl_type_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'forw_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5135:10: note: in expansion of macro 'APVAL' 5135 | apval = APVAL(&forw_type_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'comp_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5140:10: note: in expansion of macro 'APVAL' 5140 | apval = APVAL(&comp_type_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'filter_type_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5155:10: note: in expansion of macro 'APVAL' 5155 | apval = APVAL(&filter_type_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'folder_act_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5160:10: note: in expansion of macro 'ALVAL' 5160 | alval = ALVAL(&folder_act_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'keyword_set_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5164:10: note: in expansion of macro 'ALVAL' 5164 | alval = ALVAL(&keyword_set_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'keyword_clr_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5168:10: note: in expansion of macro 'ALVAL' 5168 | alval = ALVAL(&keyword_clr_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'filt_imp_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5172:10: note: in expansion of macro 'APVAL' 5172 | apval = APVAL(&filt_imp_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'filt_del_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5177:10: note: in expansion of macro 'APVAL' 5177 | apval = APVAL(&filt_del_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'filt_new_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5182:10: note: in expansion of macro 'APVAL' 5182 | apval = APVAL(&filt_new_var, ew); | ^~~~~ ../pith/conf.h:865:25: warning: the address of 'filt_ans_var' will always evaluate as 'true' [-Waddress] 865 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:5187:10: note: in expansion of macro 'APVAL' 5187 | apval = APVAL(&filt_ans_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'cat_cmd_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5193:10: note: in expansion of macro 'ALVAL' 5193 | alval = ALVAL(&cat_cmd_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'cstm_act_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5197:10: note: in expansion of macro 'ALVAL' 5197 | alval = ALVAL(&cstm_act_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'smtp_act_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5201:10: note: in expansion of macro 'ALVAL' 5201 | alval = ALVAL(&smtp_act_var, ew); | ^~~~~ ../pith/conf.h:869:25: warning: the address of 'nntp_act_var' will always evaluate as 'true' [-Waddress] 869 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5205:10: note: in expansion of macro 'ALVAL' 5205 | alval = ALVAL(&nntp_act_var, ew); | ^~~~~ roleconf.c:5519:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 5519 | for(j = 0; (f = inabook_fldr_types(j)); j++) | ^~~ roleconf.c:5525:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 5525 | if(bitnset(INABOOK_FROM, inabook_type_list)) | ^~ In file included from mailcmd.h:26, from roleconf.c:30: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ roleconf.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] 2 | static char rcsid[] = "$Id: roleconf.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; | ^~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from roleconf.c:19: In function 'strncpy', inlined from 'role_config_edit_screen' at roleconf.c:3411:5: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'role_text_tool' at roleconf.c:7207:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roleconf.c: In function 'role_text_tool': roleconf.c:7219:18: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] 7219 | newfile = cpystr(full_filename + len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ roleconf.c: In function 'role_config_addfile': roleconf.c:1965:18: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] 1965 | newfile = cpystr(full_filename + len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from roleconf.c:19: In function 'strncpy', inlined from 'role_take' at roleconf.c:609:7: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roleconf.c: In function 'role_config_add': roleconf.c:1255:25: warning: 'new_patline' may be used uninitialized in this function [-Wmaybe-uninitialized] 1255 | new_pat->patline = new_patline; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ roleconf.c: In function 'role_config_replicate': roleconf.c:1409:25: warning: 'new_patline' may be used uninitialized in this function [-Wmaybe-uninitialized] 1409 | new_pat->patline = new_patline; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L `cat ../c-client/LDFLAGS` -L/usr/lib -Wl,-z,relro -Wl,--as-needed -o rpdump rpdump.o ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 libtool: link: gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--as-needed -o rpdump rpdump.o -L/usr/lib -L/usr/kerberos/lib -lcom_err ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 -pthread make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' ../imap/c-client/dummy.c:536:13: warning: type of 'maildir_delete' does not match original declaration [-Wlto-type-mismatch] 536 | return maildir_delete(stream, tmp); | ^ ../imap/c-client/maildir.c:1530:6: note: return value type mismatch 1530 | long maildir_delete (MAILSTREAM *stream,char *mailbox) | ^ ../imap/c-client/maildir.c:1530:6: note: type 'long int' should match type 'int' ../imap/c-client/maildir.c:1530:6: note: 'maildir_delete' was previously declared here ../imap/c-client/maildir.c:1530:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used ../imap/c-client/dummy.c:464:12: warning: type of 'maildir_create' does not match original declaration [-Wlto-type-mismatch] 464 | return maildir_create(stream, mailbox); | ^ ../imap/c-client/maildir.c:1251:6: note: return value type mismatch 1251 | long maildir_create (MAILSTREAM *stream,char *mailbox) | ^ ../imap/c-client/maildir.c:1251:6: note: type 'long int' should match type 'int' ../imap/c-client/maildir.c:1251:6: note: 'maildir_create' was previously declared here ../imap/c-client/maildir.c:1251:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L `cat ../c-client/LDFLAGS` -L/usr/lib -Wl,-z,relro -Wl,--as-needed -o rpload rpload.o ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 libtool: link: gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--as-needed -o rpload rpload.o -L/usr/lib -L/usr/kerberos/lib -lcom_err ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 -pthread make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' ../imap/c-client/dummy.c:536:13: warning: type of 'maildir_delete' does not match original declaration [-Wlto-type-mismatch] 536 | return maildir_delete(stream, tmp); | ^ ../imap/c-client/maildir.c:1530:6: note: return value type mismatch 1530 | long maildir_delete (MAILSTREAM *stream,char *mailbox) | ^ ../imap/c-client/maildir.c:1530:6: note: type 'long int' should match type 'int' ../imap/c-client/maildir.c:1530:6: note: 'maildir_delete' was previously declared here ../imap/c-client/maildir.c:1530:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used ../imap/c-client/dummy.c:464:12: warning: type of 'maildir_create' does not match original declaration [-Wlto-type-mismatch] 464 | return maildir_create(stream, mailbox); | ^ ../imap/c-client/maildir.c:1251:6: note: return value type mismatch 1251 | long maildir_create (MAILSTREAM *stream,char *mailbox) | ^ ../imap/c-client/maildir.c:1251:6: note: type 'long int' should match type 'int' ../imap/c-client/maildir.c:1251:6: note: 'maildir_create' was previously declared here ../imap/c-client/maildir.c:1251:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L `cat ../c-client/LDFLAGS` -L/usr/lib -Wl,-z,relro -Wl,--as-needed -o alpine addrbook.o adrbkcmd.o after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o setup.o signal.o status.o takeaddr.o titlebar.o smime.o newmail.o xoauth2conf.o date.o ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 libtool: link: gcc -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--as-needed -o alpine addrbook.o adrbkcmd.o after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o setup.o signal.o status.o takeaddr.o titlebar.o smime.o newmail.o xoauth2conf.o date.o -L/usr/lib -L/usr/kerberos/lib -lcom_err ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 -pthread make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' ../imap/c-client/dummy.c:536:13: warning: type of 'maildir_delete' does not match original declaration [-Wlto-type-mismatch] 536 | return maildir_delete(stream, tmp); | ^ ../imap/c-client/maildir.c:1530:6: note: return value type mismatch 1530 | long maildir_delete (MAILSTREAM *stream,char *mailbox) | ^ ../imap/c-client/maildir.c:1530:6: note: type 'long int' should match type 'int' ../imap/c-client/maildir.c:1530:6: note: 'maildir_delete' was previously declared here ../imap/c-client/maildir.c:1530:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used ../imap/c-client/dummy.c:464:12: warning: type of 'maildir_create' does not match original declaration [-Wlto-type-mismatch] 464 | return maildir_create(stream, mailbox); | ^ ../imap/c-client/maildir.c:1251:6: note: return value type mismatch 1251 | long maildir_create (MAILSTREAM *stream,char *mailbox) | ^ ../imap/c-client/maildir.c:1251:6: note: type 'long int' should match type 'int' ../imap/c-client/maildir.c:1251:6: note: 'maildir_create' was previously declared here ../imap/c-client/maildir.c:1251:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used In function 'strncpy', inlined from 'pine_send' at send.c:3007:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ send.c: In function 'pine_send': send.c:3007:32: note: length computed here 3007 | strncpy(he->prompt, he->name, MIN(strlen(he->name), he->prwid - 2)); | ^ In function 'strncpy', inlined from 'pine_mail_copy_full' at ../pith/stream.c:1120:6, inlined from 'context_copy' at ../pith/context.c:609:33, inlined from 'save' at ../pith/save.c:755:25: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pith/save.c: In function 'save': ../pith/stream.c:1118:8: note: length computed here 1118 | len = strlen(mailbox); | ^ In function 'strncpy', inlined from 'expand_filter_tokens.constprop' at dispfilt.c:206:5: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ dispfilt.c: In function 'expand_filter_tokens.constprop': dispfilt.c:206:25: note: length computed here 206 | strncpy(bp, filter, strlen(filter)+1); | ^ In function 'strncpy', inlined from 'AskAttach' at ../pico/attach.c:351:4, inlined from 'HeaderEditorWork.constprop' at ../pico/composer.c:799:11: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pico/composer.c: In function 'HeaderEditorWork.constprop': ../pico/attach.c:343:10: note: length computed here 343 | len = strlen(fn); | ^ In function 'strncpy', inlined from 'AskAttach' at ../pico/attach.c:226:3, inlined from 'HeaderEditorWork.constprop' at ../pico/composer.c:799:11: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pico/composer.c: In function 'HeaderEditorWork.constprop': ../pico/attach.c:214:52: note: length computed here 214 | if (upload && (strlen(fn)+strlen(S_FILESEP)+strlen(bfn)) < sizeof(fn)){ | ^ In function 'strncpy', inlined from 'AskAttach' at ../pico/attach.c:228:3, inlined from 'HeaderEditorWork.constprop' at ../pico/composer.c:799:11: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pico/composer.c: In function 'HeaderEditorWork.constprop': ../pico/attach.c:214:23: note: length computed here 214 | if (upload && (strlen(fn)+strlen(S_FILESEP)+strlen(bfn)) < sizeof(fn)){ | ^ In function 'strncpy', inlined from 'save_pico_state' at ../pico/composer.c:4699:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pico/composer.c: In function 'save_pico_state': ../pico/composer.c:4699:40: note: length computed here 4699 | strncpy(ret->opertree, opertree, strlen(opertree)+1); | ^ ../pico/composer.c: In function 'call_builder': ../pico/composer.c:3689:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 3689 | *sbuf = '\0'; | ^ ../pico/composer.c:3684:22: note: at offset 0 to an object with size 0 allocated by 'malloc' here 3684 | if((sbuf=(char *)malloc(sbuflen * sizeof(*sbuf))) == NULL){ | ^ In function 'strncat', inlined from 'insfile' at ../pico/file.c:276:10: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pico/file.c: In function 'insfile': ../pico/file.c:270:44: note: length computed here 270 | len = strlen(dir)+strlen(S_FILESEP)+strlen(fname); | ^ In function 'strncpy', inlined from 'color_to_asciirgb' at ../pico/osdep/color.c:1685:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pico/osdep/color.c: In function 'color_to_asciirgb': ../pico/osdep/color.c:1684:6: note: length computed here 1684 | l = strlen(colorName); | ^ In function 'strncpy', inlined from 'gethomedir' at ../pico/osdep/filesys.c:244:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pico/osdep/filesys.c: In function 'gethomedir': ../pico/osdep/filesys.c:238:9: note: length computed here 238 | hlen = strlen(buf); | ^ In function 'strncpy', inlined from 'SyncAttach' at ../pico/attach.c:574:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pico/attach.c: In function 'SyncAttach': ../pico/attach.c:565:13: note: length computed here 565 | if((j=strlen(comment)) > strlen(tp->description)){ | ^ In function 'strncpy', inlined from 'NewAttach' at ../pico/attach.c:1291:5, inlined from 'SyncAttach' at ../pico/attach.c:586:12: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pico/attach.c: In function 'SyncAttach': ../pico/attach.c:1284:11: note: length computed here 1284 | len = strlen(f); | ^ In function 'strncpy', inlined from 'NewAttach' at ../pico/attach.c:1319:5, inlined from 'SyncAttach' at ../pico/attach.c:586:12: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pico/attach.c: In function 'SyncAttach': ../pico/attach.c:1310:11: note: length computed here 1310 | len = strlen(c); | ^ In function 'strncpy', inlined from 'context_allowed' at ../pith/context.c:322:6: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pith/context.c: In function 'context_allowed': ../pith/context.c:322:28: note: length computed here 322 | strncpy(free_this, p, strlen(p)+200); | ^ In function 'strncpy', inlined from 'open_system_pipe.constprop' at ../pith/osdep/pipe.c:260:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pith/osdep/pipe.c: In function 'open_system_pipe.constprop': ../pith/osdep/pipe.c:257:14: note: length computed here 257 | int l = strlen(p); | ^ In function 'strncpy', inlined from 'pine_mail_append_full' at ../pith/stream.c:960:6: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pith/stream.c: In function 'pine_mail_append_full': ../pith/stream.c:958:8: note: length computed here 958 | len = strlen(mailbox); | ^ In function 'strncpy', inlined from 'getfcells' at ../pico/browse.c:1938:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../pico/browse.c: In function 'getfcells': ../pico/browse.c:1924:42: note: length computed here 1924 | if ((flength = strlen(ncp->fname) + 1 + strlen(dname)) < sizeof(mp->dname)){ | ^ In function 'strncat', inlined from 'write_passfile' at imap.c:3854:2: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^ imap.c: In function 'write_passfile': imap.c:3853:9: note: length computed here 3853 | len += strlen(tmp) + 1; | ^ make[2]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vs3ahg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64 + cd alpine-2.24 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64 'INSTALL=/usr/bin/install -p' if test ! -L c-client ; then ln -s imap/c-client c-client ; fi touch imap/ip6 cd imap && /usr/bin/make lfd EXTRACFLAGS=" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -Wl,--as-needed -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5" EXTRAAUTHENTICATORS="gss " EXTRASPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private " BUNDLED="no" make[1]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' make build EXTRACFLAGS='-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private ' BUNDLED='no' BUILDTYPE=lnpno IP=6 \ SPECIALS="GSSDIR=/usr/kerberos" make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' Rebuilding c-client for lnpno... cd c-client;make all CC=`cat CCTYPE` \ CFLAGS="`cat CFLAGS`" `cat SPECIALS` make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap/c-client' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap/c-client' sh -c 'rm -rf rebuild || true' Not building bundled tools. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' /usr/bin/make install-recursive make[1]: Entering directory '/builddir/build/BUILD/alpine-2.24' Making install in m4 make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/m4' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/m4' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/m4' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/m4' Making install in po make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/po' /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share if test "alpine" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -p -m 644 ./$file \ /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/po' Making install in pith make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' /usr/bin/make install-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' Making install in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' Making install in charconv make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' Making install in pico make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' Making install in osdep make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p pico pilot '/builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin' libtool: install: /usr/bin/install -p pico /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/pico libtool: install: /usr/bin/install -p pilot /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/pilot make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' Making install in alpine make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' /usr/bin/make install-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' Making install in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p alpine rpdump rpload '/builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin' libtool: install: /usr/bin/install -p alpine /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/alpine libtool: install: /usr/bin/install -p rpdump /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/rpdump libtool: install: /usr/bin/install -p rpload /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/rpload make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24' cd imap && /usr/bin/make install-mailutil BUNDLED="no" DESTDIR="/builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64" bindir="/usr/bin" mandir="/usr/share/man" make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' Not building bundled tools. Installing mailutil... BUNDLED=no if test x"no" = x""; then \ /usr/bin/install -p -d /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin; \ /usr/bin/install -p mailutil/mailutil /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/mailutil; \ /usr/bin/install -p -d /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/man/man1; \ /usr/bin/install -p src/mailutil/mailutil.1 /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/man/man1/mailutil.1; \ fi make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 doc/man1/alpine.1 doc/man1/pico.1 doc/man1/pilot.1 doc/man1/rpdump.1 doc/man1/rpload.1 '/builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/man/man1' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.24' + mkdir -p /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/etc + touch /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/etc/pine.conf + touch /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/etc/pine.conf.fixed + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.24-1.fc33 --unique-debug-suffix -2.24-1.fc33.riscv64 --unique-debug-src-base alpine-2.24-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/alpine-2.24 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/pilot explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/pico explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/rpdump explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/alpine extracting debug info from /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/alpine extracting debug info from /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/pilot extracting debug info from /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/rpdump extracting debug info from /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/pico explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/rpload extracting debug info from /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/bin/rpload original debug info size: 69120kB, size after compression: 64852kB /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 26648 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: alpine-2.24-1.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.G7myCd + umask 022 + cd /builddir/build/BUILD + cd alpine-2.24 + DOCDIR=/builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/doc/alpine + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/doc/alpine + cp -pr README /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/doc/alpine + cp -pr README.fedora /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/doc/alpine + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.V6Wcif + umask 022 + cd /builddir/build/BUILD + cd alpine-2.24 + LICENSEDIR=/builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/licenses/alpine + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/licenses/alpine + cp -pr LICENSE /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64/usr/share/licenses/alpine + RPM_EC=0 ++ jobs -p + exit 0 Provides: alpine = 2.24-1.fc33 alpine(riscv-64) = 2.24-1.fc33 config(alpine) = 2.24-1.fc33 re-alpine = 2.24-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libcrypto.so.1.1(OPENSSL_1_1_1)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgssapi_krb5.so.2()(64bit) libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Conflicts: pine Processing files: alpine-debugsource-2.24-1.fc33.riscv64 Provides: alpine-debugsource = 2.24-1.fc33 alpine-debugsource(riscv-64) = 2.24-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: alpine-debuginfo-2.24-1.fc33.riscv64 Provides: alpine-debuginfo = 2.24-1.fc33 alpine-debuginfo(riscv-64) = 2.24-1.fc33 debuginfo(build-id) = 13ab88ca0bd329fcc5a566540afdffe9c5d79e62 debuginfo(build-id) = 2a751562934f39ac9125d28d3b6b21fffe6e2b76 debuginfo(build-id) = 34c6dc59d46b6f102da68d030a174911183dac0c debuginfo(build-id) = 7d6f5874adc80f0eadfb19ae03be97f96d9130d2 debuginfo(build-id) = e3b52d402663cc2093fd91f6cbc766568f5fbda2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: alpine-debugsource(riscv-64) = 2.24-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64 Wrote: /builddir/build/RPMS/alpine-2.24-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/alpine-debugsource-2.24-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/alpine-debuginfo-2.24-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SdrtTc + umask 022 + cd /builddir/build/BUILD + cd alpine-2.24 + /usr/bin/rm -rf /builddir/build/BUILDROOT/alpine-2.24-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0