Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/alpine.spec'], chrootPath='/var/lib/mock/f40-build-50486578-6042981/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.50rwdebs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.50rwdebs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a7031af47d9c489685e377932082c141', '-D', '/var/lib/mock/f40-build-50486578-6042981/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.50rwdebs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/alpine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1705881600 Wrote: /builddir/build/SRPMS/alpine-2.26-8.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/alpine.spec'], chrootPath='/var/lib/mock/f40-build-50486578-6042981/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.50rwdebs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.50rwdebs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2c912ca022cb4d5b87d7bb450df9fa21', '-D', '/var/lib/mock/f40-build-50486578-6042981/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.50rwdebs:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/alpine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1705881600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LOQYPx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf alpine-2.26 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/alpine-2.26_new_upstream.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd alpine-2.26 + rm -rf /builddir/build/BUILD/alpine-2.26-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/alpine-2.26-SPECPARTS + /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 -f -p1 --fuzz=0 patching file doc/tech-notes/config.html patching file doc/tech-notes/tech-notes.txt Hunk #1 succeeded at 6631 (offset 2 lines). patching file pith/pine.hlp Hunk #1 succeeded at 35914 (offset 1091 lines). Patch #2 (alpine-2.23-gcc10.patch): + echo 'Patch #2 (alpine-2.23-gcc10.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pith/smime.c Hunk #1 succeeded at 42 (offset -3 lines). Patch #3 (alpine-configure-c99.patch): + echo 'Patch #3 (alpine-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure patching file configure.ac + install -m644 -p /builddir/build/SOURCES/README.fedora . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.He2J0r + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd alpine-2.26 + touch imap/ip6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 2024-04-23 20:22:48.516096749 +0000 +++ ./configure 2024-04-23 20:22:48.616093360 +0000 @@ -2120,7 +2120,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 2024-04-23 20:22:48.616093360 +0000 +++ ./configure 2024-04-23 20:22:48.666091665 +0000 @@ -8270,7 +8270,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'" @@ -23732,7 +23732,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 ']' ++ grep -q runstatedir=DIR ./configure + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-debug=no --without-tcl --with-c-client-target=lfd --with-smtp-msa=/usr/sbin/sendmail --with-npa=/usr/bin/inews --with-passfile=.alpine.passfile --with-simple-spellcheck=hunspell --with-interactive-spellcheck=hunspell --with-system-pinerc=/etc/pine.conf --with-system-fixed-pinerc=/etc/pine.conf.fixed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu configure: Configuring for alpine 2.26 (powerpc64le-redhat-linux-gnu) checking for ppc64le-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 checking how to run the C preprocessor... gcc -E checking for powerpc64le-redhat-linux-gnu-gcc... no checking for gcc... gcc 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 dependency style of gcc... none checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking how to run the C preprocessor... gcc -E checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for gawk... (cached) gawk checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert powerpc64le-redhat-linux-gnu file names to powerpc64le-redhat-linux-gnu format... func_convert_file_noop checking how to convert powerpc64le-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for ppc64le-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ppc64le-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ppc64le-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for ppc64le-redhat-linux-gnu-strip... no checking for strip... strip checking for ppc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8276: -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 ppc64le-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ar... /usr/bin/ar checking for rm... /usr/bin/rm checking for cp... /usr/bin/cp checking for ln... /usr/bin/ln checking for ls... /usr/bin/ls checking for sed... (cached) /usr/bin/sed checking for make... /usr/bin/make checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking option: dmalloc enabled... no ./configure: line 16168: 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: Excluding TCL Support, and thus Web Alpine Support configure: --with-passfile definition overrides OS-Specific password caching checking for setupterm in -ltinfo... yes checking for library containing dlopen... none required checking if OpenSSL is LibreSSL... no checking Openssl library version >= 1.0.0c... yes checking Openssl library version >= 1.1.0... yes checking for library containing OpenSSL_version_num... -lcrypto checking for library containing OPENSSL_init_ssl... -lssl checking for ber_alloc in -llber... yes checking for library containing ldap_initialize... -lldap configure: * * * Including LDAP Support checking for library containing crypt... -lcrypt checking for library containing 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... 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 wctomb... 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 + export RPM_BUILD_NCPUS=1 + RPM_BUILD_NCPUS=1 + /usr/bin/make -O -j1 V=1 VERBOSE=1 'EXTRACFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -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.26/imap' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/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.26/imap' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -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.26/imap' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/imap' make[3]: 'ip6' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L'\ EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -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.26/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -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.26/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -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 sha.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers mbox 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.26/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.26/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 || grep -F 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 In file included from env_unix.c:259, 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:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ In file included from auths.c:1, from env_unix.c:263: kerb_mit.c: In function ‘kerberos_login’: kerb_mit.c:103:38: 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); | ~~~~~~~~~~~~~~~^~~~~~ kerb_mit.c:103:31: 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: 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:4: 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 * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ 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:12: 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 * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ 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:22: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 213 | if (!strcmp (s,user)) ret = cpystr (t); | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ auth_md5.c:213:45: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 213 | if (!strcmp (s,user)) ret = cpystr (t); | ^ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ auth_md5.c:214:46: 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 * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ auth_md5.c:214:48: 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 * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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 * 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:8: auth_oa2.c: In function ‘auth_oauth2_client’: auth_oa2.c:47:9: warning: unused variable ‘u’ [-Wunused-variable] 47 | char *u; | ^ env_unix.c: In function ‘pwuser’: env_unix.c:679:33: warning: pointer targets in passing argument 1 of ‘getpwnam’ differ in signedness [-Wpointer-sign] 679 | 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)); | ~~~~~~~~~~~~^~~~~~ env_unix.c:683:41: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 683 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ env_unix.c:683:33: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 683 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~~~~~~~~~~ | | | char * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ env_unix.c:683:24: warning: pointer targets in passing argument 1 of ‘getpwnam’ differ in signedness [-Wpointer-sign] 683 | pw = getpwnam (s = lcase (cpystr (user))); | ~~^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /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)); | ~~~~~~~~~~~~^~~~~~ env_unix.c: In function ‘valpwd’: env_unix.c:709:23: warning: pointer targets in passing argument 1 of ‘pwuser’ differ in signedness [-Wpointer-sign] 709 | ret = pwuser (user); /* validated, get passwd entry for user */ | ^~~~ | | | char * env_unix.c:676:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c:714:26: warning: pointer targets in passing argument 1 of ‘pwuser’ differ in signedness [-Wpointer-sign] 714 | else if ((pw = pwuser (user)) != NULL) {/* can get user? */ | ^~~~ | | | char * env_unix.c:676:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c:717:51: warning: pointer targets in passing argument 1 of ‘pwuser’ differ in signedness [-Wpointer-sign] 717 | (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) | ^ | | | char * env_unix.c:676:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function ‘server_login’: env_unix.c:748:58: warning: pointer targets in passing argument 1 of ‘pwuser’ differ in signedness [-Wpointer-sign] 748 | else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); | ^~~~ | | | char * env_unix.c:676:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function ‘authserver_login’: env_unix.c:766:28: warning: pointer targets in passing argument 1 of ‘pwuser’ differ in signedness [-Wpointer-sign] 766 | return pw_login (pwuser (user),authuser,user,NIL,argc,argv); | ^~~~ | | | char * env_unix.c:676:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function ‘pw_login’: env_unix.c:805:53: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 805 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:805:59: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 805 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:808:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 808 | if (!compare_cstring (auser,*t++)) | ^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:808:37: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 808 | if (!compare_cstring (auser,*t++)) | ^~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c: In function ‘mailboxfile’: env_unix.c:1093:51: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1093 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ~~~~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1093:54: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1093 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1103:64: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1103 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1103:67: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1103 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1127:56: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1127 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1127:59: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1127 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1141:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1141 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1141:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1141 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1155:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1155 | if (!compare_cstring (name+1,"NBOX")) { | ~~~~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1155:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1155 | if (!compare_cstring (name+1,"NBOX")) { | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c: In function ‘dorc’: env_unix.c:1606:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1606 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1606:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1606 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1620:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1620 | if (!compare_cstring (s,"set new-mailbox-format") || | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1620:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1620 | if (!compare_cstring (s,"set new-mailbox-format") || | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1621:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1621 | !compare_cstring (s,"set new-folder-format")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1621:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1621 | !compare_cstring (s,"set new-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1622:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1622 | if (!compare_cstring (k,"same-as-inbox")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1622:37: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1622 | if (!compare_cstring (k,"same-as-inbox")) { | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1624:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1624 | if (!compare_cstring (d->name,"mbox")) | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1624:47: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1624 | if (!compare_cstring (d->name,"mbox")) | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1627:45: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1627 | else if (!compare_cstring (d->name,"dummy")) d = NIL; | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1627:52: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1627 | else if (!compare_cstring (d->name,"dummy")) d = NIL; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1631:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1631 | else if (!compare_cstring (k,"system-standard")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1631:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1631 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1634:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1634 | if (!compare_cstring (k,"mbox")) k = "unix"; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1634:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1634 | if (!compare_cstring (k,"mbox")) k = "unix"; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1645:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1645 | if (!compare_cstring (s,"set empty-mailbox-format") || | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1645:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1645 | if (!compare_cstring (s,"set empty-mailbox-format") || | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1646:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1646 | !compare_cstring (s,"set empty-folder-format")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1646:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1646 | !compare_cstring (s,"set empty-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1647:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1647 | if (!compare_cstring (k,"invalid")) appendProto = NIL; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1647:37: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1647 | if (!compare_cstring (k,"invalid")) appendProto = NIL; | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1648:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1648 | else if (!compare_cstring (k,"same-as-inbox")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1648:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1648 | else if (!compare_cstring (k,"same-as-inbox")) | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1650:48: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1650 | compare_cstring (d->name,"dummy")) ? | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1650:55: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1650 | compare_cstring (d->name,"dummy")) ? | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1652:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1652 | else if (!compare_cstring (k,"system-standard")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1652:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1652 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1656:43: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1656 | d && compare_cstring (d->name,k); d = d->next); | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1656:50: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1656 | d && compare_cstring (d->name,k); d = d->next); | ^ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1667:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1667 | if (!compare_cstring (s,"set local-host")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1667:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1667 | if (!compare_cstring (s,"set local-host")) { | ^~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1671:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1671 | else if (!compare_cstring (s,"set news-active-file")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1671:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1671 | else if (!compare_cstring (s,"set news-active-file")) { | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1675:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1675 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1675:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1675 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1679:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1679 | else if (!compare_cstring (s,"set mh-path")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1679:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1679 | else if (!compare_cstring (s,"set mh-path")) | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1681:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1681 | else if (!compare_cstring (s,"set mh-allow-inbox")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1681:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1681 | else if (!compare_cstring (s,"set mh-allow-inbox")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1683:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1683 | else if (!compare_cstring (s,"set news-state-file")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1683:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1683 | else if (!compare_cstring (s,"set news-state-file")) { | ^~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1687:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1687 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1687:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1687 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1691:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1691 | else if (!compare_cstring (s,"set public-home-directory")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1691:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1691 | else if (!compare_cstring (s,"set public-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1695:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1695 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1695:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1695 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1699:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1699 | else if (!compare_cstring (s,"set system-inbox")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1699:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1699 | else if (!compare_cstring (s,"set system-inbox")) { | ^~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1703:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1703 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1703:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1703 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1707:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1707 | else if (!compare_cstring (s,"set from-widget")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1707:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1707 | else if (!compare_cstring (s,"set from-widget")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1709:45: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1709 | compare_cstring (k,"header-only") ? | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1709:47: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1709 | compare_cstring (k,"header-only") ? | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1712:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1712 | else if (!compare_cstring (s,"set rsh-command")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1712:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1712 | else if (!compare_cstring (s,"set rsh-command")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1714:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1714 | else if (!compare_cstring (s,"set rsh-path")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1714:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1714 | else if (!compare_cstring (s,"set rsh-path")) | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1716:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1716 | else if (!compare_cstring (s,"set ssh-command")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1716:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1716 | else if (!compare_cstring (s,"set ssh-command")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1718:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1718 | else if (!compare_cstring (s,"set ssh-path")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1718:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1718 | else if (!compare_cstring (s,"set ssh-path")) | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1720:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1720 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1720:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1720 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1722:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1722 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1722:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1722 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1724:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1724 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1724:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1724 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1726:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1726 | else if (!compare_cstring (s,"set rsh-timeout")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1726:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1726 | else if (!compare_cstring (s,"set rsh-timeout")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1728:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1728 | else if (!compare_cstring (s,"set ssh-timeout")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1728:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1728 | else if (!compare_cstring (s,"set ssh-timeout")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1730:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1730 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1730:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1730 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1732:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1732 | else if (!compare_cstring (s,"set lookahead")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1732:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1732 | else if (!compare_cstring (s,"set lookahead")) | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1734:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1734 | else if (!compare_cstring (s,"set prefetch")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1734:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1734 | else if (!compare_cstring (s,"set prefetch")) | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1736:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1736 | else if (!compare_cstring (s,"set close-on-error")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1736:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1736 | else if (!compare_cstring (s,"set close-on-error")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1738:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1738 | else if (!compare_cstring (s,"set imap-port")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1738:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1738 | else if (!compare_cstring (s,"set imap-port")) | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1740:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1740 | else if (!compare_cstring (s,"set pop3-port")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1740:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1740 | else if (!compare_cstring (s,"set pop3-port")) | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1742:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1742 | else if (!compare_cstring (s,"set uid-lookahead")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1742:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1742 | else if (!compare_cstring (s,"set uid-lookahead")) | ^~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1744:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1744 | else if (!compare_cstring (s,"set try-ssl-first")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1744:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1744 | else if (!compare_cstring (s,"set try-ssl-first")) | ^~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1747:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1747 | else if (!compare_cstring (s,"set mailbox-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1747:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1747 | else if (!compare_cstring (s,"set mailbox-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1749:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1749 | else if (!compare_cstring (s,"set directory-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1749:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1749 | else if (!compare_cstring (s,"set directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1751:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1751 | else if (!compare_cstring (s,"set lock-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1751:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1751 | else if (!compare_cstring (s,"set lock-protection")) | ^~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1753:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1753 | else if (!compare_cstring (s,"set ftp-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1753:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1753 | else if (!compare_cstring (s,"set ftp-protection")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1755:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1755 | else if (!compare_cstring (s,"set public-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1755:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1755 | else if (!compare_cstring (s,"set public-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1757:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1757 | else if (!compare_cstring (s,"set shared-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1757:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1757 | else if (!compare_cstring (s,"set shared-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1759:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1759 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1759:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1759 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1761:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1761 | else if (!compare_cstring (s,"set public-directory-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1761:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1761 | else if (!compare_cstring (s,"set public-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1763:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1763 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1763:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1763 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1765:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1765 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1765:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1765 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1767:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1767 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1767:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1767 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1769:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1769 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1769:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1769 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1771:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1771 | else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1771:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1771 | else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1773:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1773 | else if (!compare_cstring (s,"set hide-dot-files")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1773:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1773 | else if (!compare_cstring (s,"set hide-dot-files")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1775:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1775 | else if (!compare_cstring (s,"set list-maximum-level")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1775:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1775 | else if (!compare_cstring (s,"set list-maximum-level")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1777:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1777 | else if (!compare_cstring (s,"set trust-dns")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1777:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1777 | else if (!compare_cstring (s,"set trust-dns")) | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1779:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1779 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1779:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1779 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1781:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1781 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1781:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1781 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1783:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1783 | else if (!compare_cstring (s,"set nntp-range")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1783:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1783 | else if (!compare_cstring (s,"set nntp-range")) | ^~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1787:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1787 | if (!compare_cstring (s,"set black-box-directory") && | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1787:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1787 | if (!compare_cstring (s,"set black-box-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1789:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1789 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1789:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1789 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1792:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1792 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1792:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1792 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1799:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1799 | else if (!compare_cstring (s,"set CA-certificate-path")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1799:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1799 | else if (!compare_cstring (s,"set CA-certificate-path")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1801:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1801 | else if (!compare_cstring (s,"set CA-certificate-container")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1801:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1801 | else if (!compare_cstring (s,"set CA-certificate-container")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1803:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1803 | else if (!compare_cstring (s,"set disable-plaintext")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1803:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1803 | else if (!compare_cstring (s,"set disable-plaintext")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1805:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1805 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1805:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1805 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1807:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1807 | else if (!compare_cstring (s,"set chroot-server")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1807:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1807 | else if (!compare_cstring (s,"set chroot-server")) | ^~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1809:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1809 | else if (!compare_cstring (s,"set restrict-mailbox-access")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1809:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1809 | else if (!compare_cstring (s,"set restrict-mailbox-access")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1811:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1811 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1811:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1811 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1812:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1812 | else if (!compare_cstring (k,"otherusers")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1812:44: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1812 | else if (!compare_cstring (k,"otherusers")) | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1814:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1814 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1814:44: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1814 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1816:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1816 | else if (!compare_cstring (s,"set advertise-the-world")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1816:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1816 | else if (!compare_cstring (s,"set advertise-the-world")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1818:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1818 | else if (!compare_cstring (s,"set limited-advertise")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1818:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1818 | else if (!compare_cstring (s,"set limited-advertise")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1821:21: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1821 | (s,"set disable-automatic-shared-namespaces")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1821:23: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1821 | (s,"set disable-automatic-shared-namespaces")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1823:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1823 | else if (!compare_cstring (s,"set allow-user-config")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1823:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1823 | else if (!compare_cstring (s,"set allow-user-config")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1825:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1825 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1825:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1825 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1827:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1827 | else if (!compare_cstring (s,"set k5-cp-uses-service-name")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1827:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1827 | else if (!compare_cstring (s,"set k5-cp-uses-service-name")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1831:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1831 | else if (!compare_cstring (s,"set plaintext-allowed-clients")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1831:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1831 | else if (!compare_cstring (s,"set plaintext-allowed-clients")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c: In function ‘env_end’: env_unix.c:1910:6: warning: the address of ‘userFlags’ will always evaluate as ‘true’ [-Waddress] 1910 | 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 * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ 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, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ip_unix.c: In function ‘ip_nametoaddr’: ip_unix.c:248:31: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 248 | (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ ip_unix.c:248:24: warning: pointer targets in passing argument 1 of ‘getaddrinfo’ differ in signedness [-Wpointer-sign] 248 | (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /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, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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:38: 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:38: 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:1045:17: warning: unused variable ‘sadrlen’ [-Wunused-variable] 1045 | size_t adrlen,sadrlen,len; | ^~~~~~~ osdep.c: In function ‘ssl_validate_cert’: osdep.c:705:41: warning: pointer targets in passing argument 1 of ‘ssl_compare_hostnames’ differ in signedness [-Wpointer-sign] 705 | 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:705:46: warning: pointer targets in passing argument 2 of ‘ssl_compare_hostnames’ differ in signedness [-Wpointer-sign] 705 | 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:714:51: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 714 | (name->type = GEN_DNS) && (s = name->d.ia5->data) && | ^ osdep.c:715:45: warning: pointer targets in passing argument 1 of ‘ssl_compare_hostnames’ differ in signedness [-Wpointer-sign] 715 | 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:715:50: warning: pointer targets in passing argument 2 of ‘ssl_compare_hostnames’ differ in signedness [-Wpointer-sign] 715 | 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:664:17: warning: unused variable ‘t’ [-Wunused-variable] 664 | char *s=NULL,*t,*ret = NIL; | ^ osdep.c: In function ‘ssl_getline’: osdep.c:769:43: warning: pointer targets in passing argument 3 of ‘ssl_getline_work’ differ in signedness [-Wpointer-sign] 769 | char *ret = ssl_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * osdep.c:225:38: note: expected ‘long int *’ but argument is of type ‘long unsigned int *’ 225 | long *contd); | ~~~~~~^~~~~ osdep.c:777:41: warning: pointer targets in passing argument 3 of ‘ssl_getline_work’ differ in signedness [-Wpointer-sign] 777 | ret = ssl_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * osdep.c:225:38: note: expected ‘long int *’ but argument is of type ‘long unsigned int *’ 225 | long *contd); | ~~~~~~^~~~~ env_unix.c: In function ‘pw_login’: env_unix.c:823:44: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 823 | (ret = env_init (user,home))) chdir (myhomedir ()); | ^~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mail.c mail.c: In function ‘mail_parameters’: mail.c:407:50: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 407 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from c-client.h:49, 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:407:57: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 407 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * 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:412:50: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 412 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * 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:412:57: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 412 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * 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:417:50: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 417 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * 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:417:57: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 417 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * 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:423:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 423 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * 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:423:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 423 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * 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:428:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 428 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * 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:428:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 428 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * 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:433:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 433 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * 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:433:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 433 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * 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:438:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 438 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * 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:438:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 438 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * 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:857:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 857 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^ | | | char * 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:857:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 857 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^~~~~~~~~ | | | char * 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:858:18: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 858 | lcase (strcpy (mb->service,v)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:859:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 859 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^ | | | char * 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:859:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 859 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^~~~~~ | | | char * 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:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 861 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^ | | | char * 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:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 861 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^~~~~~~~~~ | | | char * 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:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 863 | else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && | ^ | | | char * 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:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 863 | else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && | ^~~~~~ | | | char * 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:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 869 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^ | | | char * 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:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 869 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^~~~~~~~~~~ | | | char * 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:870:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 870 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^ | | | char * 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:870:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 870 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^~~~~~~ | | | char * 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:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 871 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^ | | | char * 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:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 871 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^~~~~~~~~~ | | | char * 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:872:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 872 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^ | | | char * 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:872:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 872 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^~~~~~~~ | | | char * 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:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 873 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^ | | | char * 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:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 873 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^~~~~~~ | | | char * 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:874:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 874 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^ | | | char * 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:874:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 874 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^~~~~~~ | | | char * 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:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^ | | | char * 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:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^~~~~~~~~~ | | | char * 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:72: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^ | | | char * 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:74: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^~~~~ | | | char * 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:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 877 | else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) | ^ | | | char * 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:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 877 | else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) | ^~~~~~~~~~~~ | | | char * 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:879:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^ | | | char * 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:879:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^~~~~~~ | | | char * 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:879:68: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^ | | | char * 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:879:70: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^~~~~~~~~~~~ | | | char * 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:881:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 881 | else if (!compare_cstring (s,"tryssl")) | ^ | | | char * 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:881:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 881 | else if (!compare_cstring (s,"tryssl")) | ^~~~~~~~ | | | char * 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:53: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 883 | else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) | ^ | | | char * 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:55: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 883 | else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) | ^~~~~ | | | char * 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:885:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 885 | else if (!compare_cstring(s, "tls1") | ^ | | | char * 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:885:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 885 | else if (!compare_cstring(s, "tls1") | ^~~~~~ | | | char * 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:888:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 888 | else if (!compare_cstring(s, "tls1_1") | ^ | | | char * 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:888:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 888 | else if (!compare_cstring(s, "tls1_1") | ^~~~~~~~ | | | char * 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:891:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 891 | else if (!compare_cstring(s, "tls1_2") | ^ | | | char * 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:891:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 891 | else if (!compare_cstring(s, "tls1_2") | ^~~~~~~~ | | | char * 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:894:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 894 | else if (!compare_cstring(s, "tls1_3") | ^ | | | char * 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:894:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 894 | else if (!compare_cstring(s, "tls1_3") | ^~~~~~~~ | | | char * 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:53: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 897 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^ | | | char * 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:55: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 897 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^~~~~~~~~~~~~~~~~ | | | char * 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:53: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 900 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^ | | | char * 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:900:55: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 900 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^~~~~~~~~~~~~~~ | | | char * 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:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 903 | else if (!compare_cstring (s,"imap") || | ^ | | | char * 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:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 903 | else if (!compare_cstring (s,"imap") || | ^~~~~~ | | | char * 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:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 904 | !compare_cstring (s,"nntp") || | ^ | | | char * 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:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 904 | !compare_cstring (s,"nntp") || | ^~~~~~ | | | char * 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:905:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 905 | !compare_cstring (s,"pop3") || | ^ | | | char * 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:905:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 905 | !compare_cstring (s,"pop3") || | ^~~~~~ | | | char * 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:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 906 | !compare_cstring (s,"smtp") || | ^ | | | char * 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:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 906 | !compare_cstring (s,"smtp") || | ^~~~~~ | | | char * 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:907:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 907 | !compare_cstring (s,"submit")) | ^ | | | char * 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:907:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 907 | !compare_cstring (s,"submit")) | ^~~~~~~~ | | | char * 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:908:18: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 908 | lcase (strcpy (mb->service,s)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:909:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 909 | else if (!compare_cstring (s,"imap2") || | ^ | | | char * 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:909:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 909 | else if (!compare_cstring (s,"imap2") || | ^~~~~~~ | | | char * 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:910:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 910 | !compare_cstring (s,"imap2bis") || | ^ | | | char * 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:910:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 910 | !compare_cstring (s,"imap2bis") || | ^~~~~~~~~~ | | | char * 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:911:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 911 | !compare_cstring (s,"imap4") || | ^ | | | char * 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:911:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 911 | !compare_cstring (s,"imap4") || | ^~~~~~~ | | | char * 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:912:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 912 | !compare_cstring (s,"imap4rev1")) | ^ | | | char * 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:912:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 912 | !compare_cstring (s,"imap4rev1")) | ^~~~~~~~~~~ | | | char * 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:914:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 914 | else if (!compare_cstring (s,"pop")) | ^ | | | char * 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:914:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 914 | else if (!compare_cstring (s,"pop")) | ^~~~~ | | | char * 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:1087:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1087 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * 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:1087:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1087 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * 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:1344:52: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1344 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ~^~~~~~ | | | char * 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:1344:59: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1344 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ^~~ | | | char * 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: mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | 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 * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * mail.h:1787:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1787 | 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 * mail.h:1787:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1787 | 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 * mail.h:1787:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1787 | 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 * mail.h:1787:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1787 | 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 * mail.h:1787:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1787 | 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 * mail.h:1787:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1787 | 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 * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | 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 * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * 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: /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mail.c: In function ‘mail_body_section’: mail.c:2823:28: 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: /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | 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:503, from /usr/include/ctype.h:25, from mail.c:27: /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 77 | __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 * 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2994:25: 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function ‘mail_filter’: mail.c:3492:60: 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 * 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 * 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 * 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:36: 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:22: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4453 | if (env) t = env->date; | ^ mail.c:4469:45: 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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:37: 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 * 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:48: 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 * 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function ‘mail_parse_flags’: mail.c:5572:32: 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 * 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:35: 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 * 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:37: 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 * 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:40: 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 * 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:37: 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 * 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:40: 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 * 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:37: 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 * 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:40: 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 * 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:37: 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 * 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:40: 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 * 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:33: 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 * 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:35: 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 * 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:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5636 | ((!compare_cstring (smb.host,trustdns ? | ~~~^~~~~ | | | char * 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:65: 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 * 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:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5642 | (!compare_cstring (omb.host,nmb.host) && | ~~~^~~~~ | | | char * 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:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5642 | (!compare_cstring (omb.host,nmb.host) && | ~~~^~~~~ | | | char * 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 * 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 * 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:62: 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 * 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:69: 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 * 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:6498: oauth2_aux.c: In function ‘oauth2_free_extra_values’: oauth2_aux.c:49:12: warning: unused variable ‘i’ [-Wunused-variable] 49 | OA2_type i; | ^ oauth2_aux.c: In function ‘oauth2_find_extra_parameter’: oauth2_aux.c:72:46: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 72 | && !compare_cstring(oauth2->param[i].name, name)) | ~~~~~~~~~~~~~~~~^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:72:53: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 72 | && !compare_cstring(oauth2->param[i].name, name)) | ^~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c: In function ‘oauth2_code_challenge’: oauth2_aux.c:109:45: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 109 | || !compare_cstring(oauth2->param[k].value, "plain")) | ~~~~~~~~~~~~~~~~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:109:53: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 109 | || !compare_cstring(oauth2->param[k].value, "plain")) | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:111:48: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 111 | else if(!compare_cstring(oauth2->param[k].value, "S256")){ | ~~~~~~~~~~~~~~~~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:111:56: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 111 | else if(!compare_cstring(oauth2->param[k].value, "S256")){ | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:122:38: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 122 | oauth2->param[j].value = t; | ^ oauth2_aux.c: In function ‘oauth2_login_hint’: oauth2_aux.c:134:22: warning: unused variable ‘cv2’ [-Wunused-variable] 134 | char *cv, *cv1, *cv2; | ^~~ oauth2_aux.c:134:16: warning: unused variable ‘cv1’ [-Wunused-variable] 134 | char *cv, *cv1, *cv2; | ^~~ oauth2_aux.c:134:11: warning: unused variable ‘cv’ [-Wunused-variable] 134 | char *cv, *cv1, *cv2; | ^~ oauth2_aux.c:133:20: warning: unused variable ‘k’ [-Wunused-variable] 133 | OA2_type i, j, k; | ^ oauth2_aux.c:133:17: warning: unused variable ‘j’ [-Wunused-variable] 133 | OA2_type i, j, k; | ^ oauth2_aux.c: In function ‘oauth2_json_reply’: oauth2_aux.c:219:42: warning: pointer targets in passing argument 1 of ‘xoauth2_server’ differ in signedness [-Wpointer-sign] 219 | server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); | ~~~~~~~~~~~~~^~~~~~~~~~ | | | unsigned char * oauth2_aux.c:174:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 174 | xoauth2_server(char *server, char *tenant) | ~~~~~~^~~~~~ oauth2_aux.c:221:33: warning: pointer targets in passing argument 1 of ‘http_open’ differ in signedness [-Wpointer-sign] 221 | && ((stream = http_open(server)) != NULL) | ^~~~~~ | | | char * In file included from c-client.h:46: http.h:125:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 125 | HTTPSTREAM *http_open (unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c: In function ‘mm_login_oauth2_c_client_method’: oauth2_aux.c:284:40: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 284 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24: json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:293:40: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 293 | if((jx = json_body_value(json, "interval")) != NULL) | ^~~~~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:333:57: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 333 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:347:54: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 347 | jx = json_body_value(json, "error"); | ^~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:349:54: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 349 | jx = json_body_value(json, "error_description"); | ^~~~~~~~~~~~~~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:376:52: warning: pointer targets in passing argument 1 of ‘xoauth2_server’ differ in signedness [-Wpointer-sign] 376 | char *server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); | ~~~~~~~~~~~~~^~~~~~~~~~ | | | unsigned char * oauth2_aux.c:174:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 174 | xoauth2_server(char *server, char *tenant) | ~~~~~~^~~~~~ oauth2_aux.c:377:40: warning: pointer targets in passing argument 1 of ‘http_get_param_url’ differ in signedness [-Wpointer-sign] 377 | char *url = http_get_param_url(server, params); | ^~~~~~ | | | char * http.h:137:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 137 | unsigned char *http_get_param_url(unsigned char *, HTTP_PARAM_S *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:377:21: warning: pointer targets in initialization of ‘char *’ from ‘unsigned char *’ differ in signedness [-Wpointer-sign] 377 | char *url = http_get_param_url(server, params); | ^~~~~~~~~~~~~~~~~~ oauth2_aux.c:382:51: warning: pointer targets in passing argument 1 of ‘ogac’ differ in signedness [-Wpointer-sign] 382 | oauth2->param[OA2_Code].value = (*ogac)(url, method, oauth2, tryanother); | ^~~ | | | char * oauth2_aux.c:382:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ oauth2_aux.c:401:60: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 401 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:416:60: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 416 | jx = json_body_value(json, "error"); | ^~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:418:60: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 418 | jx = json_body_value(json, "error_description"); | ^~~~~~~~~~~~~~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:240:10: warning: unused variable ‘s’ [-Wunused-variable] 240 | char *s = NULL; | ^ oauth2_aux.c: In function ‘oauth2deviceinfo_get_accesscode’: oauth2_aux.c:448:56: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 448 | oauth2->param[OA2_DeviceCode].value = cpystr(dcode->device_code); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ oauth2_aux.c:460:44: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 460 | if(compare_cstring(error, "authorization_pending") == 0) | ^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:460:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 460 | if(compare_cstring(error, "authorization_pending") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:462:49: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 462 | else if(compare_cstring(error, "authorization_declined") == 0) | ^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:462:56: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 462 | else if(compare_cstring(error, "authorization_declined") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:464:49: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 464 | else if(compare_cstring(error, "bad_verification_code") == 0) | ^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:464:56: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 464 | else if(compare_cstring(error, "bad_verification_code") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:466:49: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 466 | else if(compare_cstring(error, "expired_token") == 0) | ^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:466:56: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 466 | else if(compare_cstring(error, "expired_token") == 0) | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:481:56: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 481 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:442:7: warning: unused variable ‘done’ [-Wunused-variable] 442 | int done = 0, status, rv; | ^~~~ oauth2_aux.c: In function ‘copy_xoauth2_info’: oauth2_aux.c:536:33: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 536 | if(x->name) y->name = cpystr(x->name); | ~^~~~~~ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ oauth2_aux.c:536:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 536 | if(x->name) y->name = cpystr(x->name); | ^ `cat CCTYPE` -c `cat CFLAGS` misc.c 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) | ^ `cat CCTYPE` -c `cat CFLAGS` newsrc.c newsrc.c: In function ‘newsrc_lsub’: newsrc.c:173:26: 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:31: 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 * 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:28: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 176 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * 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:33: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 176 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * 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); | ~~~~~~~~~~~~~~~^~~ `cat CCTYPE` -c `cat CFLAGS` smanager.c smanager.c: In function ‘sm_subscribe’: smanager.c:42:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 42 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from c-client.h:49, 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); | ~~~~~~~~~~~~~~~^~ `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 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 * 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 * 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 * 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_script’: utf8.c:383:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 383 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ^~~~~~ | | | char * In file included from c-client.h:49, 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:383:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 383 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ~~~~~~~~~~~~~~~^~~~~ | | | char * 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_charset’: utf8.c:400:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 400 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ^~~~~~~ | | | char * 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:400:52: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 400 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ~~~~~~~~~~~~~~~^~~~~ | | | char * 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_cstext’: utf8.c:586:39: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 586 | short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~ | | | char * 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:586:47: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 586 | short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~~~~~~~ | | | char * 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:613:50: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 613 | !compare_cstring (dcs->name,"ISO-2022-JP"))) ? | ~~~^~~~~~ | | | char * 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:613:57: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 613 | !compare_cstring (dcs->name,"ISO-2022-JP"))) ? | ^~~~~~~~~~~~~ | | | char * 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:647:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 647 | return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : | ^~~~~~~ | | | char * 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:647:59: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 647 | return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : | ~~~~~~~~~^~~~~~ | | | char * 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_csvalidmap’: utf8.c:1323:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1323 | if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; | ^ | | | char * 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:1323:29: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1323 | if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ 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:1722:30: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1722 | 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: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | 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:49: 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) { | ^ utf8aux.c: In function ‘utf8_mime2text’: utf8aux.c:130:27: warning: ‘ce’ may be used uninitialized [-Wmaybe-uninitialized] 130 | (e = mime2_token ((unsigned char *) ce+1,se,&ee)) && | ^~~~~~~~~~~~~~~~~~~~ utf8aux.c:118:13: note: ‘ce’ declared here 118 | char *cs,*ce,*ls; | ^~ dummy.c: In function ‘dummy_valid’: dummy.c:122:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 122 | else if (!compare_cstring (name,"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:122:37: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 122 | else if (!compare_cstring (name,"INBOX")) return &dummydriver; | ^~~~~~~ | | | char * 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:183:32: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 183 | 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:183:17: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 183 | 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:222:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 222 | if (!compare_cstring (s,"INBOX") && | ^ | | | char * 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:222:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 222 | if (!compare_cstring (s,"INBOX") && | ^~~~~~~ | | | char * 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:223:34: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 223 | 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:223:19: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 223 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ 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:225:29: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 225 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ | | | char * 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:225:31: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 225 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ | | | char * 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:228:26: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 228 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^ | | | char * 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:228:28: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 228 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^~~~ | | | char * 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:289:39: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 289 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ | | | char * 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:289:43: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 289 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ | | | char * 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:289:64: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 289 | 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) | ^ 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:289:68: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 289 | 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) | ^~~ 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:303:27: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 303 | if ((pmatch_full (strcpy (path,tmp),pat,'/') || | ^~~~~~~~~~~~~~~~~ | | | char * 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:303:45: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 303 | if ((pmatch_full (strcpy (path,tmp),pat,'/') || | ^~~ | | | char * 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:304:27: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 304 | pmatch_full (strcat (path,"/"),pat,'/') || | ^~~~~~~~~~~~~~~~~ | | | char * 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:304:45: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 304 | pmatch_full (strcat (path,"/"),pat,'/') || | ^~~ | | | char * 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:305:22: warning: pointer targets in passing argument 1 of ‘dmatch’ differ in signedness [-Wpointer-sign] 305 | dmatch (path,pat,'/')) && | ^~~~ | | | char * 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:305:27: warning: pointer targets in passing argument 2 of ‘dmatch’ differ in signedness [-Wpointer-sign] 305 | dmatch (path,pat,'/')) && | ^~~ | | | char * 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:314:26: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 314 | if (!pmatch (tmp,"INBOX")) { | ^~~ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ 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:314:30: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 314 | if (!pmatch (tmp,"INBOX")) { | ^~~~~~~ | | | char * misc.h:78:18: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^~~ 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:315:32: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 315 | if (pmatch_full (tmp,pat,'/')) { | ^~~ | | | char * 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:315:36: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 315 | if (pmatch_full (tmp,pat,'/')) { | ^~~ | | | char * 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:320:37: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 320 | else if (pmatch_full (path,pat,'/') && | ^~~~ | | | char * 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:320:42: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 320 | else if (pmatch_full (path,pat,'/') && | ^~~ | | | char * 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:324:25: warning: pointer targets in passing argument 1 of ‘dmatch’ differ in signedness [-Wpointer-sign] 324 | if (dmatch (path,pat,'/') && | ^~~~ | | | char * 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:324:30: warning: pointer targets in passing argument 2 of ‘dmatch’ differ in signedness [-Wpointer-sign] 324 | if (dmatch (path,pat,'/') && | ^~~ | | | char * 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:330:30: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 330 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ | | | char * 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:330:34: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 330 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ | | | char * 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:330:63: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 330 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ | | | char * 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:330:67: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 330 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~~~~~ | | | char * 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:457:26: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 457 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ | | | char * 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:457:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 457 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ | | | char * 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_rename’: dummy.c:567:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 567 | if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) | ^~~ | | | char * 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:567:29: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 567 | if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) | ^~~~~~~ | | | char * 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:596:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 596 | if (compare_cstring (stream->mailbox,"INBOX")) | ~~~~~~^~~~~~~~~ | | | char * 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:596:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 596 | if (compare_cstring (stream->mailbox,"INBOX")) | ^~~~~~~ | | | char * 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:703:54: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 703 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from dummy.c:31: mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ dummy.c:704:29: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 704 | mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ dummy.c: In function ‘dummy_append’: dummy.c:725:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 725 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * 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:725:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 725 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * 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_contents’: dummy.c:382:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 382 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:49, 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:60: 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:44: 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: 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:63: 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 * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:555:54: 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 * 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 * 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:51: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 640 | stl->text.data = (unsigned char *) ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:667:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 667 | compare_cstring (s,body_types[i]); i++); | ^ | | | char * 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:43: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 667 | compare_cstring (s,body_types[i]); i++); | ~~~~~~~~~~^~~ | | | char * 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:43: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 678 | body_types[body->type] = ucase (s); | ^ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:678:34: 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:39: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 690 | if (s) body->subtype = ucase (rfc822_cpy (s)); | ^~~~~~~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:690:30: 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:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 708 | compare_cstring (s,body_encodings[i]); i++); | ^ | | | char * 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:47: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 708 | compare_cstring (s,body_encodings[i]); i++); | ~~~~~~~~~~~~~~^~~ | | | char * 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:51: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 719 | body_encodings[body->encoding] = ucase (s); | ^ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:719:42: 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 * 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 * rfc822.h:89:39: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 89 | char *text); | ~~~~~~^~~~ rfc822.c: In function ‘rfc822_output’: rfc822.c:2422:10: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 2422 | char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ | ^~~ nntp.c: In function ‘nntp_list’: nntp.c:366:26: 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:31: 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 * 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:28: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 369 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * 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:33: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 369 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * 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:49: 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) | ^ 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: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) | ^~~ 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:31: 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:27: 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 * 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53: 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: mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c:876:49: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 876 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | 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 * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | 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 * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function ‘nntp_search_msg’: nntp.c:1336:36: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1336 | (!mail_parse_date (&delt,ov->date) || | ~~^~~~~~ | | | char * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function ‘nntp_sort_loadcache’: nntp.c:1553:40: 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 * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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:31: 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 * 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:36: 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 * 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 * /usr/include/string.h:350:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 350 | 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:9: 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:49, 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 * 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:30: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 182 | s = compare_cstring ("localhost",mb.host) ? | ^~~~~~~~~~~ | | | char * 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:44: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 182 | s = compare_cstring ("localhost",mb.host) ? | ~~^~~~~ | | | char * 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 * 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 * 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:727:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 727 | if (!compare_cstring (s,"SIZE")) { | ^ | | | char * 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:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 727 | if (!compare_cstring (s,"SIZE")) { | ^~~~~~ | | | char * 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,"DELIVERBY")) { | ^ | | | char * 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,"DELIVERBY")) { | ^~~~~~~~~~~ | | | char * 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,"ATRN")) { | ^ | | | char * 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,"ATRN")) { | ^~~~~~ | | | char * 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:739:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 739 | else if (!compare_cstring (s,"AUTH")) | ^ | | | char * 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:739:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 739 | else if (!compare_cstring (s,"AUTH")) | ^~~~~~ | | | char * 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,"SIZE")) ESMTP.size.ok = T; | ^ | | | char * 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,"SIZE")) ESMTP.size.ok = T; | ^~~~~~ | | | char * 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,"8BITMIME")) ESMTP.eightbit.ok = T; | ^ | | | char * 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,"8BITMIME")) ESMTP.eightbit.ok = T; | ^~~~~~~~~~ | | | char * 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,"DSN")) ESMTP.dsn.ok = T; | ^ | | | char * 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,"DSN")) ESMTP.dsn.ok = T; | ^~~~~ | | | char * 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,"ATRN")) ESMTP.atrn.ok = T; | ^ | | | char * 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,"ATRN")) ESMTP.atrn.ok = T; | ^~~~~~ | | | char * 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,"SEND")) ESMTP.service.send = T; | ^ | | | char * 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,"SEND")) ESMTP.service.send = T; | ^~~~~~ | | | char * 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,"SOML")) ESMTP.service.soml = T; | ^ | | | char * 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,"SOML")) ESMTP.service.soml = T; | ^~~~~~ | | | char * 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,"SAML")) ESMTP.service.saml = T; | ^ | | | char * 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,"SAML")) ESMTP.service.saml = T; | ^~~~~~ | | | char * 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,"EXPN")) ESMTP.service.expn = T; | ^ | | | char * 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,"EXPN")) ESMTP.service.expn = T; | ^~~~~~ | | | char * 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,"HELP")) ESMTP.service.help = T; | ^ | | | char * 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,"HELP")) ESMTP.service.help = T; | ^~~~~~ | | | char * 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,"TURN")) ESMTP.service.turn = T; | ^ | | | char * 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,"TURN")) ESMTP.service.turn = T; | ^~~~~~ | | | char * 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,"ETRN")) ESMTP.service.etrn = T; | ^ | | | char * 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,"ETRN")) ESMTP.service.etrn = T; | ^~~~~~ | | | char * 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:756:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 756 | else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; | ^ | | | char * 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:756:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 756 | else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; | ^~~~~~~~~~ | | | char * 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,"RELAY")) ESMTP.service.relay = T; | ^ | | | char * 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,"RELAY")) ESMTP.service.relay = T; | ^~~~~~~ | | | char * 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,"PIPELINING")) ESMTP.service.pipe = T; | ^ | | | char * 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,"PIPELINING")) ESMTP.service.pipe = T; | ^~~~~~~~~~~~ | | | char * 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:759:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 759 | else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) | ^ | | | char * 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:759:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 759 | else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) | ^~~~~~~~~~~~~~~~~~~~~ | | | char * 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:761:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 761 | else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; | ^ | | | char * 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:761:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 761 | else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; | ^~~~~~~~~~~~ | | | char * 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:762:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 762 | else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; | ^ | | | char * 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:762:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 762 | else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; | ^~~~~~~~~~ | | | char * 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:354:15: warning: ‘atsaved’ may be used uninitialized [-Wmaybe-uninitialized] 354 | else if (!atsaved) sprintf (tmp,"SMTP server does not support AUTH=%.80s authenticator",mb->auth); | ^ smtp.c:287:23: note: ‘atsaved’ was declared here 287 | AUTHENTICATOR *at, *atsaved; | ^~~~~~~ In file included from c-client.h:49, 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: 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); | ~~~~~~~~~~~~~~~^ 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) | ^~~ 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 * 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 * 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 * 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 * 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:63: 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: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:599:58: 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 * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | 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: mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:907:23: 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 * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:907:51: 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 * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | 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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:917:31: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 917 | preauthed = !strcmp (reply->key,"PREAUTH"); | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1062:45: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1062 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ~~^~~~~~~~ | | | char * 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:1062:54: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1062 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ^~~~~~~ | | | char * 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:1072:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1072 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_rimap’: imap4r1.c:1118:68: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1118 | !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1122:27: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1122 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1122:56: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1122 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function ‘imap_anon’: imap4r1.c:1158:37: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1158 | if (compare_cstring (reply->tag,tag)) { | ^~~ | | | char * 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:70: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1160 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ | | | char * 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:1175:16: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1175 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_auth’: imap4r1.c:1198:30: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1198 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * 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:1198:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1198 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * 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:1244:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1244 | else if (compare_cstring (reply->tag,tag)) | ^~~ | | | char * 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:1245:76: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1245 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ | | | char * 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:1259:31: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 1259 | lsterr = cpystr (reply->text); | ~~~~~^~~~~~ | | | unsigned char * 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:1325:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1325 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_challenge’: imap4r1.c:1356:24: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1356 | !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1361:43: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1361 | strlen (reply->text),len))) { | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c: In function ‘imap_close’: imap4r1.c:1430:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1430 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_fast’: imap4r1.c:1471:45: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1471 | if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_flags’: imap4r1.c:1492:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1492 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_overview’: imap4r1.c:1545:15: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1545 | ov.date = env->date; | ^ imap4r1.c: In function ‘imap_structure’: imap4r1.c:1593:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1593 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1720:29: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1720 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1722:27: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1722 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_msgdata’: imap4r1.c:1952:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1952 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1962:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1962 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1971:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1971 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1975:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1975 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_uid’: imap4r1.c:2028:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2028 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_msgno’: imap4r1.c:2064:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2064 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_flag’: imap4r1.c:2105:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2105 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_search’: imap4r1.c:2177:23: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2177 | !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2196:23: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2196 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2202:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2202 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:2238:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2238 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_sort’: imap4r1.c:2301:46: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2301 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2308:23: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2308 | if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2317:23: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2317 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_thread’: imap4r1.c:2404:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 2404 | if (!compare_cstring (thr->name,type)) | ~~~^~~~~~ | | | char * 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:2404:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 2404 | if (!compare_cstring (thr->name,type)) | ^~~~ | | | char * 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:2464:44: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2464 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2471:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2471 | if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2479:21: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2479 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_check’: imap4r1.c:2503:16: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2503 | mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_expunge’: imap4r1.c:2528:36: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 2528 | else if (mail_sequence (stream,sequence)) { | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ imap4r1.c:2556:27: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2556 | if (reply) mm_log (reply->text,ret ? (long) NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_copy’: imap4r1.c:2594:65: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 2594 | else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ imap4r1.c:2598:21: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2598 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_append’: imap4r1.c:2651:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2651 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_append_referral’: imap4r1.c:2714:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2714 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_append_single’: imap4r1.c:2744:32: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 2744 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:2748:44: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2748 | LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); | ^ imap4r1.c:2749:24: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2749 | LOCAL->reply.key = "BAD"; | ^ imap4r1.c:2750:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2750 | LOCAL->reply.text = "Bad date in append"; | ^ imap4r1.c: In function ‘imap_acl_work’: imap4r1.c:2946:23: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2946 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_setquota’: imap4r1.c:2970:23: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2970 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_setid’: imap4r1.c:3048:27: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 3048 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_getquota’: imap4r1.c:3072:23: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 3072 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_getquotaroot’: imap4r1.c:3095:23: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 3095 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_send’: imap4r1.c:3132:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 3132 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~ | | | char * 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:3132:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 3132 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~~~~~ | | | char * 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:3133:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 3133 | compare_cstring (cmd,"STORE") && | ^~~ | | | char * 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:3133:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 3133 | compare_cstring (cmd,"STORE") && | ^~~~~~~ | | | char * 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:3134:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 3134 | compare_cstring (cmd,"SEARCH")) ? | ^~~ | | | char * 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:3134:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 3134 | compare_cstring (cmd,"SEARCH")) ? | ^~~~~~~~ | | | char * 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:3287:52: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 3287 | if (!map->date || mail_parse_date (&elt,map->date)) { | ~~~^~~~~~ | | | char * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function ‘imap_send_literal’: imap4r1.c:3413:20: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 3413 | if (strcmp (reply->tag,"+")) {/* prompt for more data? */ | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function ‘imap_search_x_gm_ext1’: imap4r1.c:3627:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 3627 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3633:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 3633 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:3668:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 3668 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_reply’: imap4r1.c:4001:25: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4001 | if (!strcmp (reply->tag,"+")) return reply; | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4003:30: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4003 | else if (!strcmp (reply->tag,"*")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4008:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4008 | if (tag && !compare_cstring (tag,reply->tag)) return reply; | ^~~ | | | char * 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:4034:27: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4034 | if (!(LOCAL->reply.line = text)) { | ^ imap4r1.c:4040:43: warning: pointer targets in passing argument 1 of ‘mm_dlog’ differ in signedness [-Wpointer-sign] 4040 | if (stream->debug) mm_dlog (LOCAL->reply.line); | ^ | | | unsigned char * mail.h:1695:21: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1695 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:4041:50: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4041 | if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { | ^ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4041:26: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4041 | if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { | ^ imap4r1.c:4047:27: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4047 | if (strcmp (LOCAL->reply.tag,"+")) { | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4049:28: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4049 | if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) { | ^ imap4r1.c:4059:29: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4059 | if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) | ^ imap4r1.c:4060:66: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 4060 | LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c:4063:22: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4063 | LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ | ^ imap4r1.c:4064:29: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4064 | if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) | ^ imap4r1.c:4065:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4065 | LOCAL->reply.text = ""; | ^ imap4r1.c: In function ‘imap_fake’: imap4r1.c:4085:40: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4085 | LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); | ^ imap4r1.c:4086:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4086 | LOCAL->reply.key = "NO"; | ^ imap4r1.c:4087:21: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4087 | LOCAL->reply.text = text; | ^ imap4r1.c: In function ‘imap_OK’: imap4r1.c:4102:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4102 | if (!strcmp (reply->key,"OK")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4103:38: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4103 | 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:4107:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4107 | else if (!strcmp (reply->key,"NO")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4108:38: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4108 | 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:4110:23: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4110 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4111:40: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4111 | 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:4135:27: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4135 | msgno = strtoul (reply->key,(char **) &s,10); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:43: /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4149:31: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4149 | s = ucase (strtok_r (reply->text," ",&r)); | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4149:16: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 4149 | s = ucase (strtok_r (reply->text," ",&r)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4150:7: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4150 | t = strtok_r (NIL,"\n",&r); /* and locate the text after it */ | ^ imap4r1.c:4153:35: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4153 | if (LOCAL->authed && !strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4155:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4155 | else if (LOCAL->authed && !strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4157:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4157 | else if (LOCAL->authed && !strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4165:46: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4165 | else if (LOCAL->authed && t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4165:69: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4165 | else if (LOCAL->authed && t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4176:33: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4176 | while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { | ^ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4176:52: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4176 | while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { | ^ imap4r1.c:4180:29: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 4180 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4180:22: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4180 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4188:34: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 4188 | mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4194:60: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4194 | LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4235:21: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4235 | if (!(s = strchr (md.what,']'))) { | ^ imap4r1.c:4237:22: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4237 | for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); | ^ imap4r1.c:4239:28: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 4239 | if (strncmp (s,"HEADER.FIELDS",13) && | ^ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imap4r1.c:4240:39: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4240 | (!s[13] || strcmp (s+13,".NOT"))) | ~^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4250:39: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 4250 | else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; | ~~^~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4250:27: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4250 | else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; | ^ imap4r1.c:4255:38: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4255 | md.first = strtoul (s+1,(char **) &s,10) + 1; | ~^~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4298:41: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4298 | elt->rfc822_size = strtoul (t,(char **) &t,10); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4334:22: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4334 | else if (strcmp (s,"COPY") || !LOCAL->authed) { | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4341:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4341 | else if (LOCAL->authed && !strcmp (reply->key,"FLAGS") && reply->text && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4343:38: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4343 | (s = strtok_r (reply->text+1," )",&r))) | ~~~~~~~~~~~^~ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4343:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4343 | (s = strtok_r (reply->text+1," )",&r))) | ^ imap4r1.c:4346:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4346 | compare_cstring (s,stream->user_flags[i]); i++); | ~~~~~~~~~~~~~~~~~~^~~ | | | char * 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:4352:74: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 4352 | else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); | ^ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imap4r1.c:4354:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4354 | while ((s = strtok_r (NIL," )",&r)) != NULL); | ^ imap4r1.c:4355:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4355 | else if (LOCAL->authed && !strcmp (reply->key,"SEARCH")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4357:44: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4357 | if (reply->text && (t = strtok_r (reply->text," ",&r))) do | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4357:27: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4357 | if (reply->text && (t = strtok_r (reply->text," ",&r))) do | ^ imap4r1.c:4358:25: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4358 | if ((i = strtoul (t,NIL,10)) != 0L) { | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4367:19: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4367 | } while ((t = strtok_r (NIL," ",&r)) != NULL); | ^ imap4r1.c:4369:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4369 | else if (LOCAL->authed && !strcmp (reply->key,"SORT")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4377:44: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4377 | if (reply->text && (t = strtok_r (reply->text," ",&r))) { | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4377:27: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4377 | if (reply->text && (t = strtok_r (reply->text," ",&r))) { | ^ imap4r1.c:4378:25: warning: pointer targets in passing argument 1 of ‘atol’ differ in signedness [-Wpointer-sign] 4378 | do if ((i = atol (t)) && (LOCAL->filter ? | ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/stdlib.h:486:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 486 | __NTH (atol (const char *__nptr)) | ^~~~~ imap4r1.c:4381:17: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4381 | while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs)); | ^ imap4r1.c:4387:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4387 | else if (LOCAL->authed && !strcmp (reply->key,"THREAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4402:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4402 | else if (LOCAL->authed && !strcmp (reply->key,"STATUS") && reply->text) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4406:60: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 4406 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4406:50: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4406 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^ imap4r1.c:4412:35: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 4412 | while (*txt && (s = strchr (txt,' '))) { | ^~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4412:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4412 | while (*txt && (s = strchr (txt,' '))) { | ^ imap4r1.c:4415:22: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4415 | i = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4416:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4416 | if (!compare_cstring (txt,"MESSAGES")) { | ^~~~~~~~~~ | | | char * 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:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4420 | else if (!compare_cstring (txt,"RECENT")) { | ^~~~~~~~ | | | char * 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:4424:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4424 | else if (!compare_cstring (txt,"UNSEEN")) { | ^~~~~~~~ | | | char * 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:4428:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4428 | else if (!compare_cstring (txt,"UIDNEXT")) { | ^~~~~~~~~ | | | char * 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:4432:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4432 | else if (!compare_cstring (txt,"UIDVALIDITY")) { | ^~~~~~~~~~~~~ | | | char * 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:60: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 4441 | strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ imap4r1.c:4450:30: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4450 | && (!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4450:61: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4450 | && (!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4452:30: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 4452 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4452:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4452 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ^ imap4r1.c:4456:35: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4456 | if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { | ~~~~~~~~~~~^~ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4456:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4456 | if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { | ^ imap4r1.c:4457:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4457 | if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; | ^~~~~~~~~~~~~~~ | | | char * 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:4458:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4458 | else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; | ^~~~~~~~~~~~ | | | char * 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:4459:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4459 | else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; | ^~~~~~~~~~ | | | char * 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:4460:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4460 | else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; | ^~~~~~~~~~~~ | | | char * 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:4461:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4461 | else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; | ^~~~~~~~~~~~~~~ | | | char * 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:4462:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4462 | else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; | ^~~~~~~~~~~~~~~~~ | | | char * 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:4463:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4463 | else if (!compare_cstring (t,"\\All")) i |= LATT_ALL; | ^~~~~~~ | | | char * 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:4464:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4464 | else if (!compare_cstring (t,"\\Archive")) i |= LATT_ARCHIVE; | ^~~~~~~~~~~ | | | char * 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:4465:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4465 | else if (!compare_cstring (t,"\\Drafts")) i |= LATT_DRAFTS; | ^~~~~~~~~~ | | | char * 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:4466:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4466 | else if (!compare_cstring (t,"\\Flagged")) i |= LATT_FLAGGED; | ^~~~~~~~~~~ | | | char * 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:4467:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4467 | else if (!compare_cstring (t,"\\Junk")) i |= LATT_JUNK; | ^~~~~~~~ | | | char * 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:4468:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4468 | else if (!compare_cstring (t,"\\Sent")) i |= LATT_SENT; | ^~~~~~~~ | | | char * 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:4469:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4469 | else if (!compare_cstring (t,"\\Trash")) i |= LATT_TRASH; | ^~~~~~~~~ | | | char * 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:4472:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4472 | while ((t = strtok_r (NIL," ",&r)) != NULL); | ^ imap4r1.c:4486:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4486 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ^ imap4r1.c:4486:20: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 4486 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ~~^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imap4r1.c:4489:59: warning: pointer targets in passing argument 3 of ‘mm_lsub’ differ in signedness [-Wpointer-sign] 4489 | if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); | ^ | | | unsigned char * mail.h:1692:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1692 | void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c:4490:38: warning: pointer targets in passing argument 3 of ‘mm_list’ differ in signedness [-Wpointer-sign] 4490 | else mm_list (stream,delimiter,s,i); | ^ | | | unsigned char * mail.h:1691:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1691 | void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c:4494:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4494 | else if (LOCAL->authed && !strcmp (reply->key,"NAMESPACE")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4517:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4517 | else if (LOCAL->authed && !strcmp (reply->key,"ACL") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4523:30: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4523 | do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && | ^ imap4r1.c:4525:20: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4525 | ac->rights = imap_parse_astring (stream,&s,reply,NIL); | ^ imap4r1.c:4534:34: warning: pointer targets in passing argument 2 of ‘ar’ differ in signedness [-Wpointer-sign] 4534 | else if (ar) (*ar) (stream,t,al); | ^ | | | unsigned char * imap4r1.c:4534:34: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4538:32: warning: pointer targets in passing argument 2 of ‘ar’ differ in signedness [-Wpointer-sign] 4538 | else if (ar) (*ar) (stream,t,NIL); | ^ | | | unsigned char * imap4r1.c:4538:32: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4542:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4542 | else if (LOCAL->authed && !strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4546:35: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4546 | if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ | ^ imap4r1.c:4548:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4548 | (r = imap_parse_astring (stream,&s,reply,NIL))) { | ^ imap4r1.c:4562:38: warning: pointer targets in passing argument 2 of ‘lr’ differ in signedness [-Wpointer-sign] 4562 | else if (lr) (*lr) (stream,t,id,r,rl); | ^ | | | unsigned char * imap4r1.c:4562:38: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4567:36: warning: pointer targets in passing argument 2 of ‘lr’ differ in signedness [-Wpointer-sign] 4567 | else if (lr) (*lr) (stream,t,id,r,NIL); | ^ | | | unsigned char * imap4r1.c:4567:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4586:29: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4586 | && !strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4590:34: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4590 | if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { | ^ imap4r1.c:4596:34: warning: pointer targets in passing argument 2 of ‘mr’ differ in signedness [-Wpointer-sign] 4596 | else if (mr) (*mr) (stream,t,r); | ^ | | | unsigned char * imap4r1.c:4596:34: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4608:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4608 | else if (LOCAL->authed && !strcmp (reply->key,"QUOTA") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4619:23: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4619 | if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && | ^ imap4r1.c:4621:50: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4621 | if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4622:33: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 4622 | else if ((t = strchr (s,' ')) != NULL) t = s; | ^ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4622:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4622 | else if ((t = strchr (s,' ')) != NULL) t = s; | ^ imap4r1.c:4624:52: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4624 | if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4625:36: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 4625 | else if ((t = strpbrk (s," )")) != NULL) t = s; | ^ | | | unsigned char * /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ imap4r1.c:4625:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4625 | else if ((t = strpbrk (s," )")) != NULL) t = s; | ^ imap4r1.c:4630:37: warning: pointer targets in passing argument 2 of ‘qt’ differ in signedness [-Wpointer-sign] 4630 | if (qt) (*qt) (stream,t,ql); | ^ | | | unsigned char * imap4r1.c:4630:37: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4649:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4649 | else if (LOCAL->authed && !strcmp (reply->key,"ID") && (s = reply->text)){ | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4650:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4650 | if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); | ^~~~~ | | | char * 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:4650:69: warning: pointer targets in passing argument 1 of ‘imap_parse_idlist’ differ in signedness [-Wpointer-sign] 4650 | if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); | ^ | | | unsigned char * imap4r1.c:2976:34: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 2976 | IDLIST *imap_parse_idlist (char *text) | ~~~~~~^~~~ imap4r1.c:4652:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4652 | else if (LOCAL->authed && !strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4667:34: warning: pointer targets in passing argument 2 of ‘qr’ differ in signedness [-Wpointer-sign] 4667 | else if (qr) (*qr) (stream,t,rl); | ^ | | | unsigned char * imap4r1.c:4667:34: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4678:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4678 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4678:55: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4678 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4679:38: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4679 | 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:4680:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4680 | else if (!strcmp (reply->key,"NO")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4681:38: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4681 | 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:4682:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4682 | else if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4683:38: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4683 | 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:4684:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4684 | else if (!strcmp (reply->key,"BYE")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4686:38: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4686 | 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:4688:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4688 | else if (!strcmp (reply->key,"CAPABILITY") && reply->text) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4689:42: warning: pointer targets in passing argument 2 of ‘imap_parse_capabilities’ differ in signedness [-Wpointer-sign] 4689 | 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:4690:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4690 | else if (LOCAL->authed && !strcmp (reply->key,"MAILBOX") && reply->text) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4692:49: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 4692 | ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c:4693:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4693 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ^ imap4r1.c:4693:18: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 4693 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ~~^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imap4r1.c:4695:25: warning: pointer targets in passing argument 3 of ‘mm_list’ differ in signedness [-Wpointer-sign] 4695 | mm_list (stream,NIL,t,NIL); | ^ | | | unsigned char * mail.h:1691:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1691 | void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c: In function ‘imap_parse_response’: imap4r1.c:4728:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4728 | if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); | ^ | | | char * 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:4728:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4728 | if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); | ^~~~~~~~~~~~ | | | char * 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,"PERMANENTFLAGS") && (*s == '(') && | ^ | | | char * 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,"PERMANENTFLAGS") && (*s == '(') && | ^~~~~~~~~~~~~~~~ | | | char * 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:4737:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4737 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^ | | | char * 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:4737:37: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4737 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^~~~~~~~ | | | char * 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:4738:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4738 | else if (!compare_cstring (s,"\\Deleted")) | ^ | | | char * 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:4738:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4738 | else if (!compare_cstring (s,"\\Deleted")) | ^~~~~~~~~~~ | | | char * 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:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4740 | else if (!compare_cstring (s,"\\Flagged")) | ^ | | | char * 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:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4740 | else if (!compare_cstring (s,"\\Flagged")) | ^~~~~~~~~~~ | | | char * 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:4742:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4742 | else if (!compare_cstring (s,"\\Answered")) | ^ | | | char * 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:4742:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4742 | else if (!compare_cstring (s,"\\Answered")) | ^~~~~~~~~~~~ | | | char * 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:4744:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4744 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^ | | | char * 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:4744:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4744 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^~~~~~~~~ | | | char * 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:4752:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4752 | else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ | ^ | | | char * 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:4752:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4752 | else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ | ^~~~~~~~~~~~~ | | | char * 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:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4763 | else if (!compare_cstring (t,"UIDNEXT")) | ^ | | | char * 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:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4763 | else if (!compare_cstring (t,"UIDNEXT")) | ^~~~~~~~~ | | | char * 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:4766:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4766 | !compare_cstring (t,"COPYUID") && | ^ | | | char * 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:4766:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4766 | !compare_cstring (t,"COPYUID") && | ^~~~~~~~~ | | | char * 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:4772:39: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4772 | else if (j && !compare_cstring (t,"APPENDUID") && | ^ | | | char * 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:4772:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4772 | else if (j && !compare_cstring (t,"APPENDUID") && | ^~~~~~~~~~~ | | | char * 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:4779:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4779 | if (!compare_cstring (t,"REFERRAL")) | ^ | | | char * 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:4779:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4779 | if (!compare_cstring (t,"REFERRAL")) | ^~~~~~~~~~ | | | char * 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:4786:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4786 | if (!compare_cstring (t,"UIDNOTSTICKY")) { | ^ | | | char * 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:4786:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4786 | if (!compare_cstring (t,"UIDNOTSTICKY")) { | ^~~~~~~~~~~~~~ | | | char * 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:4790:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4790 | else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; | ^ | | | char * 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:4790:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4790 | else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; | ^~~~~~~~~~~ | | | char * 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:4791:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4791 | else if (!compare_cstring (t,"READ-WRITE")) | ^ | | | char * 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:4791:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4791 | else if (!compare_cstring (t,"READ-WRITE")) | ^~~~~~~~~~~~ | | | char * 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:4793:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4793 | else if (!compare_cstring (t,"PARSE") && !errflg) | ^ | | | char * 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:4793:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4793 | else if (!compare_cstring (t,"PARSE") && !errflg) | ^~~~~~~ | | | char * 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:4835:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4835 | nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); | ^ imap4r1.c:4860:32: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4860 | if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, | ^ imap4r1.c:4872:32: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4872 | if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, | ^ imap4r1.c: In function ‘imap_parse_thread’: imap4r1.c:4945:29: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4945 | else if (isdigit (*(s = *txtptr)) && | ^ imap4r1.c:4947:26: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4947 | strtoul (*txtptr,(char **) txtptr,10))) { | ^~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function ‘imap_parse_envelope’: imap4r1.c:5033:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5033 | (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5040:25: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5040 | (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5042:24: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5042 | (*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function ‘imap_parse_address’: imap4r1.c:5140:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5140 | adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5141:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5141 | adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5142:20: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5142 | adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5143:17: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5143 | adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function ‘imap_parse_flags’: imap4r1.c:5240:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5240 | while (*(flag = ++*txtptr) == ' '); | ^ imap4r1.c:5248:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5248 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~ | | | char * 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:5248:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5248 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~~~~~ | | | char * 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:5249:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5249 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~ | | | char * 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:5249:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5249 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~~~~~~~~ | | | char * 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:5250:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5250 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~ | | | char * 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:5250:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5250 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~~~~~~~~ | | | char * 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:5251:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5251 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~ | | | char * 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:5251:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5251 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~~~~~~~~~ | | | char * 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:5252:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5252 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~ | | | char * 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:5252:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5252 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~~~~~~~ | | | char * 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:5253:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5253 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~ | | | char * 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:5253:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5253 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~~~~~~ | | | char * 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:5281:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5281 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ^~~~ | | | char * 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:5281:50: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5281 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ~~~~~~~~~~~~~~~~~~^~~ | | | char * 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:5314:46: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 5314 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ imap4r1.c:5314:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 5314 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ imap4r1.c: In function ‘imap_parse_string’: imap4r1.c:5355:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5355 | if (c) st = ++*txtptr; /* remember start of string */ | ^ imap4r1.c:5410:28: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 5410 | else if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) { | ^~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5442:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 5442 | if (!(reply->line = net_getline (LOCAL->netstream))) | ^ imap4r1.c:5443:19: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 5443 | reply->line = cpystr (""); | ^ imap4r1.c:5444:38: warning: pointer targets in passing argument 1 of ‘mm_dlog’ differ in signedness [-Wpointer-sign] 5444 | if (stream->debug) mm_dlog (reply->line); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1695:21: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1695 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_cache’: imap4r1.c:5512:39: warning: pointer targets in passing argument 3 of ‘mail_body’ differ in signedness [-Wpointer-sign] 5512 | if (!(b = mail_body (stream,msgno,seg))) { | ^~~ | | | char * mail.h:1787:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1787 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ imap4r1.c: In function ‘imap_parse_body_structure’: imap4r1.c:5590:26: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5590 | if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) | ^ imap4r1.c:5591:20: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 5591 | ucase (body->subtype); | ~~~~^~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5609:24: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5609 | body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5630:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5630 | if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { | ^ imap4r1.c:5631:16: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 5631 | ucase (s); /* application always gets uppercase form */ | ^ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5643:26: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5643 | if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) | ^ imap4r1.c:5644:20: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 5644 | ucase (body->subtype); /* parse subtype */ | ~~~~^~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5651:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5651 | body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5652:25: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5652 | body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5654:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5654 | if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { | ^ imap4r1.c:5655:16: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 5655 | ucase (s); /* application always gets uppercase form */ | ^ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5671:35: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 5671 | body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5692:37: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 5692 | body->size.lines = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5699:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5699 | body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5712:24: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5712 | body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function ‘imap_parse_body_parameter’: imap4r1.c:5759:24: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5759 | if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5765:22: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5765 | if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ | ^ imap4r1.c:5791:18: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5791 | ((*(s = *txtptr) == 'I') || (*s == 'i')) && | ^ imap4r1.c: In function ‘imap_parse_disposition’: imap4r1.c:5815:28: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5815 | body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c: In function ‘imap_parse_language’: imap4r1.c:5858:15: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5858 | else if ((s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) != NULL) { | ^ imap4r1.c: In function ‘imap_parse_extension’: imap4r1.c:5927:23: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 5927 | if ((i = strtoul (*txtptr,(char **) txtptr,10)) != 0L) do | ^~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5932:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 5932 | if (!(reply->line = net_getline (LOCAL->netstream))) | ^ imap4r1.c:5933:19: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 5933 | reply->line = cpystr (""); | ^ imap4r1.c:5934:38: warning: pointer targets in passing argument 1 of ‘mm_dlog’ differ in signedness [-Wpointer-sign] 5934 | if (stream->debug) mm_dlog (reply->line); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1695:21: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1695 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:5939:14: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 5939 | strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function ‘imap_parse_capabilities’: imap4r1.c:5973:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5973 | if (!compare_cstring (t,"IMAP4")) | ^ | | | char * 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:29: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5973 | if (!compare_cstring (t,"IMAP4")) | ^~~~~~~ | | | char * 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,"IMAP4rev1")) | ^ | | | char * 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,"IMAP4rev1")) | ^~~~~~~~~~~ | | | char * 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,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^ | | | char * 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,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^~~~~~~ | | | char * 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,"IMAP2bis")) | ^ | | | char * 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,"IMAP2bis")) | ^~~~~~~~~~ | | | char * 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:5980:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5980 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^ | | | char * 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:5980:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5980 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^~~~~ | | | char * 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:5981:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5981 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^ | | | char * 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:5981:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5981 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^~~~~~~ | | | char * 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:5982:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5982 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^ | | | char * 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:5982:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5982 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^~~~~~~~~~ | | | char * 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:5983:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5983 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^ | | | char * 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:5983:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5983 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^~~~~~ | | | char * 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:5984:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5984 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^ | | | char * 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:5984:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5984 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^~~~~~~~~~~~~~~~~~~ | | | char * 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:5985:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5985 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^ | | | char * 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:5985:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5985 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^~~~~~~~~~~~~~~~~ | | | char * 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:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5986 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^ | | | char * 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:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5986 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^~~~~~~~~~~ | | | char * 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:5987:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5987 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^ | | | char * 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:5987:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5987 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^~~~~~~~~ | | | char * 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:5988:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5988 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^ | | | char * 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:5988:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5988 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^~~~~~~~~~ | | | char * 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:5989:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5989 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^ | | | char * 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:5989:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5989 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^~~~~~~~~~~~~~~ | | | char * 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:5990:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5990 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^ | | | char * 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:5990:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5990 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^~~~ | | | char * 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:5991:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5991 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^ | | | char * 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:5991:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5991 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^~~~~~~~~~ | | | char * 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:5992:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5992 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^ | | | char * 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:5992:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5992 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^~~~~~~~~~~~~ | | | char * 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:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5993 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^ | | | char * 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:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5993 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^~~~~~~~ | | | char * 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:5994:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5994 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^ | | | char * 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:5994:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5994 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^~~~~~~~~~ | | | char * 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:5995:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5995 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^ | | | char * 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:5995:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5995 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^~~~~~~~~ | | | char * 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:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5996 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^ | | | char * 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:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5996 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^~~~~~ | | | char * 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:5997:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5997 | else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; | ^ | | | char * 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:5997:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5997 | else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; | ^~~~~~~~~ | | | char * 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:5998:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5998 | else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; | ^ | | | char * 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:5998:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5998 | else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; | ^~~~~~~~~~ | | | char * 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:5999:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5999 | else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; | ^ | | | char * 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:5999:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5999 | else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; | ^~~~~~~~~~~ | | | char * 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:6000:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6000 | else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; | ^ | | | char * 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:6000:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6000 | else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; | ^~~~~~~~~ | | | char * 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:6001:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6001 | else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; | ^ | | | char * 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:6001:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6001 | else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; | ^~~~~~~~~~~~ | | | char * 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:6009:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6009 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^ | | | char * 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:6009:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6009 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^~~~~~~~ | | | char * 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:6016:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6016 | else if (!compare_cstring (t,"AUTH")) { | ^ | | | char * 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:6016:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6016 | else if (!compare_cstring (t,"AUTH")) { | ^~~~~~ | | | char * 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:6019:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6019 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^ | | | char * 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:6019:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6019 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^~~~~~~~~~~ | | | char * 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:1276:14: warning: ‘atsaved’ may be used uninitialized [-Wmaybe-uninitialized] 1276 | else if (!atsaved) sprintf (tmp,"IMAP server does not support AUTH=%.80s authenticator",mb->auth); | ^ imap4r1.c:1193:23: note: ‘atsaved’ was declared here 1193 | AUTHENTICATOR *at, *atsaved; | ^~~~~~~ http.c: In function ‘http_response_from_reply’: http.c:137:20: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 137 | 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:350:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ http.c:137:5: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 137 | s = strstr(stream->reply, "\r\n\r\n"); | ^ http.c: In function ‘http_add_data_to_header’: http.c:360:36: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 360 | if(h->data) buffer_add(&h->data, ", "); | ^~~~ | | | char * http.c:90:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: In function ‘http_add_header_data’: http.c:380:18: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 380 | if((h = strchr(hdata, ':'))){ | ^~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:380:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 380 | if((h = strchr(hdata, ':'))){ | ^ http.c:383:13: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 383 | strncpy(hname, hdata, h-hdata); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:92:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ http.c:383:20: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 383 | strncpy(hname, hdata, h-hdata); | ^~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ http.c:102:39: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:385:9: note: in expansion of macro ‘valid_token_name’ 385 | if(!valid_token_name(hname)) | ^~~~~~~~~~~~~~~~ /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:395:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 395 | case 'a': if(!compare_cstring(hname+1, "ccept:")) /* RFC 7231, Section 5.3.2 */ | ^~~~~~~~ | | | char * In file included from c-client.h: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); | ~~~~~~~~~~~~~~~^~ http.c:397:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 397 | else if(!compare_cstring(hname+1, "ccept-charset:")) /* RFC 7231, Section 5.3.3 */ | ^~~~~~~~~~~~~~~~ | | | char * 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:399:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 399 | else if(!compare_cstring(hname+1, "ccept-encoding:")) /* RFC 7231, Section 5.3.4 */ | ^~~~~~~~~~~~~~~~~ | | | char * 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:401:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 401 | else if(!compare_cstring(hname+1, "ccept-language:")) /* RFC 7231, Section 5.3.5 */ | ^~~~~~~~~~~~~~~~~ | | | char * 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:403:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 403 | else if(!compare_cstring(hname+1, "ccept-ranges:")) /* RFC 7233, Section 2.3 */ | ^~~~~~~~~~~~~~~ | | | char * 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:405:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 405 | else if(!compare_cstring(hname+1, "ge:")) /* RFC 7234, Section 5.1 */ | ^~~~~ | | | char * 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:407:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 407 | else if(!compare_cstring(hname+1, "llow:")) /* RFC 7231, Section 7.4.1 */ | ^~~~~~~ | | | char * 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:413:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 413 | case 'c': if(!compare_cstring(hname+1, "ache-control:")) /* RFC 7234, Section 5.2 */ | ^~~~~~~~~~~~~~~ | | | char * 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:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 415 | else if(!compare_cstring(hname+1, "onnection:")) /* RFC 7230, Section 6.1 */ | ^~~~~~~~~~~~ | | | char * 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:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 417 | else if(!compare_cstring(hname+1, "ontent-disposition:")) /* RFC 6266 */ | ^~~~~~~~~~~~~~~~~~~~~ | | | char * 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:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 419 | else if(!compare_cstring(hname+1, "ontent-encoding:")) /* RFC 7231, Section 3.1.2.2 */ | ^~~~~~~~~~~~~~~~~~ | | | char * 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:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 421 | else if(!compare_cstring(hname+1, "ontent-language:")) /* RFC 7231, Section 3.1.3.2 */ | ^~~~~~~~~~~~~~~~~~ | | | char * 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:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 423 | else if(!compare_cstring(hname+1, "ontent-length:")) /* RFC 7230, Section 3.3.2 */ | ^~~~~~~~~~~~~~~~ | | | char * 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:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 425 | else if(!compare_cstring(hname+1, "ontent-location:")) /* RFC 7231, Section 3.1.4.2 */ | ^~~~~~~~~~~~~~~~~~ | | | char * 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:427:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 427 | else if(!compare_cstring(hname+1, "ontent-type:")) /* RFC 7231, Section 3.1.1.5 */ | ^~~~~~~~~~~~~~ | | | char * 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:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 433 | case 'd': if(!compare_cstring(hname+1, "ate:")) /* RFC 7231, Section 7.1.1.2 */ | ^~~~~~ | | | char * 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:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 439 | case 'e': if(!compare_cstring(hname+1, "tag:")) /* RFC 7232, Section 2.3 */ | ^~~~~~ | | | char * 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:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 441 | else if(!compare_cstring(hname+1, "xpect:")) /* RFC 7231, Section 5.1.1 */ | ^~~~~~~~ | | | char * 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:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 443 | else if(!compare_cstring(hname+1, "xpires:")) /* RFC 7234, Section 5.3 */ | ^~~~~~~~~ | | | char * 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:449:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 449 | case 'f': if(!compare_cstring(hname+1, "rom:")) /* RFC 7231, Section 5.5.1 */ | ^~~~~~ | | | char * 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:455:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 455 | case 'h': if(!compare_cstring(hname+1, "ost:")) /* RFC 7230, Section 5.4 */ | ^~~~~~ | | | char * 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:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 461 | case 'l': if(!compare_cstring(hname+1, "ast-modified:")) /* RFC 7232, Section 2.2 */ | ^~~~~~~~~~~~~~~ | | | char * 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:463:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 463 | else if(!compare_cstring(hname+1, "ocation:")) /* RFC 7231, Section 7.1.2 */ | ^~~~~~~~~~ | | | char * 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:469:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 469 | case 'm': if(!compare_cstring(hname+1, "ax-forwards:")) /* RFC 7231, Section 5.1.2 */ | ^~~~~~~~~~~~~~ | | | char * 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:471:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 471 | else if(!compare_cstring(hname+1, "ime-version:")) /* RFC 7231, Appendix A.1 */ | ^~~~~~~~~~~~~~ | | | char * 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:477:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 477 | case 'p': if(!compare_cstring(hname+1, "ragma:")) /* RFC 7234, Section 5.4 */ | ^~~~~~~~ | | | char * 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:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 479 | else if(!compare_cstring(hname+1, "roxy-authenticate:")) /* RFC 7235, Section 4.3 */ | ^~~~~~~~~~~~~~~~~~~~ | | | char * 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:485:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 485 | case 'r': if(!compare_cstring(hname+1, "eferer:")) /* RFC 7231, Section 5.5.2 */ | ^~~~~~~~~ | | | char * 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:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 487 | else if(!compare_cstring(hname+1, "etry-after:")) /* RFC 7231, Section 7.1.3 */ | ^~~~~~~~~~~~~ | | | char * 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:493:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 493 | case 's': if(!compare_cstring(hname+1, "erver:")) /* RFC 7231, Section 7.4.2 */ | ^~~~~~~~ | | | char * 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:499:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 499 | case 't': if(!compare_cstring(hname+1, "e:")) /* RFC 7230, Section 4.3 */ | ^~~~ | | | char * 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:501:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 501 | else if(!compare_cstring(hname+1, "railer:")) /* RFC 7230, Section 4.4 */ | ^~~~~~~~~ | | | char * 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:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 503 | else if(!compare_cstring(hname+1, "ransfer-encoding:")) /* RFC 7230, Section 3.3.1 */ | ^~~~~~~~~~~~~~~~~~~ | | | char * 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:510:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 510 | case 'u': if(!compare_cstring(hname+1, "pgrade:")) /* RFC 7230, Section 6.7 */ | ^~~~~~~~~ | | | char * 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:512:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 512 | else if(!compare_cstring(hname+1, "ser-agent:")) /* RFC 7231, Section 5.5.3 */ | ^~~~~~~~~~~~ | | | char * 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:518:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 518 | case 'v': if(!compare_cstring(hname+1, "ia:")) /* RFC 7230, Section 5.7.1 */ | ^~~~~ | | | char * 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:520:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 520 | else if(!compare_cstring(hname+1, "ary:")) /* RFC 7231, Section 7.1.4 */ | ^~~~~~ | | | char * 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:526:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 526 | case 'w': if(!compare_cstring(hname+1, "arning:")) /* RFC 7234, Section 5.5 */ | ^~~~~~~~~ | | | char * 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:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 528 | else if(!compare_cstring(hname+1, "ww-authenticate:")) /* RFC 7235, Section 4.1 */ | ^~~~~~~~~~~~~~~~~~ | | | char * 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:369:7: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 369 | int found = 1; | ^~~~~ http.c: In function ‘http_parse_token_list’: http.c:102:39: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:555:7: note: in expansion of macro ‘valid_token_name’ 555 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~ /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:563:26: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 563 | rv->vp->value = cpystr(s); | ^ | | | unsigned char * 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:102:39: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:604:7: note: in expansion of macro ‘valid_token_name’ 604 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~ /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:617:26: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 617 | rv->vp->value = cpystr(s); | ^ | | | unsigned char * 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:635:15: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 635 | t = strchr(s+1, '\"'); | ~^~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:635:5: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 635 | t = strchr(s+1, '\"'); | ^ http.c: In function ‘http_remove_trailing_ows’: http.c:652:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 652 | for(t = s; strlen(t) > 0 ;) | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:653:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 653 | if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:653:43: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 653 | if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:654:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 654 | t[strlen(t)-1] = '\0'; | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c: In function ‘http_parse_parameter’: http.c:675:14: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 675 | u = strchr(s, '='); | ^ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:675:5: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 675 | u = strchr(s, '='); | ^ http.c:102:39: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:680:9: note: in expansion of macro ‘valid_token_name’ 680 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^~~~~~~~~~~~~~~~ /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:680:56: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 680 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^ | | | unsigned char * http.c:102:40: note: in definition of macro ‘valid_token_name’ 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^ http.c:680:33: note: in expansion of macro ‘valid_parameter_value’ 680 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:683:27: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 683 | p->attribute = cpystr(s); | ^ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c:684:24: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 684 | p->value = cpystr(u+1); | ~^~ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c:102:39: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:693:9: note: in expansion of macro ‘valid_token_name’ 693 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~ /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:696:27: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 696 | p->attribute = cpystr(s); | ^ | | | unsigned char * 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:713:51: warning: pointer targets in passing argument 1 of ‘hex_escape_url_part’ differ in signedness [-Wpointer-sign] 713 | enc_param.name = hex_escape_url_part(param[i].name, NULL); | ~~~~~~~~^~~~~ | | | char * http.c:91:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 91 | unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:713:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 713 | enc_param.name = hex_escape_url_part(param[i].name, NULL); | ^ http.c:714:51: warning: pointer targets in passing argument 1 of ‘hex_escape_url_part’ differ in signedness [-Wpointer-sign] 714 | enc_param.value = hex_escape_url_part(param[i].value, NULL); | ~~~~~~~~^~~~~~ | | | char * http.c:91:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 91 | unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:714:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 714 | enc_param.value = hex_escape_url_part(param[i].value, NULL); | ^ http.c:715:34: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 715 | buffer_add(&rv, i == 0 ? "?" : "&"); | ~~~~~~~~~~~~~^~~~~ | | | char * http.c:90:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:716:30: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 716 | buffer_add(&rv, enc_param.name); | ~~~~~~~~~^~~~~ | | | char * http.c:90:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:717:21: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 717 | buffer_add(&rv, "="); | ^~~ | | | char * http.c:90:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:718:30: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 718 | buffer_add(&rv, enc_param.value); | ~~~~~~~~~^~~~~~ | | | char * http.c:90:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: In function ‘http_request_line’: http.c:749:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 749 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:749:37: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 749 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:749:54: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 749 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:752:11: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 752 | sprintf(line, "%s %s %s", method, target, version); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c: In function ‘http_add_header’: http.c:765:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 765 | len = strlen(name) + 2 + strlen(value) + 2 + 1; | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:765:36: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 765 | len = strlen(name) + 2 + strlen(value) + 2 + 1; | ^~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:766:42: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 766 | hlen = (*reqp)->header ? strlen((*reqp)->header) : 0; | ~~~~~~~^~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:769:27: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 769 | sprintf((*reqp)->header + hlen, "%s: %s\015\012", name, value); | ~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c: In function ‘buffer_add’: http.c:779:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 779 | len = *bufp ? strlen(*bufp) : 0; | ^~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:780:43: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 780 | fs_resize((void **) bufp, (len + strlen(text) + 1)*sizeof(char)); | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:782:10: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 782 | strcat(*bufp, text); | ^~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ http.c:782:17: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 782 | strcat(*bufp, text); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ http.c: In function ‘hex_escape_url_part’: http.c:832:39: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 832 | unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:837:39: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 837 | || (addsafe != NULL && strchr(addsafe, *t) != NULL)) | ^~~~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:838:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 838 | sprintf(s + strlen(s), "%c", *t); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:838:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 838 | sprintf(s + strlen(s), "%c", *t); | ~~^~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:840:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 840 | sprintf(s + strlen(s), "%%%X", *t); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:840:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 840 | sprintf(s + strlen(s), "%%%X", *t); | ~~^~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:841:35: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 841 | fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c: In function ‘encode_url_body_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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:855:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 855 | sprintf(s + strlen(s), "%c", '+'); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:855:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 855 | sprintf(s + strlen(s), "%c", '+'); | ~~^~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:857:39: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 857 | || (addsafe != NULL && strchr(addsafe, *t) != NULL)) | ^~~~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:858:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 858 | sprintf(s + strlen(s), "%c", *t); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:858:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 858 | sprintf(s + strlen(s), "%c", *t); | ~~^~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:860:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 860 | sprintf(s + strlen(s), "%%%X", *t); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:860:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 860 | sprintf(s + strlen(s), "%%%X", *t); | ~~^~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:861:35: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 861 | fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c: In function ‘http_valid_net_parse’: http.c:887:20: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 887 | s = strchr(url+i+1, '/'); | ~~~~~^~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:887:6: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 887 | s = strchr(url+i+1, '/'); | ^ http.c:888:44: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 888 | len = s ? s - url - i - 1 : strlen(url+i+1); | ~~~~~^~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:889:31: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 889 | strncpy(mb->orighost, url+i+1, len); | ~~~~~^~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ http.c: In function ‘http_open’: http.c:915:5: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 915 | s = strchr((char *) url + 7 + (mb.trysslflag ? 1 : 0) + 1, '/'); /* 7 = strlen("http://") + 1 */ | ^ http.c:916:28: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 916 | stream->url = cpystr(url); | ^~~ | | | unsigned char * 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:941:45: warning: pointer targets in passing argument 1 of ‘http_request_line’ differ in signedness [-Wpointer-sign] 941 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~ | | | char * http.c:747:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ http.c:941:59: warning: pointer targets in passing argument 2 of ‘http_request_line’ differ in signedness [-Wpointer-sign] 941 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ~~~~~~^~~~~~~~~ | | | char * http.c:747:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ In file included from c-client.h:46: http.h:76:33: warning: pointer targets in passing argument 3 of ‘http_request_line’ differ in signedness [-Wpointer-sign] 76 | #define HTTP_1_1_VERSION "HTTP/1.1" | ^~~~~~~~~~ | | | char * http.c:941:70: note: in expansion of macro ‘HTTP_1_1_VERSION’ 941 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~~ http.c:747:80: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~~ http.c:942:34: warning: pointer targets in passing argument 2 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 942 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~ | | | char * http.c:757:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:942:48: warning: pointer targets in passing argument 3 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 942 | http_add_header(&http_request, "Host", stream->urlhost); | ~~~~~~^~~~~~~~~ | | | char * http.c:757:76: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:943:34: warning: pointer targets in passing argument 2 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 943 | http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); | ^~~~~~~~~~~~~~ | | | char * http.c:757:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.h:74:33: warning: pointer targets in passing argument 3 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 74 | #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:943:50: note: in expansion of macro ‘HTTP_MIME_URLENCODED’ 943 | http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); | ^~~~~~~~~~~~~~~~~~~~ http.c:757:76: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:946:52: warning: pointer targets in passing argument 1 of ‘encode_url_body_part’ differ in signedness [-Wpointer-sign] 946 | enc_param.name = encode_url_body_part(param[i].name, NULL); | ~~~~~~~~^~~~~ | | | char * http.c:847:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 847 | encode_url_body_part(unsigned char *text, unsigned char *addsafe) | ~~~~~~~~~~~~~~~^~~~ http.c:946:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 946 | enc_param.name = encode_url_body_part(param[i].name, NULL); | ^ http.c:947:52: warning: pointer targets in passing argument 1 of ‘encode_url_body_part’ differ in signedness [-Wpointer-sign] 947 | enc_param.value = encode_url_body_part(param[i].value, NULL); | ~~~~~~~~^~~~~~ | | | char * http.c:847:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 847 | encode_url_body_part(unsigned char *text, unsigned char *addsafe) | ~~~~~~~~~~~~~~~^~~~ http.c:947:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 947 | enc_param.value = encode_url_body_part(param[i].value, NULL); | ^ http.c:949:37: warning: pointer targets in passing argument 2 of ‘http_add_body’ differ in signedness [-Wpointer-sign] 949 | http_add_body(&http_request, "&"); | ^~~ | | | char * http.c:786:53: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:950:43: warning: pointer targets in passing argument 2 of ‘http_add_body’ differ in signedness [-Wpointer-sign] 950 | http_add_body(&http_request, enc_param.name); | ~~~~~~~~~^~~~~ | | | char * http.c:786:53: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:951:34: warning: pointer targets in passing argument 2 of ‘http_add_body’ differ in signedness [-Wpointer-sign] 951 | http_add_body(&http_request, "="); | ^~~ | | | char * http.c:786:53: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:952:43: warning: pointer targets in passing argument 2 of ‘http_add_body’ differ in signedness [-Wpointer-sign] 952 | http_add_body(&http_request, enc_param.value); | ~~~~~~~~~^~~~~~ | | | char * http.c:786:53: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:959:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 959 | response = cpystr(s ? (char *) s : ""); | ^ http.c: In function ‘http_get’: http.c:977:45: warning: pointer targets in passing argument 1 of ‘http_request_line’ differ in signedness [-Wpointer-sign] 977 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ^~~~~ | | | char * http.c:747:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ http.c:977:58: warning: pointer targets in passing argument 2 of ‘http_request_line’ differ in signedness [-Wpointer-sign] 977 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ~~~~~~^~~~~~~~~ | | | char * http.c:747:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ http.h:76:33: warning: pointer targets in passing argument 3 of ‘http_request_line’ differ in signedness [-Wpointer-sign] 76 | #define HTTP_1_1_VERSION "HTTP/1.1" | ^~~~~~~~~~ | | | char * http.c:977:69: note: in expansion of macro ‘HTTP_1_1_VERSION’ 977 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~~ http.c:747:80: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~~ http.c:978:34: warning: pointer targets in passing argument 2 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 978 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~ | | | char * http.c:757:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:978:48: warning: pointer targets in passing argument 3 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 978 | http_add_header(&http_request, "Host", stream->urlhost); | ~~~~~~^~~~~~~~~ | | | char * http.c:757:76: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:980:41: warning: pointer targets in passing argument 2 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 980 | http_add_header(&http_request, h[i]->name, h[i]->value); | ~~~~^~~~~~ | | | char * http.c:757:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:980:53: warning: pointer targets in passing argument 3 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 980 | http_add_header(&http_request, h[i]->name, h[i]->value); | ~~~~^~~~~~~ | | | char * http.c:757:76: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:984:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 984 | response = cpystr(s ? (char *) s : ""); | ^ http.c: In function ‘http_send’: http.c:1014:29: warning: pointer targets in passing argument 2 of ‘http_fake’ differ in signedness [-Wpointer-sign] 1014 | ret = http_fake (stream,"http connection lost"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:96:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:1019:40: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1019 | sprintf(length, "%lu", strlen(req->body)); | ~~~^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:1020:29: warning: pointer targets in passing argument 2 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 1020 | http_add_header(&req, "Content-Length", length); | ^~~~~~~~~~~~~~~~ | | | char * http.c:757:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:1020:47: warning: pointer targets in passing argument 3 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 1020 | http_add_header(&req, "Content-Length", length); | ^~~~~~ | | | char * http.c:757:76: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:1023:50: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 1023 | buffer_add(&s, req->request); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1024:49: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 1024 | buffer_add(&s, req->header); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1025:47: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 1025 | buffer_add(&s, req->body); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1027:30: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1027 | if(stream->debug) mm_log(s, HTTPDEBUG); | ^ | | | unsigned char * In file included from c-client.h:41: mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1029:40: warning: pointer targets in passing argument 2 of ‘net_soutr’ differ in signedness [-Wpointer-sign] 1029 | ret = net_soutr (stream->netstream,s) | ^ | | | unsigned char * mail.h:1913:41: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1913 | long net_soutr (NETSTREAM *stream,char *string); | ~~~~~~^~~~~~ http.c:1031:31: warning: pointer targets in passing argument 2 of ‘http_fake’ differ in signedness [-Wpointer-sign] 1031 | : http_fake (stream,"http connection broken in command"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:96:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: In function ‘http_status_line_get’: http.c:1046:19: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1046 | if((s = strchr(status_line, ' ')) != NIL){ | ^~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:1048:24: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 1048 | version = cpystr(status_line); | ^~~~~~~~~~~ | | | unsigned char * 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:1083:64: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1083 | if(stream->debug) mm_log(stream->response ? stream->response : (unsigned char *) "", HTTPDEBUG); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1087:33: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 1087 | buffer_add(&stream->reply, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1094:23: warning: pointer targets in passing argument 2 of ‘http_fake’ differ in signedness [-Wpointer-sign] 1094 | http_fake(stream, "Invalid status line received. Closing connection"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:96:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:1104:39: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1104 | if(stream->debug) mm_log(stream->response, HTTPDEBUG); | ~~~~~~^~~~~~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1106:33: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 1106 | buffer_add(&stream->reply, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1119:40: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1119 | if(stream->debug) mm_log(stream->response, HTTPDEBUG); | ~~~~~~^~~~~~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1125:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1125 | if(!compare_cstring(p->vp->value, "chunked")) | ~~~~~^~~~~~~ | | | char * 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:1125:43: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1125 | if(!compare_cstring(p->vp->value, "chunked")) | ^~~~~~~~~ | | | char * 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:1134:39: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1134 | if(stream->debug) mm_log(s, HTTPDEBUG); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1135:28: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 1135 | size = strtol(s, NIL, 16); | ^ | | | unsigned char * In file included from osdep.h:43: /usr/include/stdlib.h:177:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 177 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ http.c:1140:47: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1140 | if(stream->debug) mm_log(stream->response, HTTPDEBUG); | ~~~~~~^~~~~~~~~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1148:23: warning: pointer targets in passing argument 2 of ‘http_fake’ differ in signedness [-Wpointer-sign] 1148 | http_fake(stream, "Connection to HTTP server closed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:96:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: At top level: http.c:22:13: warning: ‘http_noparam_val’ defined but not used [-Wunused-variable] 22 | 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"; | ^~~~~~~~~~~~~~~~ json.c: In function ‘json_assign’: json.c:454:37: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 454 | JSON_S *json = json_body_value(j, s); | ^ | | | char * json.c:137:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 137 | json_body_value(JSON_S *j, unsigned char *s) | ~~~~~~~~~~~~~~~^ json.c: In function ‘json_by_name_and_type’: json.c:475:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 475 | if(j->name && !compare_cstring(j->name, name)) | ^~~~ | | | char * In file included from c-client.h:49, from json.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); | ~~~~~~~~~~~~~~~^~ pop3.c: In function ‘pop3_valid’: pop3.c:179:31: 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:49, 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:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 179 | !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; | ^~~~~~~ | | | char * 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: 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); | ~~~~~~~~~~~~~~~^ 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) | ^~~ 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: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) | ^ 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); | ~~~~~~~~~~~~~~~^ 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) | ^~~ 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_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) | ^ 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); | ~~~~~~~~~~~~~~~^ 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) | ^~~ 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: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) | ^ 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); | ~~~~~~~~~~~~~~~^ 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) | ^~~ 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_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) | ^ 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); | ~~~~~~~~~~~~~~~^ 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) | ^~~ 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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:28: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 520 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~ | | | char * 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:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 520 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~~~~ | | | char * 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:36: 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 * 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:38: 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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:830:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 830 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from c-client.h:41: mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c:831:49: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 831 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c: In function ‘pop3_expunge’: pop3.c:994:51: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 994 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c:995:47: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 995 | mail_sequence (stream,sequence)) : | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c: In function ‘pop3_header’: pop3.c:894:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 894 | fread (elt->private.msg.header.text.data = (unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 895 | fs_get ((size_t) elt->private.msg.header.text.size + 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 896 | (size_t) 1,(size_t) elt->private.msg.header.text.size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c: In function ‘pop3_auth’: pop3.c:675:15: warning: ‘atsaved’ may be used uninitialized [-Wmaybe-uninitialized] 675 | else if (!atsaved) sprintf (pwd,"POP server does not support AUTH=%.80s authenticator",mb->auth); | ^ pop3.c:560:23: note: ‘atsaved’ was declared here 560 | AUTHENTICATOR *at, *atsaved; | ^~~~~~~ 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 * 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:26: 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:26: note: (near initialization for ‘XIMAPbase.text.data’) unix.c:592:26: 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:26: note: (near initialization for ‘XIMAP.text.data’) unix.c:593:26: 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:26: note: (near initialization for ‘XUID.text.data’) unix.c:594:26: 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:26: note: (near initialization for ‘XKeywords.text.data’) unix.c:595:26: 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:26: note: (near initialization for ‘XStatus.text.data’) unix.c:596:26: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 596 | STRINGLIST Status = {{"Status", 6}, &XStatus}; | ^~~~~~~~ unix.c:596:26: note: (near initialization for ‘Status.text.data’) 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:1800:34: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1800 | 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:25: 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:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from unix.c:40: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:778:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 778 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function ‘unix_expunge’: unix.c:835:52: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 835 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:836:48: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 836 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:892:31: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 892 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * 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 * 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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:39: 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:39: 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:30: 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 * 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * 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 * 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 * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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:18: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1490:17: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1490 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1539:20: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1540:19: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1540 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1544:17: 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:38: 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: /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ unix.c:1561:27: 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:67: 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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ unix.c:1567:66: 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 * 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:36: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 1615 | u = strpbrk (s," \n\r"); | ^ | | | unsigned char * /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ unix.c:1615:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1615 | u = strpbrk (s," \n\r"); | ^ unix.c:1622:56: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 1622 | strncpy (stream->user_flags[j],s,k); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ unix.c:1650:30: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1655:30: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1675:27: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1675 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1731:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1731 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ | | | char * 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:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1732 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ | | | char * 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:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1733 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ | | | char * 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:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1734 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ | | | char * 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:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1735 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ | | | char * 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:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1736 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ | | | char * 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:22: 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:13: 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:35: 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:41: 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:31: 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:53: 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:31: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * 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:25: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2278:45: 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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * 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 * 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 * 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 * 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:23: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2595:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2595 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:2607:25: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2608:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2608 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:2614:25: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2616:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2616 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:2632:27: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2637:31: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2637 | else MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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:11: 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:9: 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:9: 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:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2610 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2618:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2618 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2629:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2629 | ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ | ^~~~~~~~~~~~~~~~~ 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 * 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 * 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 * 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 * 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 * 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:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | 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 * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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:25: 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:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mbx.c:37: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:858:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 858 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c: In function ‘mbx_expunge’: mbx.c:890:51: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 890 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:891:47: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 891 | mail_sequence (stream,sequence)) : LONGT) != 0L) { | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c: In function ‘mbx_snarf’: mbx.c:941:27: 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 * mail.h:1788:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1788 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mbx.c:942:46: 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:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:942:31: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 942 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:948:57: 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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:948:38: 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: 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:23: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:965:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 965 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:1001:31: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 1001 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * mail.h:1788:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1788 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mbx.c:1038:35: 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 * 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:37: 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 * 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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | 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 * 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:32: 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 * 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * 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 * 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 * 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:36: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1166 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | 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: /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | 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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | 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 * 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | 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 * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | 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 * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1517:23: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 1517 | strncpy(tmp, LOCAL->buf, 14); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ mbx.c:1518:24: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1518 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1521:22: warning: pointer targets in passing argument 1 of ‘fatal’ differ in signedness [-Wpointer-sign] 1521 | fatal (LOCAL->buf+50); | ^ | | | unsigned char * ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1525:26: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1525 | i = strtoul (LOCAL->buf+9,NIL,16); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1534:40: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1534 | elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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:1550:13: note: in expansion of macro ‘LOCAL’ 1550 | char *s = LOCAL->buf; | ^~~~~ mbx.c:1561:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1561 | sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1565:37: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1565 | if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET, | ^ | | | unsigned char * 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:1588:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1588 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1590:19: warning: pointer targets in passing argument 1 of ‘fatal’ differ in signedness [-Wpointer-sign] 1590 | fatal (LOCAL->buf); | ^ | | | unsigned char * ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1597:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1597 | sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1598:19: warning: pointer targets in passing argument 1 of ‘fatal’ differ in signedness [-Wpointer-sign] 1598 | fatal (LOCAL->buf); | ^ | | | unsigned char * ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1603:25: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 1603 | strncpy(tmp, LOCAL->buf, 14); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ mbx.c:1605:26: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1605 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1608:24: warning: pointer targets in passing argument 1 of ‘fatal’ differ in signedness [-Wpointer-sign] 1608 | fatal (LOCAL->buf+50); | ^ | | | unsigned char * ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1613:48: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1613 | fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1611:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1611 | sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned) | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1621:33: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1621 | if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; | ^ | | | unsigned char * 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:1669:23: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1669 | if (hdr) *hdr = LOCAL->buf; | ^ mbx.c:1676:23: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1676 | if (hdr) *hdr = LOCAL->buf; | ^ mbx.c:1686:17: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1686 | if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ | ^ mbx.c: In function ‘mbx_rewrite’: mbx.c:1767:41: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1767 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * 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:9: 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:11: 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:1763:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1763 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1787:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1787 | 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 * 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:1800:34: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1800 | 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:25: 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:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mmdf.c:28: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:930:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 930 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function ‘mmdf_expunge’: mmdf.c:987:52: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 987 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:988:48: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 988 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:1041:31: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 1041 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * 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 * 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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:39: 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:39: 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:30: 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 * 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * 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 * 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 * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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:20: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1636:15: 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:21: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1641 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1658:11: 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:22: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1695:21: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1695 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1712:24: 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:38: 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: /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mmdf.c:1738:27: 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:67: 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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mmdf.c:1744:66: 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 * 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:36: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 1792 | u = strpbrk (s," \n\r"); | ^ | | | unsigned char * /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mmdf.c:1792:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1792 | u = strpbrk (s," \n\r"); | ^ mmdf.c:1799:56: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 1799 | strncpy (stream->user_flags[j],s,k); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ mmdf.c:1827:30: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1832:30: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1852:27: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1852 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1908:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1908 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ | | | char * 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:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1909 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ | | | char * 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:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1910 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ | | | char * 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:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1911 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ | | | char * 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:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1912 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ | | | char * 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:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1913 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ | | | char * 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:22: 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:13: 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:13: 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:35: 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:41: 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:31: 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:53: 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:31: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * 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:25: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:2437:45: 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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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:11: 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:9: 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 * 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 * 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 * 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 * 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 * 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:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | 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 * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:515:24: 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 * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | 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 * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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:42: 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:57: 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 * nl.h:33:42: 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:27: 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 * mail.h:1788:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1788 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ tenex.c:779:46: 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: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ tenex.c:779:31: 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:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from tenex.c:42: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:785:57: 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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ tenex.c:785:38: 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: 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:23: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:802:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 802 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c: In function ‘tenex_expunge’: tenex.c:837:54: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 837 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:838:50: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 838 | mail_sequence (stream,sequence)) : LONGT) && | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:899:41: 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 * 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:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 915 | sprintf (LOCAL->buf, | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:918:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 918 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:922:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 922 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:924:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 924 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:987:31: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 987 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:1013:28: 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 * 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * 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 * 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 * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | 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 * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | 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 * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | 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 * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | 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:53: 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: /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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: 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * 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:27: 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:11: 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:9: 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:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 894 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:921:9: 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:9: 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:9: 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 * 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 * 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 * 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 * 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 * 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:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | 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 * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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:27: 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 * mail.h:1788:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1788 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mtx.c:688:46: 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:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mtx.c:688:31: 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:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mtx.c:37: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:694:57: 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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mtx.c:694:38: 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: 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:23: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:711:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 711 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c: In function ‘mtx_expunge’: mtx.c:746:54: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 746 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:747:50: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 747 | mail_sequence (stream,sequence)) : LONGT) && | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:808:41: 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 * 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:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 823 | sprintf (LOCAL->buf, | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:826:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 826 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:830:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 830 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:832:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 832 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:895:31: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 895 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:921:28: 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 * 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * 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 * 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 * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | 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 * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | 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 * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | 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 * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | 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:38: 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: /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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: 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 * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * 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:9: 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:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 803 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:829:9: 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:9: 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 * 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:26: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 241 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * 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:31: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 241 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * 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_fast’: news.c:457:53: 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:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c:458:49: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 458 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | 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 * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from news.c:30: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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:342, from osdep.h:49: /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:42: 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 * 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 * 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) || | ^~~~~~~ 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 * 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 * 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:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 257 | if (!compare_cstring (s,"Path:")) { | ^ | | | char * 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:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 257 | if (!compare_cstring (s,"Path:")) { | ^~~~~~~ | | | char * 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 * 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)) | ^~~~~~~ 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 * 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:28: 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 * 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:33: 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 * 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:23: warning: pointer targets in passing argument 1 of ‘dmatch’ differ in signedness [-Wpointer-sign] 438 | if (dmatch (name,pat,'/') && | ^~~~ | | | char * 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:28: warning: pointer targets in passing argument 2 of ‘dmatch’ differ in signedness [-Wpointer-sign] 438 | if (dmatch (name,pat,'/') && | ^~~ | | | char * 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 * 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) || | ^~~~~~~ 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 * 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 * 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:53: 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:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:640:49: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 640 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mh.c:27: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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:342, from osdep.h:49: /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:900:23: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:903:31: 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 * /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:28: 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:26: 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: /usr/include/unistd.h:858:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mh.c: In function ‘mh_expunge’: mh.c:982:51: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 982 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:983:47: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 983 | mail_sequence (stream,sequence)) : LONGT) != 0L) { | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:988:23: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:989:26: 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 * /usr/include/unistd.h:858:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mh.c:990:25: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:992:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 992 | mm_log (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | 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 * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:1046:23: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:1047:30: 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 * /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:17: 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 * 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) || | ^~~~~~~ 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:30: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1108 | !compare_cstring (mailbox,"INBOX")) && | ^~~~~~~ | | | char * 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:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1108 | !compare_cstring (mailbox,"INBOX")) && | ^~~~~~~ | | | char * 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: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 * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | 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 * 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")) | ^~~~~~~ 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 * 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 * 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mx.c 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 * 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_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 * 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 * 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_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 * 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 * 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:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | 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 * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mx.c:30: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 mx.c:37: /usr/include/sys/stat.h:205:41: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 205 | extern int stat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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 * 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 * 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:768:23: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:771:31: 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:342, 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:28: 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:26: 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: /usr/include/unistd.h:858:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mx.c: In function ‘mx_expunge’: mx.c:849:52: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 849 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:850:48: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 850 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:856:23: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:857:26: 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 * /usr/include/unistd.h:858:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mx.c:858:25: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:860:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 860 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:923:38: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 923 | mail_sequence (stream,sequence)))); | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:945:19: 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 * 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 * 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 * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mix.c 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 * 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: 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 * 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 * 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 * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ mix.c:617:47: 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:47: 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:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | 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 * /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | 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:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | 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 * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c: In function ‘mix_ping’: mix.c:974:23: 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:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mix.c:26: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:975:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 975 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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:36: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 1034 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1035:32: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 1035 | mail_sequence (stream,sequence))) || stream->rdonly); | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1086:27: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1088:26: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1088 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1097:42: 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:38: 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: /usr/include/unistd.h:1026:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1026 | extern int truncate (const char *__file, __off_t __length) | ~~~~~~~~~~~~^~~~~~ mix.c:1099:62: warning: pointer targets in passing argument 1 of ‘unlink’ differ in signedness [-Wpointer-sign] 1099 | truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { | ^ | | | unsigned char * /usr/include/unistd.h:858:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mix.c:1100:29: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1100 | sprintf (LOCAL->buf, | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1103:28: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1103 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 mix.c:33: /usr/include/sys/stat.h:205:41: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 205 | extern int stat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/unistd.h:1026:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1026 | extern int truncate (const char *__file, __off_t __length) | ~~~~~~~~~~~~^~~~~~ mix.c:1244:23: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1245:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1245 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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:342, from osdep.h:49: /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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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:25: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 1269 | strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { | ^ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mix.c:1270:23: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1272:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1272 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | 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 * mail.h:1857:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1857 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1381:43: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 1381 | mail_sequence (stream,sequence)))); | ^~~~~~~~ | | | char * mail.h:1856:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1856 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | 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:59: 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:21: 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 * 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 * 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | 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:58: 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 * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mix.c:1577:37: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1577 | mail_parse_date (&elt,tmp); | ^~~ | | | char * mail.h:1790:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1790 | 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:57: 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:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 2056 | sprintf (LOCAL->buf, | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:2059:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2059 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1694:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1694 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:2069:55: 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | 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 * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __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 * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mix.c:2209:33: 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: 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:33: 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:42: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2599 | LOCAL->buf = (char *) | ^ mix.c:2611:36: 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:47: 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:9: 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:11: 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:11: 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:11: 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` sha.c sha.c: In function ‘hash_from_sizedtext’: sha.c:49:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 49 | if(!compare_cstring(hashes[hashno].name, hash)) | ~~~~~~~~~~~~~~^~~~~ | | | char * In file included from c-client.h:49, from sha.c:13: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ sha.c:49:47: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 49 | if(!compare_cstring(hashes[hashno].name, hash)) | ^~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ sh -c 'rm -rf c-client.a || true' ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o http.o json.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o sha.o;ranlib c-client.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap/c-client' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/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.26/imap' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' /usr/bin/make all-recursive make[1]: Entering directory '/builddir/build/BUILD/alpine-2.26' Making all in m4 make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/m4' Making all in po make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/po' Making all in pith make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help_h_gen.o help_h_gen.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o help_h_gen help_h_gen.o libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o help_h_gen help_h_gen.o -L/usr/lib ./help_h_gen < pine.hlp > helptext.h gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help_c_gen.o help_c_gen.c help_c_gen.c: In function ‘append_to_help_list’: help_c_gen.c:261:5: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 261 | strncpy(new->name, name, len); | ^ help_c_gen.c:259:11: note: length computed here 259 | len = strlen(name); | ^~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o help_c_gen help_c_gen.o libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o help_c_gen help_c_gen.o -L/usr/lib ./help_c_gen < pine.hlp > helptext.c /usr/bin/make all-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' Making all in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o bldpath.o bldpath.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o canaccess.o canaccess.c canaccess.c: In function ‘can_access_in_path.part.0’: canaccess.c:148:47: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 148 | snprintf(tmp, sizeof(tmp), "%s%c%s", p, FILE_SEP, file); | ^~ In file included from /usr/include/stdio.h:980, from ../../include/system.h:31, from canaccess.c:15: In function ‘*__snprintfieee128’, inlined from ‘can_access_in_path.part.0’ at canaccess.c:148:3: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output 2 or more bytes (assuming 4098) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ canaccess.c: In function ‘can_access_in_path.part.0’: canaccess.c:148:47: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 148 | snprintf(tmp, sizeof(tmp), "%s%c%s", p, FILE_SEP, file); | ^~ In function ‘*__snprintfieee128’, inlined from ‘can_access_in_path.part.0’ at canaccess.c:148:3: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output 2 or more bytes (assuming 4098) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o canonicl.o canonicl.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o collate.o collate.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o color.o color.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o coredump.o coredump.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o creatdir.o creatdir.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o debugtime.o debugtime.c debugtime.c: In function ‘debug_time’: debugtime.c:53:50: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] 53 | snprintf(datestr, sizeof(datestr), " %d/%d", tm_now->tm_mon+1, tm_now->tm_mday); | ^~ In function ‘debug_time’, inlined from ‘debug_time’ at debugtime.c:29:1: debugtime.c:53:48: note: directive argument in the range [-2147483647, 2147483647] 53 | snprintf(datestr, sizeof(datestr), " %d/%d", tm_now->tm_mon+1, tm_now->tm_mday); | ^~~~~~~~ In file included from /usr/include/stdio.h:980, from debugtime.c:15: In function ‘*__snprintfieee128’, inlined from ‘debug_time’ at debugtime.c:53:7, inlined from ‘debug_time’ at debugtime.c:29:1: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 5 and 25 bytes into a destination of size 7 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o domnames.o domnames.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o err_desc.o err_desc.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fgetpos.o fgetpos.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filesize.o filesize.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fnexpand.o fnexpand.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o hostname.o hostname.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o lstcmpnt.o lstcmpnt.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mimedisp.o mimedisp.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pipe.o pipe.c pipe.c: In function ‘open_system_pipe’: pipe.c:319:13: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 319 | pipe(p); /* alloc pipe to write child */ | ^~~~~~~ pipe.c:325:13: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 325 | pipe(p); /* alloc pipe to read child */ | ^~~~~~~ pipe.c:256:17: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 256 | strncpy(syspipe->args, p, l); | ^ pipe.c:253:21: note: length computed here 253 | int l = strlen(p); | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pw_stuff.o pw_stuff.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rename.o rename.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o tempfile.o tempfile.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o temp_nam.o temp_nam.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o writ_dir.o writ_dir.c 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.26/pith/osdep' Making all in charconv make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith/charconv' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filesys.o filesys.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o utf8.o utf8.c utf8.c: In function ‘utf8_snprintf’: utf8.c:1283:47: warning: variable ‘modifier’ set but not used [-Wunused-but-set-variable] 1283 | int min_field_width, field_precision, modifier; | ^~~~~~~~ utf8.c:1276:13: warning: variable ‘start_of_specifier’ set but not used [-Wunused-but-set-variable] 1276 | char *start_of_specifier; | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from ../../include/system.h:45, from utf8.c:27: In function ‘strncpy’, inlined from ‘utf8_snprintf’ at utf8.c:1389:7: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ destination unchanged after copying no bytes [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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.26/pith/charconv' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ablookup.o ablookup.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o abdlc.o abdlc.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o addrbook.o addrbook.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o addrstring.o addrstring.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o adrbklib.o adrbklib.c adrbklib.c: In function ‘copy_abook_to_tempfile’: adrbklib.c:458:12: warning: variable ‘mtime’ set but not used [-Wunused-but-set-variable] 458 | time_t mtime; | ^~~~~ adrbklib.c:452:12: warning: variable ‘got_it’ set but not used [-Wunused-but-set-variable] 452 | int got_it, fd, c, | ^~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o bldaddr.o bldaddr.c bldaddr.c: In function ‘get_fcc’: bldaddr.c:1162:17: warning: the comparison will always evaluate as ‘true’ for the address of ‘cur_folder’ will never be NULL [-Waddress] 1162 | && ps_global->cur_folder | ^~ In file included from ../pith/bldaddr.h:22, from bldaddr.c:22: ../pith/../pith/state.h:117:18: note: ‘cur_folder’ declared here 117 | char cur_folder[MAXPATH+1]; | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o body.o body.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o charset.o charset.c charset.c: In function ‘rfc1522_valid’: charset.c:384:12: warning: ‘e’ may be used uninitialized [-Wmaybe-uninitialized] 384 | *enc = e; | ~~~~~^~~ charset.c:373:15: note: ‘e’ was declared here 373 | char *c, *e, *t, *p; | ^ charset.c:387:12: warning: ‘t’ may be used uninitialized [-Wmaybe-uninitialized] 387 | *txt = t; | ~~~~~^~~ charset.c:373:19: note: ‘t’ was declared here 373 | char *c, *e, *t, *p; | ^ charset.c:390:13: warning: ‘p’ may be used uninitialized [-Wmaybe-uninitialized] 390 | *endp = p; | ~~~~~~^~~ charset.c:373:23: note: ‘p’ was declared here 373 | char *c, *e, *t, *p; | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o color.o color.c color.c: In function ‘color_a_quote’: color.c:153:9: warning: ‘strncpy’ specified bound 12 equals destination size [-Wstringop-truncation] 153 | strncpy(fg, color_to_asciirgb(VAR_NORM_FORE_COLOR), sizeof(fg)); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o conf.o conf.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o context.o context.c context.c: In function ‘context_allowed’: context.c:318:13: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 318 | strncpy(free_this, p, strlen(p)+200); | ^ context.c:318:35: note: length computed here 318 | strncpy(free_this, p, strlen(p)+200); | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o copyaddr.o copyaddr.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o detoken.o detoken.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o detach.o detach.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o editorial.o editorial.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o escapes.o escapes.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filter.o filter.c filter.c: In function ‘gf_terminal’: filter.c:163:25: warning: unused variable ‘eib’ [-Wunused-variable] 163 | #define GF_EIB_INIT(F) eib = (F) ? GF_QUE_END(F) : NULL | ^~~ filter.c:175:40: note: in expansion of macro ‘GF_EIB_INIT’ 175 | unsigned char *GF_EIB_INIT(FO); | ^~~~~~~~~~~ filter.c:890:9: note: in expansion of macro ‘GF_INIT’ 890 | GF_INIT(f, f); | ^~~~~~~ filter.c:161:25: warning: unused variable ‘ip’ [-Wunused-variable] 161 | #define GF_IP_INIT(F) ip = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~ filter.c:174:40: note: in expansion of macro ‘GF_IP_INIT’ 174 | unsigned char *GF_IP_INIT(FO); \ | ^~~~~~~~~~ filter.c:890:9: note: in expansion of macro ‘GF_INIT’ 890 | GF_INIT(f, f); | ^~~~~~~ filter.c: In function ‘gf_pipe’: filter.c:166:25: warning: unused variable ‘eob’ [-Wunused-variable] 166 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:173:40: note: in expansion of macro ‘GF_EOB_INIT’ 173 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:967:9: note: in expansion of macro ‘GF_INIT’ 967 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c:165:25: warning: unused variable ‘op’ [-Wunused-variable] 165 | #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL | ^~ filter.c:172:40: note: in expansion of macro ‘GF_OP_INIT’ 172 | #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ | ^~~~~~~~~~ filter.c:967:9: note: in expansion of macro ‘GF_INIT’ 967 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c: In function ‘gf_filter_puts’: filter.c:166:25: warning: unused variable ‘eob’ [-Wunused-variable] 166 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:173:40: note: in expansion of macro ‘GF_EOB_INIT’ 173 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:1157:5: note: in expansion of macro ‘GF_INIT’ 1157 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c: In function ‘gf_filter_eod’: filter.c:166:25: warning: unused variable ‘eob’ [-Wunused-variable] 166 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:173:40: note: in expansion of macro ‘GF_EOB_INIT’ 173 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:1183:5: note: in expansion of macro ‘GF_INIT’ 1183 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c:165:25: warning: unused variable ‘op’ [-Wunused-variable] 165 | #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL | ^~ filter.c:172:40: note: in expansion of macro ‘GF_OP_INIT’ 172 | #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ | ^~~~~~~~~~ filter.c:1183:5: note: in expansion of macro ‘GF_INIT’ 1183 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c: In function ‘html_element_collector’: filter.c:7498:26: warning: unused variable ‘i’ [-Wunused-variable] 7498 | unsigned long i, bufsize = ED(fd)->bufsize; | ^ filter.c: In function ‘gf_html2plain’: filter.c:163:25: warning: unused variable ‘eib’ [-Wunused-variable] 163 | #define GF_EIB_INIT(F) eib = (F) ? GF_QUE_END(F) : NULL | ^~~ filter.c:175:40: note: in expansion of macro ‘GF_EIB_INIT’ 175 | unsigned char *GF_EIB_INIT(FO); | ^~~~~~~~~~~ filter.c:7940:9: note: in expansion of macro ‘GF_INIT’ 7940 | GF_INIT(f, f->next); | ^~~~~~~ filter.c:161:25: warning: unused variable ‘ip’ [-Wunused-variable] 161 | #define GF_IP_INIT(F) ip = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~ filter.c:174:40: note: in expansion of macro ‘GF_IP_INIT’ 174 | unsigned char *GF_IP_INIT(FO); \ | ^~~~~~~~~~ filter.c:7940:9: note: in expansion of macro ‘GF_INIT’ 7940 | GF_INIT(f, f->next); | ^~~~~~~ filter.c: In function ‘html_write’: filter.c:166:25: warning: unused variable ‘eob’ [-Wunused-variable] 166 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:173:40: note: in expansion of macro ‘GF_EOB_INIT’ 173 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:8927:5: note: in expansion of macro ‘GF_INIT’ 8927 | GF_INIT(f, f->next); | ^~~~~~~ filter.c:165:25: warning: unused variable ‘op’ [-Wunused-variable] 165 | #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL | ^~ filter.c:172:40: note: in expansion of macro ‘GF_OP_INIT’ 172 | #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ | ^~~~~~~~~~ filter.c:8927:5: note: in expansion of macro ‘GF_INIT’ 8927 | GF_INIT(f, f->next); | ^~~~~~~ filter.c: In function ‘html_putc’: filter.c:166:25: warning: unused variable ‘eob’ [-Wunused-variable] 166 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:173:40: note: in expansion of macro ‘GF_EOB_INIT’ 173 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:8999:5: note: in expansion of macro ‘GF_INIT’ 8999 | GF_INIT(f, f->next); | ^~~~~~~ filter.c:165:25: warning: unused variable ‘op’ [-Wunused-variable] 165 | #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL | ^~ filter.c:172:40: note: in expansion of macro ‘GF_OP_INIT’ 172 | #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ | ^~~~~~~~~~ filter.c:8999:5: note: in expansion of macro ‘GF_INIT’ 8999 | GF_INIT(f, f->next); | ^~~~~~~ filter.c: In function ‘html_element_comment’: filter.c:7767:21: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7767 | getcwd(p = buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter.c: In function ‘gf_html_cid2file’: filter.c:9235:30: warning: ‘flag’ may be used uninitialized [-Wmaybe-uninitialized] 9235 | if((flag & (CID_DATA | IMG_DATA)) || f->t){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ filter.c:9224:24: note: ‘flag’ declared here 9224 | int flag; | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o flag.o flag.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o folder.o folder.c folder.c: In function ‘init_incoming_unseen_data’: folder.c:702:24: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 702 | || (f->name && !strucmp(ps->VAR_INCCHECKLIST[j],f->name))) | ^ In file included from ../pith/folder.h:21, from folder.c:17: ../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘init_inbox_mapping’: folder.c:759:24: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 759 | || (f->name && !strucmp(ps_global->VAR_INCCHECKLIST[j],f->name))) | ^ ../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘mail_list_filter’: folder.c:1182:22: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 1182 | if(f && f->name){ | ^~ ../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c:1268:34: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 1268 | if(found_it && f && f->name){ | ^~ ../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘folder_is_target_of_nick’: folder.c:1839:24: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 1839 | if(f->nickname && f->name && !strcmp(longname, f->name)) | ^~ ../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘new_folder’: folder.c:1679:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1679 | strncpy(tmp->name, name, l); | ^ folder.c:1675:19: note: length computed here 1675 | size_t l = strlen(name); | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o handle.o handle.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help.o help.c help.c: In function ‘get_alpine_revision_string’: help.c:61:8: warning: the address of ‘h_revision’ will always evaluate as ‘true’ [-Waddress] 61 | if(h_revision && h_revision[0] && h_revision[0][0]){ | ^~~~~~~~~~ help.c: In function ‘get_alpine_revision_number’: help.c:106:8: warning: the comparison will always evaluate as ‘true’ for the address of ‘h_revision’ will never be NULL [-Waddress] 106 | if(h_revision && h_revision[0] && h_revision[0][0]){ | ^~~~~~~~~~ In file included from ../pith/../pith/../pith/conftype.h:21, from ../pith/../pith/state.h:21, from ../pith/help.h:21, from help.c:16: ../pith/../pith/../pith/../pith/helptext.h:21:14: note: ‘h_revision’ declared here 21 | extern char *h_revision[]; | ^~~~~~~~~~ help.c: In function ‘debugjournal_to_file’: help.c:216:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘timestamp’ will never be NULL [-Waddress] 216 | if(p->timestamp && p->timestamp[0] | ^ ../pith/help.h:37:22: note: ‘timestamp’ declared here 37 | char timestamp[RMTIMLEN+1]; | ^~~~~~~~~ help.c:221:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘message’ will never be NULL [-Waddress] 221 | if(p->message && p->message[0] | ^ ../pith/help.h:36:22: note: ‘message’ declared here 36 | char message[RMMSGLEN+1]; | ^~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o helpindx.o helpindx.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o hist.o hist.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o icache.o icache.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ical.o ical.c ical.c: In function ‘ical_std_or_daylight’: ical.c:1909:13: warning: unused variable ‘tzid’ [-Wunused-variable] 1909 | ICLINE_S *tzid = (ICLINE_S *) vtz->prop[TZCid]; | ^~~~ ical.c:1908:23: warning: unused variable ‘daylight’ [-Wunused-variable] 1908 | struct tm standard, daylight; | ^~~~~~~~ ical.c:1908:13: warning: unused variable ‘standard’ [-Wunused-variable] 1908 | struct tm standard, daylight; | ^~~~~~~~ ical.c: In function ‘ical_adjust_date’: ical.c:1924:18: warning: variable ‘cur_std_day’ set but not used [-Wunused-but-set-variable] 1924 | ICAL_TZPROP_S *cur_std_day; | ^~~~~~~~~~~ ical.c:1922:9: warning: variable ‘tzname’ set but not used [-Wunused-but-set-variable] 1922 | char *tzname = NULL; | ^~~~~~ ical.c: In function ‘ical_parse_duration’: ical.c:1814:17: warning: storing the address of local variable ‘next’ in ‘ic_d_46(D)->next’ [-Wdangling-pointer=] 1814 | ic_d->next = &next; | ~~~~~~~~~~~^~~~~~~ ical.c:1812:22: note: ‘next’ declared here 1812 | ICAL_DURATION_S next; | ^~~~ ical.c:1768:51: note: ‘ic_d’ declared here 1768 | ical_parse_duration(char *value, ICAL_DURATION_S *ic_d) | ~~~~~~~~~~~~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o imap.o imap.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o init.o init.c In file included from ../pith/headers.h:63, from init.c:21: init.c: In function ‘prune_move_folder’: init.c:520:18: warning: the address of ‘spath’ will always evaluate as ‘true’ [-Waddress] 520 | spath ? spath : "?", newpath ? newpath : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ init.c:524:39: warning: the comparison will always evaluate as ‘true’ for the address of ‘spath’ will never be NULL [-Waddress] 524 | pretty_fn(spath ? spath : "?")); | ^ init.c:513:10: note: ‘spath’ declared here 513 | char spath[MAXPATH+1]; | ^~~~~ init.c:530:43: warning: the comparison will always evaluate as ‘true’ for the address of ‘spath’ will never be NULL [-Waddress] 530 | pretty_fn(spath ? spath : "?"), | ^ init.c:513:10: note: ‘spath’ declared here 513 | char spath[MAXPATH+1]; | ^~~~~ init.c: In function ‘html_dir_clean’: init.c:660:65: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 2 and 4094 [-Wformat-truncation=] 660 | snprintf(fpath, sizeof(fpath) - 1, "%s%s%s", h->dir, S_FILESEP, fname); | ^~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25: In function ‘*__snprintfieee128’, inlined from ‘html_dir_clean’ at init.c:660:4: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 2 and 4349 bytes into a destination of size 4095 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o keyword.o keyword.c keyword.c: In function ‘stream_to_user_flag_name’: keyword.c:222:15: warning: the comparison will always evaluate as ‘true’ for the address of ‘user_flags’ will never be NULL [-Waddress] 222 | if(stream && stream->user_flags && k >= 0 && k < NUSERFLAGS) | ^~ In file included from ../pith/headers.h:28, from keyword.c:15: ../pith/../c-client/mail.h:1197:9: note: ‘user_flags’ declared here 1197 | char *user_flags[NUSERFLAGS]; /* pointers to user flags in bit order */ | ^~~~~~~~~~ keyword.c: In function ‘flag_string’: keyword.c:278:28: warning: the comparison will always evaluate as ‘true’ for the address of ‘user_flags’ will never be NULL [-Waddress] 278 | if((flags & F_KEYWORD) && stream->user_flags){ | ^~ ../pith/../c-client/mail.h:1197:9: note: ‘user_flags’ declared here 1197 | char *user_flags[NUSERFLAGS]; /* pointers to user flags in bit order */ | ^~~~~~~~~~ keyword.c:308:28: warning: the comparison will always evaluate as ‘true’ for the address of ‘user_flags’ will never be NULL [-Waddress] 308 | if((flags & F_KEYWORD) && stream->user_flags){ | ^~ ../pith/../c-client/mail.h:1197:9: note: ‘user_flags’ declared here 1197 | char *user_flags[NUSERFLAGS]; /* pointers to user flags in bit order */ | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ldap.o ldap.c In file included from ../pith/headers.h:63, from ldap.c:15: ldap.c: In function ‘ldap_lookup’: ldap.c:920:42: warning: the address of ‘filter’ will always evaluate as ‘true’ [-Waddress] 920 | base ? base : "?", filter ? filter : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o list.o list.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailcap.o mailcap.c mailcap.c: In function ‘mc_get_command’: mailcap.c:627:62: warning: ‘*__snprintf_chkieee128’ output may be truncated before the last format character [-Wformat-truncation=] 627 | snprintf(tmp_mime_type, sizeof(tmp_mime_type), "%s/%s", body_types[type], subtype); | ^ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25, from mailcap.c:15: In function ‘*__snprintfieee128’, inlined from ‘mc_get_command’ at mailcap.c:627:2: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output 2 or more bytes (assuming 257) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailcmd.o mailcmd.c mailcmd.c: In function ‘broach_get_folder’: mailcmd.c:342:19: warning: the comparison will always evaluate as ‘true’ for the address of ‘cur_folder’ will never be NULL [-Waddress] 342 | *inbox = (ps_global->cur_folder | ^~~~~~~~~ In file included from ../pith/mailcmd.h:21, from mailcmd.c:16: ../pith/../pith/state.h:117:18: note: ‘cur_folder’ declared here 117 | char cur_folder[MAXPATH+1]; | ^~~~~~~~~~ mailcmd.c:343:19: warning: the comparison will always evaluate as ‘true’ for the address of ‘inbox_name’ will never be NULL [-Waddress] 343 | && ps_global->inbox_name | ^~ ../pith/../pith/state.h:108:18: note: ‘inbox_name’ declared here 108 | char inbox_name[MAXFOLDER+1]; | ^~~~~~~~~~ In file included from ../pith/headers.h:63, from mailcmd.c:15: mailcmd.c: In function ‘do_broach_folder’: mailcmd.c:557:38: warning: the address of ‘expanded_file’ will always evaluate as ‘true’ [-Waddress] 557 | expanded_file ? expanded_file : "?", | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c: In function ‘move_read_msgs’: mailcmd.c:1770:11: warning: ‘strncpy’ output truncated copying between 0 and 5 bytes from a string of length 5 [-Wstringop-truncation] 1770 | strncpy(bufp = buf + 1, "Moved", MIN(5,buflen)); /* change Moving to Moved */ | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailindx.o mailindx.c mailindx.c: In function ‘date_str’: mailindx.c:4951:39: warning: variable ‘ampm’ set but not used [-Wunused-but-set-variable] 4951 | char dbuf[200], *Ddd, *ampm; | ^~~~ mailindx.c:4494:11: warning: ‘strncpy’ specified bound 5 equals destination size [-Wstringop-truncation] 4494 | strncpy(timezone+1, int2string(d.hours_off_gmt), sizeof(timezone)-1); | ^ mailindx.c:4491:13: warning: ‘strncpy’ specified bound 4 equals destination size [-Wstringop-truncation] 4491 | strncpy(timezone+2, int2string(d.hours_off_gmt), sizeof(timezone)-2); | ^ mailindx.c: In function ‘subj_str’: mailindx.c:5884:13: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 5884 | strncpy(ftielem->data, sep, seplen); | ^ mailindx.c:5876:22: note: length computed here 5876 | seplen = strlen(sep); | ^~~~~~~~~~~ mailindx.c: In function ‘format_index_index_line’: mailindx.c:2838:19: warning: ‘strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 2838 | strncpy(str, newsgroups, sizeof(str)); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o maillist.o maillist.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailview.o mailview.c mailview.c: In function ‘format_calendar’: mailview.c:531:25: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 531 | caltext = rfc822_qprint ((unsigned char *) rawtext,strlen(rawtext),&callen); | ^ mailview.c: In function ‘format_attachment_list’: mailview.c:1053:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘size’ will never be NULL [-Waddress] 1053 | a->size ? a->size : "", | ^ In file included from ../pith/mailpart.h:21, from mailview.c:26: ../pith/../pith/atttype.h:31:17: note: ‘size’ declared here 31 | char size[25]; | ^~~~ mailview.c: In function ‘display_parameters’: mailview.c:3317:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘attrib’ will never be NULL [-Waddress] 3317 | if(parmlist->attrib && strucmp(parmlist->attrib, "url") == 0){ | ^~~~~~~~ ../pith/../pith/atttype.h:41:16: note: ‘attrib’ declared here 41 | char attrib[32], | ^~~~~~ mailview.c:3328:39: warning: the comparison will always evaluate as ‘true’ for the address of ‘attrib’ will never be NULL [-Waddress] 3328 | parmlist->attrib ? parmlist->attrib : "", printme); | ^ ../pith/../pith/atttype.h:41:16: note: ‘attrib’ declared here 41 | char attrib[32], | ^~~~~~ mailview.c: In function ‘embed_color’: mailview.c:3459:11: warning: the comparison will always evaluate as ‘true’ for the address of ‘fg’ will never be NULL [-Waddress] 3459 | if(cp && cp->fg){ | ^~ In file included from headers.h:41, from mailview.c:23: osdep/color.h:25:14: note: ‘fg’ declared here 25 | char fg[MAXCOLORLEN+1]; | ^~ mailview.c:3470:11: warning: the comparison will always evaluate as ‘true’ for the address of ‘bg’ will never be NULL [-Waddress] 3470 | if(cp && cp->bg){ | ^~ osdep/color.h:26:14: note: ‘bg’ declared here 26 | char bg[MAXCOLORLEN+1]; | ^~ In file included from /usr/include/string.h:548, from ../include/system.h:45, from headers.h:25: In function ‘strncpy’, inlined from ‘format_newsgroup_string.part.0’ at mailview.c:3145:9: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ destination unchanged after copying no bytes [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o margin.o margin.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mimedesc.o mimedesc.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mimetype.o mimetype.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o msgno.o msgno.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newmail.o newmail.c newmail.c: In function ‘new_mail’: newmail.c:76:19: warning: variable ‘last_check_point_call’ set but not used [-Wunused-but-set-variable] 76 | static time_t last_check_point_call = 0; | ^~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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:210:11: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 210 | if(no_servers == 0) | ^~ news.c:218:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 218 | for(server = ps_global->VAR_NNTP_SERVER; | ^~~ news.c:323:30: warning: ‘ep’ may be used uninitialized [-Wmaybe-uninitialized] 323 | while(*p2 && (ep - ng_error < sizeof(ng_error)-1)) | ~~~^~~~~~~~~~ news.c:113:56: note: ‘ep’ was declared here 113 | char ng_error[90], *p1, *p2, *name, *end, *ep, **server, | ^~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pattern.o pattern.c pattern.c: In function ‘parse_pat_file’: pattern.c:996:31: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 996 | (void)fgets(buf, BUF_SIZE, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pipe.o pipe.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o readfile.o readfile.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o remote.o remote.c In file included from ../pith/headers.h:63, from remote.c:21: remote.c: In function ‘rd_update_remote’: remote.c:2272:21: warning: the address of ‘date’ will always evaluate as ‘true’ [-Waddress] 2272 | date ? date : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ remote.c: In function ‘rd_upgrade_cookies’: remote.c:1834:53: warning: ‘%ld’ directive output may be truncated writing between 1 and 20 bytes into a region of size 18 [-Wformat-truncation=] 1834 | snprintf(sequence, sizeof(sequence), "1:%ld", nmsgs); | ^~~ remote.c:1834:50: note: directive argument in the range [-9223372036854775808, 9223372036854775805] 1834 | snprintf(sequence, sizeof(sequence), "1:%ld", nmsgs); | ^~~~~~~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25: In function ‘*__snprintfieee128’, inlined from ‘rd_upgrade_cookies’ at remote.c:1834:6: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 4 and 23 bytes into a destination of size 20 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ remote.c: In function ‘rd_update_remote’: remote.c:2279:11: warning: ‘strncpy’ output may be truncated copying 100 bytes from a string of length 199 [-Wstringop-truncation] 2279 | strncpy(returndate, date, 100); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o reply.o reply.c reply.c: In function ‘reply_signature’: reply.c:1459:9: warning: ‘strncat’ output may be truncated copying between 0 and 2 bytes from a string of length 1 [-Wstringop-truncation] 1459 | strncat(sig, NEWLINE, l+1-1-strlen(sig)); | ^ reply.c: In function ‘get_signature_lit’: reply.c:3511:24: warning: ‘save’ may be used uninitialized [-Wmaybe-uninitialized] 3511 | *d++ = save; | ~~~~~^~~~~~ reply.c:3464:43: note: ‘save’ was declared here 3464 | char *tmplit = NULL, *p, *q, *d, save; | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rfc2231.o rfc2231.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o save.o save.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o search.o search.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o sequence.o sequence.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o send.o send.c send.c: In function ‘pine_new_env’: send.c:1185:18: warning: the address of ‘pf_template’ will always evaluate as ‘true’ [-Waddress] 1185 | for(cnt = 0; pf_template && pf_template[cnt].name; cnt++) | ^~~~~~~~~~~ send.c: In function ‘pine_free_env’: send.c:1450:22: warning: the comparison will always evaluate as ‘true’ for the address of ‘pf_template’ will never be NULL [-Waddress] 1450 | for(cnt = 0; pf_template && pf_template[cnt].name; cnt++) | ^~~~~~~~~~~ send.c:50:11: note: ‘pf_template’ declared here 50 | PINEFIELD pf_template[] = { | ^~~~~~~~~~~ send.c: In function ‘post_handoff’: send.c:5612:31: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 5612 | if((s = strstr(header->env->date," (")) != NULL) /* fix the date format for news */ | ~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from send.c:15: /usr/include/string.h:350:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o sort.o sort.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o state.o state.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o status.o status.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o store.o store.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o stream.o stream.c stream.c: In function ‘same_stream’: stream.c:3119:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3119 | && ((mb_n.user && *mb_n.user && | ^~~~ In file included from ../pith/headers.h:28, from stream.c:22: ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3119:37: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3119 | && ((mb_n.user && *mb_n.user && | ^~ ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3122:14: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3122 | ((!mb_n.user || !*mb_n.user) | ^ ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3123:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3123 | && mb_s.user | ^~ ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3131:16: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3131 | (!((mb_n.user && *mb_n.user) || (mb_s.user && *mb_s.user)) | ^~~~ ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3131:45: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3131 | (!((mb_n.user && *mb_n.user) || (mb_s.user && *mb_s.user)) | ^~~~ ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c: In function ‘same_stream_and_mailbox’: stream.c:3163:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘mailbox’ will never be NULL [-Waddress] 3163 | && (mb_n.mailbox && mb_s.mailbox | ^~~~ ../pith/../c-client/mail.h:712:8: note: ‘mailbox’ declared here 712 | char mailbox[NETMAXMBX]; /* mailbox name */ | ^~~~~~~ stream.c:3163:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘mailbox’ will never be NULL [-Waddress] 3163 | && (mb_n.mailbox && mb_s.mailbox | ^~ ../pith/../c-client/mail.h:712:8: note: ‘mailbox’ declared here 712 | char mailbox[NETMAXMBX]; /* mailbox name */ | ^~~~~~~ stream.c: In function ‘same_remote_mailboxes’: stream.c:3212:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘mailbox’ will never be NULL [-Waddress] 3212 | && mb1.mailbox && mb2.mailbox | ^~ ../pith/../c-client/mail.h:712:8: note: ‘mailbox’ declared here 712 | char mailbox[NETMAXMBX]; /* mailbox name */ | ^~~~~~~ stream.c:3212:27: warning: the comparison will always evaluate as ‘true’ for the address of ‘mailbox’ will never be NULL [-Waddress] 3212 | && mb1.mailbox && mb2.mailbox | ^~ ../pith/../c-client/mail.h:712:8: note: ‘mailbox’ declared here 712 | char mailbox[NETMAXMBX]; /* mailbox name */ | ^~~~~~~ stream.c:3216:17: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3216 | && ((mb1.user && *mb1.user && mb2.user && *mb2.user | ^~~ ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3216:39: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3216 | && ((mb1.user && *mb1.user && mb2.user && *mb2.user | ^~ ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3219:19: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3219 | (!(mb1.user && *mb1.user) && !(mb2.user && *mb2.user)) | ^~~ ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3219:47: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3219 | (!(mb1.user && *mb1.user) && !(mb2.user && *mb2.user)) | ^~~ ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3221:19: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3221 | (!(mb1.user && *mb1.user) | ^~~ ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3229:19: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3229 | (!(mb2.user && *mb2.user) | ^~~ ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c: In function ‘pine_mail_append_full’: stream.c:956:13: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 956 | strncpy(mailbox_nodelim, mailbox, MIN(len-1,sizeof(mailbox_nodelim)-1)); | ^ stream.c:954:15: note: length computed here 954 | len = strlen(mailbox); | ^~~~~~~~~~~~~~~ stream.c: In function ‘pine_mail_copy_full’: stream.c:1116:13: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 1116 | strncpy(mailbox_nodelim, mailbox, MIN(len-1,sizeof(mailbox_nodelim)-1)); | ^ stream.c:1114:15: note: length computed here 1114 | len = strlen(mailbox); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o string.o string.c string.c: In function ‘repeat_char’: string.c:1413:11: warning: variable ‘b’ set but not used [-Wunused-but-set-variable] 1413 | char *b; | ^ string.c: In function ‘convert_date_to_local’: string.c:1332:68: warning: ‘%02d’ directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 17 [-Wformat-truncation=] 1332 | snprintf(datebuf, sizeof(datebuf), "%.3s, %d %.3s %d %02d:%02d:%02d", | ^~~~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25, from string.c:54: In function ‘*__snprintfieee128’, inlined from ‘convert_date_to_local’ at string.c:1332:5: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 16 and 69 bytes into a destination of size 30 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ string.c: In function ‘enth_string’: string.c:1500:43: warning: ‘nd’ directive output may be truncated writing 2 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 1500 | snprintf(enth, sizeof(enth), "%dnd",i); | ^~ In function ‘*__snprintfieee128’, inlined from ‘enth_string’ at string.c:1500:11: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 4 and 13 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ string.c: In function ‘enth_string’: string.c:1507:43: warning: ‘rd’ directive output may be truncated writing 2 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 1507 | snprintf(enth, sizeof(enth), "%drd",i); | ^~ In function ‘*__snprintfieee128’, inlined from ‘enth_string’ at string.c:1507:11: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 4 and 13 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ string.c: In function ‘enth_string’: string.c:1493:42: warning: ‘st’ directive output may be truncated writing 2 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 1493 | snprintf(enth, sizeof(enth),"%dst", i); | ^~ In function ‘*__snprintfieee128’, inlined from ‘enth_string’ at string.c:1493:11: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 4 and 13 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ string.c: In function ‘enth_string’: string.c:1491:42: warning: ‘th’ directive output may be truncated writing 2 bytes into a region of size between 0 and 8 [-Wformat-truncation=] 1491 | snprintf(enth, sizeof(enth),"%dth", i); | ^~ In function ‘*__snprintfieee128’, inlined from ‘enth_string’ at string.c:1491:11: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 5 and 13 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o strlst.o strlst.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o takeaddr.o takeaddr.c takeaddr.c: In function ‘grab_addrs_from_body’: takeaddr.c:1851:14: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘a + 80’ must not be NULL [-Waddress] 1851 | && a && a+1 && (a+1)->shown) | ^~ takeaddr.c: In function ‘fill_in_ta’: takeaddr.c:2098:47: warning: pointer targets in passing argument 1 of ‘remove_quotes’ differ in signedness [-Wpointer-sign] 2098 | remove_quotes(new_current->addr->personal); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | char * In file included from ../pith/../pith/adrbklib.h:24, from ../pith/takeaddr.h:21, from takeaddr.c:22: ../pith/../pith/../pith/string.h:156:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 156 | void remove_quotes(unsigned char *); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o tempfile.o tempfile.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o text.o text.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o thread.o thread.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o adjtime.o adjtime.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o url.o url.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o util.o util.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o helptext.o helptext.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o smkeys.o smkeys.c smkeys.c: In function ‘smime_get_date’: smkeys.c:663:37: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 1023 [-Wformat-truncation=] 649 | m = iobuf; | ~~~~~ ...... 663 | snprintf(date, sizeof(date), "%s %s %s %s (%s)", d, m, y, t, z); | ^~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25, from smkeys.c:20: In function ‘*__snprintfieee128’, inlined from ‘smime_get_date’ at smkeys.c:663:4: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output 7 or more bytes (assuming 4102) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smkeys.c: In function ‘smime_get_date’: smkeys.c:674:35: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 1024 [-Wformat-truncation=] 649 | m = iobuf; | ~~~~~ ...... 674 | snprintf(buf, sizeof(buf), "%s/%s/%s", m, d, y + strlen(y) - 2); | ^~ In function ‘*__snprintfieee128’, inlined from ‘smime_get_date’ at smkeys.c:674:7: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output 3 or more bytes (assuming 4098) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o smime.o smime.c smime.c: In function ‘setup_pwdcert’: smime.c:308:9: warning: the address of ‘pathkey’ will always evaluate as ‘true’ [-Waddress] 308 | if((pathkey && *pathkey) || text){ | ^~~~~~~ smime.c: In function ‘import_certificate’: smime.c:769:20: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 769 | fgets(tmp2, sizeof(tmp2), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c:624:6: warning: ‘strncpy’ specified bound 4097 equals destination size [-Wstringop-truncation] 624 | strncpy(full_filename, fname, sizeof(full_filename)); | ^ smime.c:626:8: warning: ‘strncpy’ specified bound 4097 equals destination size [-Wstringop-truncation] 626 | strncpy(filename, s+1, sizeof(filename)); | ^ rm -f libpith.a /usr/bin/ar cru libpith.a ablookup.o abdlc.o addrbook.o addrstring.o adrbklib.o bldaddr.o body.o charset.o color.o conf.o context.o copyaddr.o detoken.o detach.o editorial.o escapes.o filter.o flag.o folder.o handle.o help.o helpindx.o hist.o icache.o ical.o imap.o init.o keyword.o ldap.o list.o mailcap.o mailcmd.o mailindx.o maillist.o mailview.o margin.o mimedesc.o mimetype.o msgno.o newmail.o news.o pattern.o pipe.o readfile.o remote.o reply.o rfc2231.o save.o search.o sequence.o send.o sort.o state.o status.o store.o stream.o string.o strlst.o takeaddr.o tempfile.o text.o thread.o adjtime.o url.o util.o helptext.o smkeys.o smime.o ranlib libpith.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' Making all in pico make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico' Making all in osdep make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o altedit.o altedit.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o chkpoint.o chkpoint.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o color.o color.c color.c: In function ‘pico_nfcolor’: color.c:1101:11: warning: ‘strncpy’ specified bound 12 equals destination size [-Wstringop-truncation] 1101 | strncpy(the_normal_color->fg, _nfcolor, MAXCOLORLEN+1); | ^ color.c: In function ‘pico_rfcolor’: color.c:1152:11: warning: ‘strncpy’ specified bound 12 equals destination size [-Wstringop-truncation] 1152 | strncpy(the_rev_color->fg, _rfcolor, MAXCOLORLEN+1); | ^ color.c: In function ‘color_to_asciirgb’: color.c:1681:9: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 1681 | strncpy(c_to_a_buf[whichbuf], colorName, (l < RGBLEN) ? l : RGBLEN); | ^ color.c:1680:13: note: length computed here 1680 | l = strlen(colorName); | ^~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filesys.o filesys.c filesys.c: In function ‘ffelbowroom’: filesys.c:1014:26: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1014 | (void) ftruncate(fileno(g_pico_fio.fp), (off_t) fsbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filesys.c: In function ‘getfnames’: filesys.c:412:31: warning: pointer ‘oldnames_88’ may be used after ‘realloc’ [-Wuse-after-free] 412 | np = names + (np-oldnames); | ~~~^~~~~~~~~~ filesys.c:404:33: note: call to ‘realloc’ here 404 | if((names=(char *)realloc((void *)names, alloced * sizeof(char))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filesys.c: In function ‘gethomedir’: filesys.c:240:9: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 240 | strncpy(home, buf, hlen); | ^ filesys.c:234:16: note: length computed here 234 | hlen = strlen(buf); | ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fsync.o fsync.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o getkey.o getkey.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mouse.o mouse.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newmail.o newmail.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o popen.o popen.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o raw.o raw.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o read.o read.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o shell.o shell.c shell.c: In function ‘bktoshell’: shell.c:104:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 104 | system((shell = (char *)getenv("SHELL")) ? shell : "/bin/csh"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o signals.o signals.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o spell.o spell.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o terminal.o terminal.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o truncate.o truncate.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o tty.o tty.c 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.26/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o attach.o attach.c attach.c: In function ‘AskAttach’: attach.c:222:17: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 222 | strncpy(new->fname, bfn, len1); | ^ attach.c:210:59: note: length computed here 210 | if (upload && (strlen(fn)+strlen(S_FILESEP)+strlen(bfn)) < sizeof(fn)){ | ^~~~~~~~~~~ attach.c:224:17: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 224 | strncpy(new->dir, fn, len2); | ^ attach.c:210:30: note: length computed here 210 | if (upload && (strlen(fn)+strlen(S_FILESEP)+strlen(bfn)) < sizeof(fn)){ | ^~~~~~~~~~ attach.c:164:53: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 500 [-Wformat-truncation=] 164 | snprintf(bfn, sizeof(bfn), "%s%c%.*s", | ^~ attach.c:164:50: note: assuming directive output of 1 byte 164 | snprintf(bfn, sizeof(bfn), "%s%c%.*s", | ^~~~~~~~~~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from headers.h:30, from attach.c:17: In function ‘*__snprintfieee128’, inlined from ‘AskAttach’ at attach.c:164:9: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 2 and 2147484149 bytes into a destination of size 500 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ attach.c: In function ‘AskAttach’: attach.c:347:25: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 347 | strncpy(new->fname, fn, len); | ^ attach.c:339:31: note: length computed here 339 | len = strlen(fn); | ^~~~~~~~~~ attach.c: In function ‘NewAttach’: attach.c:1289:5: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1289 | strncpy(tp->filename, f, len); | ^ attach.c:1282:11: note: length computed here 1282 | len = strlen(f); | ^~~~~~~~~ attach.c:1317:5: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1317 | strncpy(tp->description, c, len); | ^ attach.c:1308:11: note: length computed here 1308 | len = strlen(c); | ^~~~~~~~~ attach.c: In function ‘SyncAttach’: attach.c:541:21: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 541 | strncpy(tp->filename, file, j); | ^ attach.c:532:27: note: length computed here 532 | if((j=strlen(file)) > strlen(tp->filename)){ | ^~~~~~~~~~~~ attach.c:557:21: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 557 | strncpy(tp->size, size, j); | ^ attach.c:548:27: note: length computed here 548 | if((j=strlen(size)) > strlen(tp->size)){ | ^~~~~~~~~~~~ attach.c:572:21: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 572 | strncpy(tp->description, comment, j); | ^ attach.c:563:27: note: length computed here 563 | if((j=strlen(comment)) > strlen(tp->description)){ | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o basic.o basic.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o bind.o bind.c bind.c: In function ‘wscrollw’: bind.c:277:19: warning: ‘cont’ may be used uninitialized [-Wmaybe-uninitialized] 277 | if(cont){ | ^ bind.c:201:25: note: ‘cont’ was declared here 201 | register int cont; | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o browse.o browse.c browse.c: In function ‘FileBrowse’: browse.c:1752:24: warning: the address of ‘pat’ will always evaluate as ‘true’ [-Waddress] 1752 | if(pat && pat[0]) | ^~~ browse.c: In function ‘PaintCell’: browse.c:2143:35: warning: the comparison will always evaluate as ‘true’ for the address of ‘size’ will never be NULL [-Waddress] 2143 | s_wid = utf8_width(cell->size ? cell->size : ""); | ^ browse.c:60:10: note: ‘size’ declared here 60 | char size[16]; /* file's size in s */ | ^~~~ browse.c:2198:44: warning: the comparison will always evaluate as ‘true’ for the address of ‘size’ will never be NULL [-Waddress] 2198 | s_wid, s_wid, cell->size ? cell->size : ""); | ^ browse.c:60:10: note: ‘size’ declared here 60 | char size[16]; /* file's size in s */ | ^~~~ browse.c: In function ‘p_chdir’: browse.c:2819:11: warning: the comparison will always evaluate as ‘true’ for the address of ‘dname’ will never be NULL [-Waddress] 2819 | if(mp && mp->dname) | ^~ browse.c:79:12: note: ‘dname’ declared here 79 | char dname[NLINE]; /* this dir's name (UTF-8) */ | ^~~~~ browse.c:2820:7: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2820 | chdir(mp->dname); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from ../include/system.h:45, from headers.h:30, from browse.c:40: In function ‘strncpy’, inlined from ‘FileBrowse’ at browse.c:1634:9: /usr/include/bits/string_fortified.h:95:10: warning: ‘flen’ may be used uninitialized [-Wmaybe-uninitialized] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c: In function ‘FileBrowse’: browse.c:1625:30: note: ‘flen’ was declared here 1625 | size_t flen, dlen; | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o buffer.o buffer.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o composer.o composer.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o display.o display.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o file.o file.c file.c: In function ‘insfile.part.0’: file.c:162:61: warning: ‘%s’ directive output may be truncated writing up to 500 bytes into a region of size 44 [-Wformat-truncation=] 162 | snprintf(prompt, sizeof(prompt), "%s to insert from %s %s: ", | ^~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from headers.h:30, from file.c:25: In function ‘*__snprintfieee128’, inlined from ‘insfile.part.0’ at file.c:162:2: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 33 and 533 bytes into a destination of size 64 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ file.c: In function ‘insfile.part.0’: file.c:272:31: warning: ‘__strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 272 | strncat(infile, fname, len+1-1-strlen(infile)); | ^ file.c:266:65: note: length computed here 266 | len = strlen(dir)+strlen(S_FILESEP)+strlen(fname); | ^~~~~~~~~~~~~ file.c: In function ‘filewrite’: file.c:680:29: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 680 | strncpy(fname, bufp+1, MIN(strlen(bufp+1)+1, sizeof(fname))); | ^ In file included from headers.h:31: file.c:680:56: note: length computed here 680 | strncpy(fname, bufp+1, MIN(strlen(bufp+1)+1, sizeof(fname))); | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fileio.o fileio.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o line.o line.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pico.o pico.c pico.c: In function ‘register_key’: pico.c:1494:9: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1494 | strncpy(menuitems[i].label, label, len); | ^ In function ‘register_key’, inlined from ‘register_key’ at pico.c:1459:1: pico.c:1492:13: note: length computed here 1492 | len = strlen(label); | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o random.o random.c random.c: In function ‘showcpos’: random.c:71:42: warning: ‘nbc’ may be used uninitialized [-Wmaybe-uninitialized] 71 | nbc, nch, (nch) ? (int)((100L*nbc)/nch) : 0); | ~~~~~^~~~~ random.c:44:21: note: ‘nbc’ was declared here 44 | register long nbc; | ^~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o region.o region.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o search.o search.c search.c: In function ‘forwsearch’: search.c:426:42: warning: the address of ‘defpat’ will always evaluate as ‘true’ [-Waddress] 426 | utf8 = sucs4_to_utf8_cpystr(defpat ? defpat : x, flags & SR_BACKWRD); | ^ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o window.o window.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o word.o word.c 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 gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o main.o main.c main.c: In function ‘main’: main.c:283:8: warning: the address of ‘opertree’ will always evaluate as ‘true’ [-Waddress] 283 | if(opertree && opertree[0]){ | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o utf8stub.o utf8stub.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -ltinfo -llber -lkrb5 libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -ltinfo -llber -lkrb5 file.c: In function 'insfile.part.0': file.c:272:31: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 272 | strncat(infile, fname, len+1-1-strlen(infile)); | ^ file.c:266:65: note: length computed here 266 | len = strlen(dir)+strlen(S_FILESEP)+strlen(fname); | ^ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pilot.o pilot.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -ltinfo -llber -lkrb5 libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -ltinfo -llber -lkrb5 make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico' Making all in alpine make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' echo "char datestamp[]="\"Tue Apr 23 20:22:53 UTC 2024\"";" > date.c echo "char hoststamp[]="\"\"";" >> date.c echo "char configoptions[]="\"`../config.status --config`\"";" >> date.c /usr/bin/make all-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' Making all in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o chnge_pw.o chnge_pw.c chnge_pw.c: In function ‘change_passwd’: chnge_pw.c:55:5: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 55 | system(cmd_buf); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o debuging.o debuging.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o diskquot.non.o diskquot.non.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o execview.o execview.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fltrname.o fltrname.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o jobcntrl.o jobcntrl.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o print.o print.c In file included from print.c:32: print.c: In function ‘open_printer’: print.c:333:24: warning: the address of ‘command’ will always evaluate as ‘true’ [-Waddress] 333 | command ? command : "?")); | ^ ../../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o termin.gen.o termin.gen.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o termin.unx.o termin.unx.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o termout.gen.o termout.gen.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o termout.unx.o termout.unx.c In file included from termout.unx.c:26: termout.unx.c: In function ‘config_screen’: termout.unx.c:172:49: warning: the address of ‘term_name’ will always evaluate as ‘true’ [-Waddress] 172 | dprint((1, "Terminal type: %s\n", term_name ? term_name : "?")); | ^ ../../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ rm -f libpineosd.a /usr/bin/ar cru libpineosd.a chnge_pw.o debuging.o diskquot.non.o execview.o fltrname.o jobcntrl.o print.o termin.gen.o termin.unx.o termout.gen.o termout.unx.o ranlib libpineosd.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o addrbook.o addrbook.c addrbook.c: In function ‘get_abook_display_line’: addrbook.c:787:19: warning: ‘strncpy’ specified bound 2999 equals destination size [-Wstringop-truncation] 787 | strncpy(special, string, sizeof(special)); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o adrbkcmd.o adrbkcmd.c In file included from ../pith/headers.h:63, from headers.h:25, from adrbkcmd.c:21: adrbkcmd.c: In function ‘ab_export’: adrbkcmd.c:4269:26: warning: the address of ‘full_filename’ will always evaluate as ‘true’ [-Waddress] 4269 | full_filename ? full_filename : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ adrbkcmd.c: In function ‘ab_save’: adrbkcmd.c:5321:29: warning: ‘strncpy’ output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 5321 | strncpy(warn[how_many_dups], warning, MAX_NICKNAME); | ^ adrbkcmd.c: In function ‘ab_print’: adrbkcmd.c:6099:50: warning: ‘anum’ may be used uninitialized [-Wmaybe-uninitialized] 6099 | dl->type != End && (!curopen || | ~~~~~~~~~~^~ 6100 | (anum==adrbk_num_from_lineno(lineno) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6101 | (as.n_serv == 0 || | ~~~~~~~~~~~~~~~~~~ 6102 | ((dlc=get_dlc(lineno)) && | ~~~~~~~~~~~~~~~~~~~~~~~~~ 6103 | dlc->type != DlcDirDelim1)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ adrbkcmd.c:6075:21: note: ‘anum’ was declared here 6075 | int anum; | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o after.o after.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o alpine.o alpine.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o arg.o arg.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o busy.o busy.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o colorconf.o colorconf.c In file included from context.h:23, from conftype.h:24, from colorconf.h:21, from colorconf.c:17: colorconf.c: In function ‘color_text_tool’: ../pith/conf.h:815:25: warning: the address of ‘v’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ colorconf.c:1109:13: note: in expansion of macro ‘APVAL’ 1109 | apval = APVAL(&v, ew); | ^~~~~ colorconf.c: In function ‘color_update_selected’: colorconf.c:2578:30: warning: variable ‘bg_is_custom’ set but not used [-Wunused-but-set-variable] 2578 | int i, fg_is_custom = 1, bg_is_custom = 1; | ^~~~~~~~~~~~ colorconf.c:2578:12: warning: variable ‘fg_is_custom’ set but not used [-Wunused-but-set-variable] 2578 | int i, fg_is_custom = 1, bg_is_custom = 1; | ^~~~~~~~~~~~ colorconf.c: In function ‘color_edit_screen’: ../pith/conf.h:815:25: warning: the address of ‘v’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ colorconf.c:2835:17: note: in expansion of macro ‘APVAL’ 2835 | apval = APVAL(&v, ew); | ^~~~~ colorconf.c:2854:23: warning: the comparison will always evaluate as ‘true’ for the address of ‘fg’ will never be NULL [-Waddress] 2854 | def = !(color && color->fg && color->fg[0] | ^~ In file included from ../pith/headers.h:41, from headers.h:25, from colorconf.c:16: ../pith/osdep/color.h:25:14: note: ‘fg’ declared here 25 | char fg[MAXCOLORLEN+1]; | ^~ colorconf.c:2855:17: warning: the comparison will always evaluate as ‘true’ for the address of ‘bg’ will never be NULL [-Waddress] 2855 | && color->bg && color->bg[0]); | ^~ ../pith/osdep/color.h:26:14: note: ‘bg’ declared here 26 | char bg[MAXCOLORLEN+1]; | ^~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o confscroll.o confscroll.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o context.o context.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o dispfilt.o dispfilt.c dispfilt.c: In function ‘expand_filter_tokens’: dispfilt.c:202:5: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 202 | strncpy(bp, filter, strlen(filter)+1); | ^ dispfilt.c:202:25: note: length computed here 202 | strncpy(bp, filter, strlen(filter)+1); | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o flagmaint.o flagmaint.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o folder.o folder.c folder.c: In function ‘exit_collection_add’: folder.c:1213:41: warning: the comparison will always evaluate as ‘true’ for the address of ‘last_error’ will never be NULL [-Waddress] 1213 | else if(ps_global->mm_log_error && ps_global->last_error) | ^~ In file included 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 folder.c:28: osdep/../../pith/../pith/state.h:372:18: note: ‘last_error’ declared here 372 | char last_error[500]; | ^~~~~~~~~~ folder.c: In function ‘fl_val_gen’: folder.c:1382:14: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 1382 | return(f && FLDR_NAME(f)); | ^~ In file included from osdep/../../pith/../pith/../pith/context.h:21, from osdep/../../pith/../pith/state.h:25: osdep/../../pith/../pith/../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘folder_list_handle’: folder.c:2254:30: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 2254 | || (fp->name && !strcmp(name ? name : fs->first_folder, fp->name))))){ | ^~ osdep/../../pith/../pith/../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘folder_import’: folder.c:3898:12: warning: the address of ‘full_filename’ will always evaluate as ‘true’ [-Waddress] 3898 | if(full_filename && full_filename[0]) | ^~~~~~~~~~~~~ folder.c: In function ‘add_new_folder’: folder.c:4111:20: warning: the address of ‘mdmbox’ will always evaluate as ‘true’ [-Waddress] 4111 | if(mdmbox | ^~~~~~ folder.c:4903:20: warning: the address of ‘nickname’ will always evaluate as ‘true’ [-Waddress] 4903 | if(nickname && nickname[0]){ | ^~~~~~~~ folder.c: In function ‘delete_folder’: folder.c:5625:40: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 5625 | if(!((context->use & CNTXT_INCMNG) && fp->name | ^~ osdep/../../pith/../pith/../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c:5670:14: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 5670 | else if((fp->name | ^~ osdep/../../pith/../pith/../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘add_new_folder’: folder.c:4491:13: warning: ‘strncpy’ specified bound 266 equals destination size [-Wstringop-truncation] 4491 | strncpy(orig_folder, &add_folder[offset], 2*MAXFOLDER+10); | ^ folder.c:4491:13: warning: ‘strncpy’ specified bound 266 equals destination size [-Wstringop-truncation] folder.c:4615:17: warning: ‘strncpy’ specified bound 266 equals destination size [-Wstringop-truncation] 4615 | strncpy(orig_folder, &add_folder[offset], 2*MAXFOLDER+10); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help.o help.c help.c: In function ‘review_messages’: help.c:813:35: warning: the comparison will always evaluate as ‘true’ for the address of ‘timestamp’ will never be NULL [-Waddress] 813 | if(timestamps && p->timestamp && p->timestamp[0]){ | ^~ In file included from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from help.c:15: osdep/../../pith/help.h:37:22: note: ‘timestamp’ declared here 37 | char timestamp[RMTIMLEN+1]; | ^~~~~~~~~ help.c:818:24: warning: the comparison will always evaluate as ‘true’ for the address of ‘message’ will never be NULL [-Waddress] 818 | if(p->message && p->message[0]){ | ^ osdep/../../pith/help.h:36:22: note: ‘message’ declared here 36 | char message[RMMSGLEN+1]; | ^~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o imap.o imap.c imap.c: In function ‘oauth2_select_flow’: imap.c:265:29: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 265 | for(i = 0; oa2list && oa2list->host && oa2list->host[i] && strucmp(oa2list->host[i], host); i++); | ^~ In file included from ../pith/headers.h:28, from headers.h:25, from imap.c:24: ../pith/../c-client/mail.h:2002:10: note: ‘host’ declared here 2002 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:266:21: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 266 | if(oa2list && oa2list->host && i < OAUTH2_TOT_EQUIV && oa2list->host[i]){ | ^~ ../pith/../c-client/mail.h:2002:10: note: ‘host’ declared here 2002 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:301:29: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 301 | for(i = 0; oa2list && oa2list->host && oa2list->host[i] && strucmp(oa2list->host[i], host); i++); | ^~ ../pith/../c-client/mail.h:2002:10: note: ‘host’ declared here 2002 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:302:21: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 302 | if(oa2list && oa2list->host && i < OAUTH2_TOT_EQUIV && oa2list->host[i]) | ^~ ../pith/../c-client/mail.h:2002:10: note: ‘host’ declared here 2002 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:316:29: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 316 | for(i = 0; oa2list && oa2list->host && oa2list->host[i] && strucmp(oa2list->host[i], host); i++); | ^~ ../pith/../c-client/mail.h:2002:10: note: ‘host’ declared here 2002 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:317:21: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 317 | if(oa2list && oa2list->host && i < OAUTH2_TOT_EQUIV && oa2list->host[i]){ | ^~ ../pith/../c-client/mail.h:2002:10: note: ‘host’ declared here 2002 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c: In function ‘oauth2_get_access_code’: imap.c:557:79: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 557 | if(strucmp((char *) oauth2->name, (char *) GMAIL_NAME) == 0 && strstr(url, (char *) GMAIL_ID) != NULL){ | ^~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25: /usr/include/string.h:350:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ imap.c: In function ‘mm_login_oauth2’: imap.c:827:8: warning: the comparison will always evaluate as ‘true’ for the address of ‘orighost’ will never be NULL [-Waddress] 827 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ^~ ../pith/../c-client/mail.h:708:8: note: ‘orighost’ declared here 708 | char orighost[NETMAXHOST]; /* host name before canonicalization */ | ^~~~~~~~ imap.c:861:36: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 861 | oa2list && oa2list->host != NULL && oa2list->host[0] != NULL; | ^~ ../pith/../c-client/mail.h:2002:10: note: ‘host’ declared here 2002 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:878:44: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 878 | oa2list && oa2list->host != NULL && oa2list->host[0] != NULL; | ^~ ../pith/../c-client/mail.h:2002:10: note: ‘host’ declared here 2002 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:891:27: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 891 | if(!oa2list || !oa2list->host || !oa2list->host[0]){ | ^ ../pith/../c-client/mail.h:2002:10: note: ‘host’ declared here 2002 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:910:11: warning: the comparison will always evaluate as ‘true’ for the address of ‘orighost’ will never be NULL [-Waddress] 910 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)) | ^~ ../pith/../c-client/mail.h:708:8: note: ‘orighost’ declared here 708 | char orighost[NETMAXHOST]; /* host name before canonicalization */ | ^~~~~~~~ imap.c:1032:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 1032 | if(oa2 && oa2->host && j < OAUTH2_TOT_EQUIV && oa2->host[j] | ^~ ../pith/../c-client/mail.h:2002:10: note: ‘host’ declared here 2002 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c: In function ‘pine_delete_pwd’: imap.c:1181:17: warning: the comparison will always evaluate as ‘true’ for the address of ‘service’ will never be NULL [-Waddress] 1181 | if(mb->port && mb->service && | ^~ ../pith/../c-client/mail.h:713:8: note: ‘service’ declared here 713 | char service[NETMAXSRV]; /* service name */ | ^~~~~~~ In file included from ../pith/headers.h:63: imap.c:1187:33: warning: the address of ‘non_def_port’ will always evaluate as ‘true’ [-Waddress] 1187 | non_def_port ? non_def_port : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c:1196:10: warning: the comparison will always evaluate as ‘true’ for the address of ‘orighost’ will never be NULL [-Waddress] 1196 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ^~ ../pith/../c-client/mail.h:708:8: note: ‘orighost’ declared here 708 | char orighost[NETMAXHOST]; /* host name before canonicalization */ | ^~~~~~~~ imap.c:1210:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘orighost’ will never be NULL [-Waddress] 1210 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ^~ ../pith/../c-client/mail.h:708:8: note: ‘orighost’ declared here 708 | char orighost[NETMAXHOST]; /* host name before canonicalization */ | ^~~~~~~~ imap.c:1171:17: warning: unused variable ‘l’ [-Wunused-variable] 1171 | MMLOGIN_S *l; | ^ imap.c:1169:17: warning: unused variable ‘port’ [-Wunused-variable] 1169 | char port[20], non_def_port[20]; | ^~~~ imap.c: In function ‘mm_login_work’: imap.c:1502:17: warning: the comparison will always evaluate as ‘true’ for the address of ‘service’ will never be NULL [-Waddress] 1502 | if(mb->port && mb->service && | ^~ ../pith/../c-client/mail.h:713:8: note: ‘service’ declared here 713 | char service[NETMAXSRV]; /* service name */ | ^~~~~~~ imap.c:1519:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘orighost’ will never be NULL [-Waddress] 1519 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ^~ ../pith/../c-client/mail.h:708:8: note: ‘orighost’ declared here 708 | char orighost[NETMAXHOST]; /* host name before canonicalization */ | ^~~~~~~~ imap.c:1533:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘orighost’ will never be NULL [-Waddress] 1533 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ^~ ../pith/../c-client/mail.h:708:8: note: ‘orighost’ declared here 708 | char orighost[NETMAXHOST]; /* host name before canonicalization */ | ^~~~~~~~ imap.c: In function ‘read_passfile’: imap.c:3751:48: warning: the address of ‘tmp’ will always evaluate as ‘true’ [-Waddress] 3751 | dprint((10, "read_passfile: %s\n", tmp ? tmp : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c:3601:17: warning: unused variable ‘sbuf’ [-Wunused-variable] 3601 | struct stat sbuf; | ^~~~ imap.c: In function ‘mm_diskerror’: imap.c:2314:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2314 | system("csh"); | ^~~~~~~~~~~~~ imap.c: In function ‘read_passfile’: imap.c:3661:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3661 | fgets(tmp2, sizeof(tmp2), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:3739:12: warning: pointer ‘fp_134’ may be used after ‘fclose’ [-Wuse-after-free] 3739 | : (fgets(tmptext, len+1, fp) != NULL); n++){ | ^~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:3662:5: note: call to ‘fclose’ here 3662 | fclose(fp); | ^~~~~~~~~~ imap.c: In function ‘pine_sslfailure’: imap.c:2773:5: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] 2773 | strncpy(buf, _("There was an SSL/TLS failure for the server"), sizeof(buf)); | ^ imap.c:2796:5: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] 2796 | strncpy(buf, _("The reason for the failure was"), sizeof(buf)); | ^ imap.c:2819:5: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] 2819 | strncpy(buf, _("This is just an informational message. With the current setup, SSL/TLS will not work. If this error re-occurs every time you run Alpine, your current setup is not compatible with the configuration of your mail server. You may want to add the option"), sizeof(buf)); | ^ imap.c:2842:5: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] 2842 | strncpy(buf, _("to the name of the mail server you are attempting to access. In other words, wherever you see the characters"), | ^ imap.c:2866:5: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] 2866 | strncpy(buf, _("in your configuration, replace those characters with"), | ^ imap.c:2893:9: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] 2893 | strncpy(buf, _("Type RETURN to continue."), sizeof(buf)); | ^ In file included from /usr/include/stdio.h:980, from ../include/system.h:31: In function ‘*__sprintfieee128’, inlined from ‘oauth2_get_access_code’ at imap.c:710:4: /usr/include/bits/stdio2.h:30:10: warning: ‘accesscodelabel’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ imap.c: In function ‘oauth2_get_access_code’: imap.c:653:15: note: ‘accesscodelabel’ was declared here 653 | char *accesscodelabel = _("Copy and Paste Access Code"); | ^~~~~~~~~~~~~~~ In function ‘fgets’, inlined from ‘read_passfile’ at imap.c:3739:5: /usr/include/bits/stdio2.h:202:12: warning: pointer ‘fp_132’ may be used after ‘fclose’ [-Wuse-after-free] 202 | return __fgets_chk_warn (__s, sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function ‘read_passfile’: imap.c:3662:5: note: call to ‘fclose’ here 3662 | fclose(fp); | ^~~~~~~~~~ In function ‘fgets’, inlined from ‘read_passfile’ at imap.c:3739:5: /usr/include/bits/stdio2.h:203:10: warning: pointer ‘fp_132’ may be used after ‘fclose’ [-Wuse-after-free] 203 | return __fgets_chk (__s, sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function ‘read_passfile’: imap.c:3662:5: note: call to ‘fclose’ here 3662 | fclose(fp); | ^~~~~~~~~~ In function ‘fgets’, inlined from ‘read_passfile’ at imap.c:3739:5: /usr/include/bits/stdio2.h:200:12: warning: pointer ‘fp_132’ may be used after ‘fclose’ [-Wuse-after-free] 200 | return __fgets_alias (__s, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function ‘read_passfile’: imap.c:3662:5: note: call to ‘fclose’ here 3662 | fclose(fp); | ^~~~~~~~~~ imap.c: In function ‘write_passfile’: imap.c:4011:9: warning: ‘strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 4011 | strncat(text, tmp, strlen(tmp)); | ^ imap.c:4010:16: note: length computed here 4010 | len += strlen(tmp) + 1; | ^~~~~~~~~~~ imap.c: In function ‘mm_login_work’: imap.c:1723:11: warning: ‘strncpy’ specified bound 20 equals destination size [-Wstringop-truncation] 1723 | strncpy(insecure, insec, sizeof(insecure)); | ^ imap.c:1964:7: warning: ‘strncpy’ specified bound 20 equals destination size [-Wstringop-truncation] 1964 | strncpy(insecure, insec, sizeof(insecure)); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o init.o init.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o kblock.o kblock.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o keymenu.o keymenu.c keymenu.c: In function ‘output_keymenu’: keymenu.c:3147:26: warning: the address of ‘this_label’ will always evaluate as ‘true’ [-Waddress] 3147 | && this_label && !strcmp(this_label,last_time->label) | ^~ keymenu.c: In function ‘print_inverted_label’: keymenu.c:4138:8: warning: the address of ‘prename’ will always evaluate as ‘true’ [-Waddress] 4138 | if(prename) | ^~~~~~~ keymenu.c:4141:8: warning: the address of ‘namepart’ will always evaluate as ‘true’ [-Waddress] 4141 | if(namepart){ | ^~~~~~~~ keymenu.c:4148:8: warning: the address of ‘labelpart’ will always evaluate as ‘true’ [-Waddress] 4148 | if(labelpart){ | ^~~~~~~~~ keymenu.c: In function ‘output_keymenu’: keymenu.c:3185:21: warning: ‘strncpy’ output may be truncated copying 18 bytes from a string of length 3000 [-Wstringop-truncation] 3185 | strncpy(last_time->name, temp, 6*MAX_KEYNAME); | ^ keymenu.c:3248:21: warning: ‘strncpy’ output may be truncated copying 240 bytes from a string of length 240 [-Wstringop-truncation] 3248 | strncpy(last_time->label, this_label, 6*MAX_LABEL); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ldapconf.o ldapconf.c In file included from context.h:23, from conftype.h:24, from ldapconf.h:21, from ldapconf.c:16: ldapconf.c: In function ‘dir_edit_screen’: ../pith/conf.h:815:25: warning: the address of ‘server_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1211:13: note: in expansion of macro ‘APVAL’ 1211 | apval = APVAL(&server_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘base_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1218:13: note: in expansion of macro ‘APVAL’ 1218 | apval = APVAL(&base_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘port_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1226:17: note: in expansion of macro ‘APVAL’ 1226 | apval = APVAL(&port_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘binddn_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1236:13: note: in expansion of macro ‘APVAL’ 1236 | apval = APVAL(&binddn_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘nick_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1243:13: note: in expansion of macro ‘APVAL’ 1243 | apval = APVAL(&nick_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘srch_type_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1250:13: note: in expansion of macro ‘APVAL’ 1250 | apval = APVAL(&srch_type_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘srch_rule_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1261:13: note: in expansion of macro ‘APVAL’ 1261 | apval = APVAL(&srch_rule_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘time_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1272:17: note: in expansion of macro ‘APVAL’ 1272 | apval = APVAL(&time_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘size_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1283:17: note: in expansion of macro ‘APVAL’ 1283 | apval = APVAL(&size_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘mailattr_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1293:13: note: in expansion of macro ‘APVAL’ 1293 | apval = APVAL(&mailattr_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘cnattr_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1302:13: note: in expansion of macro ‘APVAL’ 1302 | apval = APVAL(&cnattr_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘snattr_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1311:13: note: in expansion of macro ‘APVAL’ 1311 | apval = APVAL(&snattr_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘gnattr_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1320:13: note: in expansion of macro ‘APVAL’ 1320 | apval = APVAL(&gnattr_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘cust_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1329:13: note: in expansion of macro ‘APVAL’ 1329 | apval = APVAL(&cust_var, ew); | ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o listsel.o listsel.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailcmd.o mailcmd.c In file included from ../pith/headers.h:63, from headers.h:25, from mailcmd.c:27: mailcmd.c: In function ‘cmd_export’: mailcmd.c:3778:26: warning: the address of ‘full_filename’ will always evaluate as ‘true’ [-Waddress] 3778 | full_filename ? full_filename : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c: In function ‘simple_export’: mailcmd.c:4099:26: warning: the address of ‘full_filename’ will always evaluate as ‘true’ [-Waddress] 4099 | full_filename ? full_filename : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c: In function ‘broach_folder’: mailcmd.c:6034:22: warning: the address of ‘newfolder’ will always evaluate as ‘true’ [-Waddress] 6034 | newfolder ? newfolder : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c:6042:20: warning: the address of ‘expanded’ will always evaluate as ‘true’ [-Waddress] 6042 | expanded ? expanded : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c: In function ‘cmd_expunge’: mailcmd.c:3292:74: warning: ‘%.*s’ directive output may be truncated writing up to 461 bytes into a region of size between 459 and 478 [-Wformat-truncation=] 3292 | snprintf(prompt, sizeof(prompt), "Exclude %ld message%s from %.*s", del_count, | ^~~~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25: In function ‘*__snprintfieee128’, inlined from ‘cmd_expunge’ at mailcmd.c:3292:6: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 24 and 504 bytes into a destination of size 501 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mailcmd.c: In function ‘jump_to’: mailcmd.c:5260:19: warning: ‘strncpy’ specified bound 80 equals destination size [-Wstringop-truncation] 5260 | strncpy(jump_num_string, long2string(closest), | ^ mailcmd.c: In function ‘select_sort’: mailcmd.c:9640:7: warning: ‘strncpy’ specified bound 200 equals destination size [-Wstringop-truncation] 9640 | strncpy(prompt, _("Choose type of sort, or 'R' to reverse current sort : "), | ^ mailcmd.c:9638:7: warning: ‘strncpy’ specified bound 200 equals destination size [-Wstringop-truncation] 9638 | strncpy(prompt, _("Choose type of sort : "), sizeof(prompt)); | ^ mailcmd.c: In function ‘broach_folder’: mailcmd.c:5804:9: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 5804 | strncpy(newfolder, (char *)f2, sizeof(newfolder)); | ^ In file included from /usr/include/string.h:548, from ../include/system.h:45: In function ‘strncpy’, inlined from ‘get_export_filename’ at mailcmd.c:4729:7: /usr/include/bits/string_fortified.h:95:10: warning: ‘fn’ may be used uninitialized [-Wmaybe-uninitialized] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c: In function ‘get_export_filename’: mailcmd.c:4227:54: note: ‘fn’ was declared here 4227 | char filename2[MAXPATH+1], tmp[MAXPATH+1], *fn, *ill; | ^~ mailcmd.c: In function ‘cmd_export’: mailcmd.c:3981:78: warning: ‘%.*s’ directive output may be truncated writing up to 1 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 3981 | snprintf(filename, sizeof(filename), "%.*s%.*s%.*s%.*s%.*d%.*s%.*s", | ^~~~ In function ‘*__snprintfieee128’, inlined from ‘cmd_export’ at mailcmd.c:3981:6: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 3 and 12283 bytes into a destination of size 4097 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailindx.o mailindx.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailpart.o mailpart.c mailpart.c: In function ‘attachment_screen’: mailpart.c:240:44: warning: the comparison will always evaluate as ‘true’ for the address of ‘c_client_error’ will never be NULL [-Waddress] 240 | ps->c_client_error ? ps->c_client_error : "?"); | ^ In file included 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 mailpart.c:21: osdep/../../pith/../pith/state.h:282:18: note: ‘c_client_error’ declared here 282 | char c_client_error[300]; /* when nowhow_error is set and PARSE */ | ^~~~~~~~~~~~~~ mailpart.c:340:33: warning: the comparison will always evaluate as ‘true’ for the address of ‘size’ will never be NULL [-Waddress] 340 | a->size ? a->size : "", | ^ In file included from osdep/../../pith/../pith/state.h:27: osdep/../../pith/../pith/../pith/atttype.h:31:17: note: ‘size’ declared here 31 | char size[25]; | ^~~~ In file included from ../pith/headers.h:63, from headers.h:25: mailpart.c: In function ‘write_attachment’: mailpart.c:1316:21: warning: the address of ‘filename’ will always evaluate as ‘true’ [-Waddress] 1316 | filename ? filename : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailpart.c:1303:39: warning: variable ‘we_cancel’ set but not used [-Wunused-but-set-variable] 1303 | int r, rflags = GER_NONE, we_cancel = 0, flags; | ^~~~~~~~~ mailpart.c: In function ‘display_attachment’: mailpart.c:2290:8: warning: the address of ‘sender_filename’ will always evaluate as ‘true’ [-Waddress] 2290 | if(sender_filename){ | ^~~~~~~~~~~~~~~ mailpart.c: In function ‘write_attached_msg’: mailpart.c:1557:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1557 | ftruncate(fileno((FILE *)store->txt), (off_t) start_of_append); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailpart.c: In function ‘update_att_screen_titlebar’: mailpart.c:1140:17: warning: ‘strncpy’ output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 1140 | strncpy(titlecolor->fg, titlecolor->bg, MAXCOLORLEN); | ^ mailpart.c: In function ‘attachment_screen’: mailpart.c:228:24: warning: storing the address of local variable ‘screen’ in ‘att_screen’ [-Wdangling-pointer=] 228 | att_screen = &screen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ mailpart.c:185:19: note: ‘screen’ declared here 185 | ATT_SCREEN_S screen; | ^~~~~~ mailpart.c:90:22: note: ‘att_screen’ declared here 90 | static ATT_SCREEN_S *att_screen; | ^~~~~~~~~~ mailpart.c:735:57: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 50 and 51 [-Wformat-truncation=] 735 | snprintf(tmp, sizeof(tmp), "Word to find %s%s%s: ", | ^~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25: In function ‘*__snprintfieee128’, inlined from ‘attachment_screen’ at mailpart.c:735:7: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 16 and 81 bytes into a destination of size 64 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailview.o mailview.c mailview.c: In function ‘img_handler’: mailview.c:1830:9: warning: ‘cmd’ may be used uninitialized [-Wmaybe-uninitialized] 1830 | char *cmd, *subtype; | ^~~ mailview.c: In function ‘update_scroll_titlebar’: mailview.c:4046:17: warning: ‘strncpy’ output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 4046 | strncpy(cbuf, titlecolor->fg, MAXCOLORLEN); | ^ mailview.c:4047:17: warning: ‘strncpy’ output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 4047 | strncpy(titlecolor->fg, titlecolor->bg, MAXCOLORLEN); | ^ mailview.c:4048:17: warning: ‘strncpy’ output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 4048 | strncpy(titlecolor->bg, cbuf, MAXCOLORLEN); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newuser.o newuser.c newuser.c: In function ‘new_user_or_version’: newuser.c:54:35: warning: the comparison will always evaluate as ‘true’ for the address of ‘pine_pre_vers’ will never be NULL [-Waddress] 54 | || (ps->pine_pre_vers | ^~ In file included 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 newuser.c:16: osdep/../../pith/../pith/state.h:109:18: note: ‘pine_pre_vers’ declared here 109 | char pine_pre_vers[10]; /* highest version previously run */ | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pattern.o pattern.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pipe.o pipe.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o print.o print.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o radio.o radio.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o remote.o remote.c remote.c: In function ‘rd_metadata_name’: remote.c:311:33: warning: the address of ‘pinerc_dir’ will always evaluate as ‘true’ [-Waddress] 311 | build_path(path, pinerc_dir ? pinerc_dir : NULL, | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o reply.o reply.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o roleconf.o roleconf.c In file included from context.h:23, from conftype.h:24, from roleconf.h:21, from roleconf.c:16: roleconf.c: In function ‘role_config_edit_screen’: ../pith/conf.h:815:25: warning: the address of ‘nick_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:2927:13: note: in expansion of macro ‘APVAL’ 2927 | apval = APVAL(&nick_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘comment_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:2946:13: note: in expansion of macro ‘APVAL’ 2946 | apval = APVAL(&comment_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘age_pat_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:2992:17: note: in expansion of macro ‘APVAL’ 2992 | apval = APVAL(&age_pat_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘size_pat_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3003:17: note: in expansion of macro ‘APVAL’ 3003 | apval = APVAL(&size_pat_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘scorei_pat_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3016:17: note: in expansion of macro ‘APVAL’ 3016 | apval = APVAL(&scorei_pat_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘stat_del_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3026:13: note: in expansion of macro ‘APVAL’ 3026 | apval = APVAL(&stat_del_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘stat_new_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3034:13: note: in expansion of macro ‘APVAL’ 3034 | apval = APVAL(&stat_new_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘stat_imp_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3042:13: note: in expansion of macro ‘APVAL’ 3042 | apval = APVAL(&stat_imp_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘stat_ans_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3050:13: note: in expansion of macro ‘APVAL’ 3050 | apval = APVAL(&stat_ans_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘stat_8bit_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3058:13: note: in expansion of macro ‘APVAL’ 3058 | apval = APVAL(&stat_8bit_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘stat_rec_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3066:13: note: in expansion of macro ‘APVAL’ 3066 | apval = APVAL(&stat_rec_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘stat_bom_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3074:13: note: in expansion of macro ‘APVAL’ 3074 | apval = APVAL(&stat_bom_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘stat_boy_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3082:13: note: in expansion of macro ‘APVAL’ 3082 | apval = APVAL(&stat_boy_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘filt_del_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3094:13: note: in expansion of macro ‘APVAL’ 3094 | apval = APVAL(&filt_del_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘filt_new_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3102:13: note: in expansion of macro ‘APVAL’ 3102 | apval = APVAL(&filt_new_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘filt_imp_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3110:13: note: in expansion of macro ‘APVAL’ 3110 | apval = APVAL(&filt_imp_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘filt_ans_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3118:13: note: in expansion of macro ‘APVAL’ 3118 | apval = APVAL(&filt_ans_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘inick_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3125:13: note: in expansion of macro ‘APVAL’ 3125 | apval = APVAL(&inick_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘fldr_type_var’ will always evaluate as ‘true’ [-Waddress] 815 | #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(&fldr_type_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘folder_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3141:13: note: in expansion of macro ‘ALVAL’ 3141 | alval = ALVAL(&folder_pat_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘abook_type_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3156:13: note: in expansion of macro ‘APVAL’ 3156 | apval = APVAL(&abook_type_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘cat_cmd_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3173:13: note: in expansion of macro ‘ALVAL’ 3173 | alval = ALVAL(&cat_cmd_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘cati_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3185:17: note: in expansion of macro ‘APVAL’ 3185 | apval = APVAL(&cati_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘cat_lim_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3196:13: note: in expansion of macro ‘APVAL’ 3196 | apval = APVAL(&cat_lim_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘from_act_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3215:17: note: in expansion of macro ‘APVAL’ 3215 | apval = APVAL(&from_act_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘replyto_act_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3232:17: note: in expansion of macro ‘APVAL’ 3232 | apval = APVAL(&replyto_act_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘fcc_act_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3243:13: note: in expansion of macro ‘APVAL’ 3243 | apval = APVAL(&fcc_act_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘sort_act_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3250:13: note: in expansion of macro ‘APVAL’ 3250 | apval = APVAL(&sort_act_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘iform_act_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3264:13: note: in expansion of macro ‘APVAL’ 3264 | apval = APVAL(&iform_act_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘startup_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3277:13: note: in expansion of macro ‘APVAL’ 3277 | apval = APVAL(&startup_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘litsig_act_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3294:13: note: in expansion of macro ‘APVAL’ 3294 | apval = APVAL(&litsig_act_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘sig_act_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3301:13: note: in expansion of macro ‘APVAL’ 3301 | apval = APVAL(&sig_act_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘templ_act_var’ will always evaluate as ‘true’ [-Waddress] 815 | #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(&templ_act_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘cstm_act_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3319:13: note: in expansion of macro ‘ALVAL’ 3319 | alval = ALVAL(&cstm_act_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘smtp_act_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3327:13: note: in expansion of macro ‘ALVAL’ 3327 | alval = ALVAL(&smtp_act_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘nntp_act_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3335:13: note: in expansion of macro ‘ALVAL’ 3335 | alval = ALVAL(&nntp_act_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘score_act_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3349:17: note: in expansion of macro ‘APVAL’ 3349 | apval = APVAL(&score_act_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘hdrtok_act_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3361:17: note: in expansion of macro ‘APVAL’ 3361 | apval = APVAL(&hdrtok_act_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘repl_type_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3373:13: note: in expansion of macro ‘APVAL’ 3373 | apval = APVAL(&repl_type_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘forw_type_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3381:13: note: in expansion of macro ‘APVAL’ 3381 | apval = APVAL(&forw_type_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘comp_type_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3388:13: note: in expansion of macro ‘APVAL’ 3388 | apval = APVAL(&comp_type_var, ew); | ^~~~~ ../pith/conf.h:815:25: warning: the address of ‘filter_type_var’ will always evaluate as ‘true’ [-Waddress] 815 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:4335:17: note: in expansion of macro ‘APVAL’ 4335 | apval = APVAL(&filter_type_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘to_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4929:17: note: in expansion of macro ‘ALVAL’ 4929 | alval = ALVAL(&to_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘from_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4933:17: note: in expansion of macro ‘ALVAL’ 4933 | alval = ALVAL(&from_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘sender_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4937:17: note: in expansion of macro ‘ALVAL’ 4937 | alval = ALVAL(&sender_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘cc_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4941:17: note: in expansion of macro ‘ALVAL’ 4941 | alval = ALVAL(&cc_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘recip_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4945:17: note: in expansion of macro ‘ALVAL’ 4945 | alval = ALVAL(&recip_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘partic_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4949:17: note: in expansion of macro ‘ALVAL’ 4949 | alval = ALVAL(&partic_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘news_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4953:17: note: in expansion of macro ‘ALVAL’ 4953 | alval = ALVAL(&news_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘subj_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4957:17: note: in expansion of macro ‘ALVAL’ 4957 | alval = ALVAL(&subj_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘alltext_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4961:17: note: in expansion of macro ‘ALVAL’ 4961 | alval = ALVAL(&alltext_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘bodytext_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4965:17: note: in expansion of macro ‘ALVAL’ 4965 | alval = ALVAL(&bodytext_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘keyword_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4969:17: note: in expansion of macro ‘ALVAL’ 4969 | alval = ALVAL(&keyword_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘charset_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4973:17: note: in expansion of macro ‘ALVAL’ 4973 | alval = ALVAL(&charset_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘abook_pat_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5046:17: note: in expansion of macro ‘ALVAL’ 5046 | alval = ALVAL(&abook_pat_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘folder_act_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5150:17: note: in expansion of macro ‘ALVAL’ 5150 | alval = ALVAL(&folder_act_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘keyword_set_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5154:17: note: in expansion of macro ‘ALVAL’ 5154 | alval = ALVAL(&keyword_set_var, ew); | ^~~~~ ../pith/conf.h:819:25: warning: the address of ‘keyword_clr_var’ will always evaluate as ‘true’ [-Waddress] 819 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5158:17: note: in expansion of macro ‘ALVAL’ 5158 | alval = ALVAL(&keyword_clr_var, ew); | ^~~~~ roleconf.c: In function ‘check_role_folders’: roleconf.c:6418:44: warning: the comparison will always evaluate as ‘true’ for the address of ‘c_client_error’ will never be NULL [-Waddress] 6418 | if(ps_global->mm_log_error && ps_global->c_client_error) | ^~ In file included 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 roleconf.c:15: osdep/../../pith/../pith/state.h:282:18: note: ‘c_client_error’ declared here 282 | char c_client_error[300]; /* when nowhow_error is set and PARSE */ | ^~~~~~~~~~~~~~ roleconf.c: In function ‘role_text_tool’: roleconf.c:7198:9: warning: ‘strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 7198 | strncpy(dir2, pdir, MAXPATH); | ^ roleconf.c: In function ‘role_take’: roleconf.c:600:7: warning: ‘strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 600 | strncpy(specific_fldr, ps->cur_folder, sizeof(specific_fldr)-1); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o send.o send.c send.c: In function ‘pine_send’: send.c:2095:24: warning: the address of ‘pf_template’ will always evaluate as ‘true’ [-Waddress] 2095 | for(fixed_cnt = 0; pf_template && pf_template[fixed_cnt].name; fixed_cnt++) | ^~~~~~~~~~~ In file included from ../pith/headers.h:63, from headers.h:25, from send.c:21: send.c:3298:39: warning: the address of ‘folder’ will always evaluate as ‘true’ [-Waddress] 3298 | folder ? folder : "?", | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ send.c:3661:31: warning: the comparison will always evaluate as ‘true’ for the address of ‘folder’ will never be NULL [-Waddress] 3661 | if(fcc_result && folder) | ^~ send.c:3166:24: note: ‘folder’ declared here 3166 | char folder[MAXPATH+1]; | ^~~~~~ send.c: In function ‘choose_a_priority’: send.c:5088:16: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] 5088 | int i, cnt; | ^ send.c: In function ‘upload_msg_to_pico’: send.c:5226:24: warning: the address of ‘cmd’ will always evaluate as ‘true’ [-Waddress] 5226 | cmd ? cmd : "?", | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ send.c: In function ‘pine_send’: send.c:2893:9: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 2893 | strncpy(he->prompt, he->name, MIN(strlen(he->name), he->prwid - 2)); | ^ In file included from ../pith/headers.h:26: send.c:2893:43: note: length computed here 2893 | strncpy(he->prompt, he->name, MIN(strlen(he->name), he->prwid - 2)); gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o setup.o setup.c setup.c: In function ‘inbox_path_text_tool’: setup.c:613:22: warning: variable ‘apval’ set but not used [-Wunused-but-set-variable] 613 | char **apval; | ^~~~~ setup.c: In function ‘adjust_list_of_monitored_incoming’: setup.c:807:73: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 807 | snprintf(buf, sizeof(buf), "%s (%s)", f->nickname, f->name ? f->name : "?"); | ^ In file included from osdep/../../pith/../pith/../pith/context.h:21, from osdep/../../pith/../pith/state.h:25, 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 setup.c:15: osdep/../../pith/../pith/../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ setup.c:811:32: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 811 | ls->item = cpystr((f && f->name) ? f->name : "?"); | ^~ osdep/../../pith/../pith/../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o signal.o signal.c signal.c: In function ‘usr2_signal’: signal.c:413:64: warning: the comparison will always evaluate as ‘true’ for the address of ‘mailbox’ will never be NULL [-Waddress] 413 | else if(mail_valid_net_parse(stream->mailbox, &mb) && mb.mailbox) | ^~ In file included from ../pith/headers.h:28, from headers.h:25, from signal.c:26: ../pith/../c-client/mail.h:712:8: note: ‘mailbox’ declared here 712 | char mailbox[NETMAXMBX]; /* mailbox name */ | ^~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o status.o status.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o takeaddr.o takeaddr.c takeaddr.c: In function ‘take_without_edit’: takeaddr.c:2431:60: warning: ‘*__snprintf_chkieee128’ output may be truncated before the last format character [-Wformat-truncation=] 2431 | snprintf(tmp, sizeof(tmp), "Saved %d %s to \"%.*s\"", | ^ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from takeaddr.c:21: In function ‘*__snprintfieee128’, inlined from ‘take_without_edit’ at takeaddr.c:2431:2: /usr/include/bits/stdio2.h:54:10: note: ‘*__snprintf_chkieee128’ output between 20 and 201 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o titlebar.o titlebar.c titlebar.c: In function ‘set_titlebar’: titlebar.c:216:16: warning: the comparison will always evaluate as ‘true’ for the address of ‘fg’ will never be NULL [-Waddress] 216 | if(color->fg){ | ^~~~~ In file included from ../pith/headers.h:41, from headers.h:25, from titlebar.c:15: ../pith/osdep/color.h:25:14: note: ‘fg’ declared here 25 | char fg[MAXCOLORLEN+1]; | ^~ titlebar.c:221:16: warning: the comparison will always evaluate as ‘true’ for the address of ‘bg’ will never be NULL [-Waddress] 221 | if(color->bg){ | ^~~~~ ../pith/osdep/color.h:26:14: note: ‘bg’ declared here 26 | char bg[MAXCOLORLEN+1]; | ^~ titlebar.c: In function ‘output_titlebar’: titlebar.c:359:11: warning: the comparison will always evaluate as ‘true’ for the address of ‘titlebar_line’ will never be NULL [-Waddress] 359 | if(tc && tc->titlebar_line) | ^~ In file included from titlebar.c:16: titlebar.h:27:16: note: ‘titlebar_line’ declared here 27 | char titlebar_line[6*MAX_SCREEN_COLS+1]; | ^~~~~~~~~~~~~ titlebar.c: In function ‘current_titlebar_color’: titlebar.c:391:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘fg’ will never be NULL [-Waddress] 391 | if(col && col->fg && col->fg[0] && col->bg && col->bg[0]) | ^~ ../pith/osdep/color.h:25:14: note: ‘fg’ declared here 25 | char fg[MAXCOLORLEN+1]; | ^~ titlebar.c:391:37: warning: the comparison will always evaluate as ‘true’ for the address of ‘bg’ will never be NULL [-Waddress] 391 | if(col && col->fg && col->fg[0] && col->bg && col->bg[0]) | ^~ ../pith/osdep/color.h:26:14: note: ‘bg’ declared here 26 | char bg[MAXCOLORLEN+1]; | ^~ titlebar.c: In function ‘format_titlebar’: titlebar.c:428:21: warning: variable ‘thd_len’ set but not used [-Wunused-but-set-variable] 428 | ss_len, thd_len, is_context, avail, extra; | ^~~~~~~ titlebar.c:737:29: warning: ‘strncpy’ specified bound 24576 equals destination size [-Wstringop-truncation] 737 | strncpy(q, as.context_name, sizeof(fold_tmp)-(q-fold_tmp)); | ^ titlebar.c:804:33: warning: ‘strncpy’ specified bound 24577 equals destination size [-Wstringop-truncation] 804 | strncpy(q, as.folder_name, sizeof(fold_tmp)-(q-fold_tmp)); | ^ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25: In function ‘*__snprintfieee128’, inlined from ‘format_titlebar’ at titlebar.c:626:3: /usr/include/bits/stdio2.h:54:10: warning: ‘thd_label’ may be used uninitialized [-Wmaybe-uninitialized] 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ titlebar.c: In function ‘format_titlebar’: titlebar.c:423:40: note: ‘thd_label’ was declared here 423 | loc1[200], loc_label[10], *thd_label, *ss_string, *q, | ^~~~~~~~~ titlebar.c: In function ‘set_titlebar’: titlebar.c:217:17: warning: ‘strncpy’ output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 217 | strncpy(as.titlecontainer.color.fg, color->fg, MAXCOLORLEN); | ^ titlebar.c:222:17: warning: ‘strncpy’ output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 222 | strncpy(as.titlecontainer.color.bg, color->bg, MAXCOLORLEN); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o smime.o smime.c smime.c: In function ‘smime_manage_password_file_certs_init’: smime.c:1626:7: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 1626 | strncpy((*ctmp)->d.s.address, cl->name, sizeof((*ctmp)->d.s.address)); | ^ smime.c: In function ‘smime_manage_certs_init’: smime.c:1724:13: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 1724 | strncpy((*ctmp)->d.s.address, cl->name, sizeof((*ctmp)->d.s.address)); | ^ smime.c:1724:13: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newmail.o newmail.c newmail.c: In function ‘new_mail_mess’: newmail.c:153:23: warning: the address of ‘from’ will always evaluate as ‘true’ [-Waddress] 153 | from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", | ^~~~ newmail.c:154:23: warning: the comparison will always evaluate as ‘true’ for the address of ‘from’ will never be NULL [-Waddress] 154 | from && from[0] ? "rom " : "", | ^~~~ newmail.c:131:62: note: ‘from’ declared here 131 | char subject[MAILTMPLEN+1], subjtext[MAILTMPLEN+1], from[MAILTMPLEN+1], | ^~~~ newmail.c:155:23: warning: the comparison will always evaluate as ‘true’ for the address of ‘from’ will never be NULL [-Waddress] 155 | from && from[0] ? from : "", | ^~~~ newmail.c:131:62: note: ‘from’ declared here 131 | char subject[MAILTMPLEN+1], subjtext[MAILTMPLEN+1], from[MAILTMPLEN+1], | ^~~~ newmail.c:193:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘from’ will never be NULL [-Waddress] 193 | from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", | ^~~~ newmail.c:131:62: note: ‘from’ declared here 131 | char subject[MAILTMPLEN+1], subjtext[MAILTMPLEN+1], from[MAILTMPLEN+1], | ^~~~ newmail.c:194:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘from’ will never be NULL [-Waddress] 194 | from && from[0] ? "rom " : "", | ^~~~ newmail.c:131:62: note: ‘from’ declared here 131 | char subject[MAILTMPLEN+1], subjtext[MAILTMPLEN+1], from[MAILTMPLEN+1], | ^~~~ newmail.c:195:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘from’ will never be NULL [-Waddress] 195 | from && from[0] ? from : ""); | ^~~~ newmail.c:131:62: note: ‘from’ declared here 131 | char subject[MAILTMPLEN+1], subjtext[MAILTMPLEN+1], from[MAILTMPLEN+1], | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o xoauth2conf.o xoauth2conf.c xoauth2conf.c: In function ‘oauth2_get_client_info’: xoauth2conf.c:363:22: warning: unused variable ‘len’ [-Wunused-variable] 363 | int i, j, matches, len; | ^~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o date.o date.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -ltinfo -llber -lkrb5 libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -ltinfo -llber -lkrb5 ../pico/file.c: In function 'insfile.part.0': ../pico/file.c:272:31: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 272 | strncat(infile, fname, len+1-1-strlen(infile)); | ^ ../pico/file.c:266:65: note: length computed here 266 | len = strlen(dir)+strlen(S_FILESEP)+strlen(fname); | ^ imap.c: In function 'write_passfile': imap.c:4011:9: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 4011 | strncat(text, tmp, strlen(tmp)); | ^ imap.c:4010:16: note: length computed here 4010 | len += strlen(tmp) + 1; | ^ In function 'strncat', inlined from 'reply_signature' at ../pith/reply.c:1459:2: /usr/include/bits/string_fortified.h:138:10: warning: '__builtin_strncat' specified bound 1 equals source length [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rpdump.o rpdump.c rpdump.c: In function ‘mm_login’: rpdump.c:558:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 558 | if(mb->user && *mb->user){ | ^~ In file included from ../pith/headers.h:28, from headers.h:25, from rpdump.c:15: ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -ltinfo -llber -lkrb5 libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -ltinfo -llber -lkrb5 gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rpload.o rpload.c rpload.c: In function ‘mm_login’: rpload.c:797:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 797 | if(mb->user && *mb->user){ | ^~ In file included from ../pith/headers.h:28, from headers.h:25, from rpload.c:15: ../pith/../c-client/mail.h:709:8: note: ‘user’ declared here 709 | char user[NETMAXUSER]; /* user name */ | ^~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -ltinfo -llber -lkrb5 libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -ltinfo -llber -lkrb5 make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.26' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.90g1VP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le ++ dirname /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd alpine-2.26 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le 'INSTALL=/usr/bin/install -p' if test ! -L c-client ; then ln -s imap/c-client c-client ; fi touch imap/ip6 cd imap && /usr/bin/make lfd EXTRACFLAGS=" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -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.26/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -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.26/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.26/imap/c-client' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap/c-client' sh -c 'rm -rf rebuild || true' Not building bundled tools. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' /usr/bin/make install-recursive make[1]: Entering directory '/builddir/build/BUILD/alpine-2.26' Making install in m4 make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/m4' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/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.26/m4' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/m4' Making install in po make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/po' /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share if test "alpine" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -p -m 644 ./$file \ /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/po' Making install in pith make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' /usr/bin/make install-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' Making install in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith/osdep' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.26/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.26/pith/osdep' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith/osdep' Making install in charconv make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith/charconv' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.26/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.26/pith/charconv' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith/charconv' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.26/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.26/pith' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' Making install in pico make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico' Making install in osdep make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/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.26/pico/osdep' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p pico pilot '/builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/bin' libtool: install: /usr/bin/install -p pico /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/bin/pico libtool: install: /usr/bin/install -p pilot /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/bin/pilot make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico' Making install in alpine make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' /usr/bin/make install-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' Making install in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine/osdep' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.26/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.26/alpine/osdep' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p alpine rpdump rpload '/builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/bin' libtool: install: /usr/bin/install -p alpine /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/bin/alpine libtool: install: /usr/bin/install -p rpdump /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/bin/rpdump libtool: install: /usr/bin/install -p rpload /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/bin/rpload make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26' cd imap && /usr/bin/make install-mailutil BUNDLED="no" DESTDIR="/builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le" bindir="/usr/bin" mandir="/usr/share/man" make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/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.26-8.fc40.ppc64le/usr/bin; \ /usr/bin/install -p mailutil/mailutil /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/bin/mailutil; \ /usr/bin/install -p -d /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/man/man1; \ /usr/bin/install -p src/mailutil/mailutil.1 /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/man/man1/mailutil.1; \ fi make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/man/man1' /usr/bin/install -p -m 644 doc/man1/alpine.1 doc/man1/pico.1 doc/man1/pilot.1 doc/man1/rpdump.1 doc/man1/rpload.1 '/builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/man/man1' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.26' + mkdir -p /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/etc + touch /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/etc/pine.conf + touch /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/etc/pine.conf.fixed + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.26-8.fc40 --unique-debug-suffix -2.26-8.fc40.ppc64le --unique-debug-src-base alpine-2.26-8.fc40.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/alpine-2.26 find-debuginfo: starting Extracting debug info from 5 files DWARF-compressing 5 files sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/alpine-2.26-8.fc40.ppc64le 26118 blocks find-debuginfo: done + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: alpine-2.26-8.fc40.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uFzNry + umask 022 + cd /builddir/build/BUILD + cd alpine-2.26 + DOCDIR=/builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/doc/alpine + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/doc/alpine + cp -pr /builddir/build/BUILD/alpine-2.26/README /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/doc/alpine + cp -pr /builddir/build/BUILD/alpine-2.26/README.fedora /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/doc/alpine + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nNzzt9 + umask 022 + cd /builddir/build/BUILD + cd alpine-2.26 + LICENSEDIR=/builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/licenses/alpine + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/licenses/alpine + cp -pr /builddir/build/BUILD/alpine-2.26/LICENSE /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le/usr/share/licenses/alpine + RPM_EC=0 ++ jobs -p + exit 0 Provides: alpine = 2.26-8.fc40 alpine(ppc-64) = 2.26-8.fc40 config(alpine) = 2.26-8.fc40 re-alpine = 2.26-8.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(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.so.2()(64bit) liblber.so.2(OPENLDAP_2.200)(64bit) libldap.so.2()(64bit) libldap.so.2(OPENLDAP_2.200)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Conflicts: pine Processing files: alpine-debugsource-2.26-8.fc40.ppc64le Provides: alpine-debugsource = 2.26-8.fc40 alpine-debugsource(ppc-64) = 2.26-8.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: alpine-debuginfo-2.26-8.fc40.ppc64le Provides: alpine-debuginfo = 2.26-8.fc40 alpine-debuginfo(ppc-64) = 2.26-8.fc40 debuginfo(build-id) = 0e65995d47de1c99977bdf89e47cf440b33daac2 debuginfo(build-id) = 15b4d79dfad62d80f1e349bab57676a497356a14 debuginfo(build-id) = 5ad9162334d3c4df4d2b93839eabe622b70e90c5 debuginfo(build-id) = ad76ee22b66bc118e3aa2af2944096e1b4e9d975 debuginfo(build-id) = e22160c46e4f62d5e0a2ac6ed1f1282730af8e7a Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: alpine-debugsource(ppc-64) = 2.26-8.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/alpine-2.26-8.fc40.ppc64le Wrote: /builddir/build/RPMS/alpine-2.26-8.fc40.ppc64le.rpm Wrote: /builddir/build/RPMS/alpine-debuginfo-2.26-8.fc40.ppc64le.rpm Wrote: /builddir/build/RPMS/alpine-debugsource-2.26-8.fc40.ppc64le.rpm Child return code was: 0