=>> Building mail/mmh build started at Thu Dec 11 13:35:06 EST 2025 port directory: /usr/ports/mail/mmh package name: mmh-0.4_1 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: satanist+freebsd@bureaucracy.de Makefile datestamp: -rw-r--r-- 1 root wheel 1177 Aug 27 2024 /usr/ports/mail/mmh/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: 2453ff3a9da8 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 11 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/11/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for mmh-0.4_1: ====> Options available for the single LOCKING: you have to select exactly one of them DOT=off: Dot file locking FCNTL=off: fcntl() file locking FLOCK=on: flock() file locking LOCKF=off: lockf file locking ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- satanist+freebsd@bureaucracy.de --End MAINTAINER-- --CONFIGURE_ARGS-- --libdir=/usr/local/libexec/mmh --sysconfdir=/usr/local/etc/mmh --bindir=/usr/local/bin --mandir=/usr/local/share/man --docdir=/usr/local/share/doc/mmh --with-locking=flock --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/mmh/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/mmh/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/mmh/work/.cache HOME=/wrkdirs/usr/ports/mail/mmh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/mmh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/mmh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/mmh/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/mmh/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/mmh/work/.cache HOME=/wrkdirs/usr/ports/mail/mmh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/mmh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/mmh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mmh" EXAMPLESDIR="share/examples/mmh" DATADIR="share/mmh" WWWDIR="www/mmh" ETCDIR="etc/mmh" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mmh DOCSDIR=/usr/local/share/doc/mmh EXAMPLESDIR=/usr/local/share/examples/mmh WWWDIR=/usr/local/www/mmh ETCDIR=/usr/local/etc/mmh --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mmh-0.4_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> mmh-0.4_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mmh-0.4_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by mmh-0.4_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by mmh-0.4_1 for building => SHA256 Checksum OK for mmh-0.4.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by mmh-0.4_1 for building ===> Extracting for mmh-0.4_1 => SHA256 Checksum OK for mmh-0.4.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for mmh-0.4_1 ===> Applying FreeBSD patches for mmh-0.4_1 from /usr/ports/mail/mmh/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mmh-0.4_1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> mmh-0.4_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of mmh-0.4_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for mmh-0.4_1 checking build system type... x86_64-unknown-freebsd13.5 checking host system type... x86_64-unknown-freebsd13.5 checking target system type... x86_64-unknown-freebsd13.5 configuring for mmh-0.4 configuring for mmh dated 2019-01-06 checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether compiler supports -Wno-pointer-sign... yes checking for an ANSI C-conforming const... yes checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for gawk... no checking for mawk... no checking for nawk... nawk checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for cut... /usr/bin/cut checking for lclint... no checking for lint... no checking for libtool... no checking for lorder... lorder checking for tsort... tsort checking whether tsort can deal with loops... yes checking for ls... /bin/ls checking how to get ls to show us the group ownership of a file... -l checking for sendmail... /usr/sbin/sendmail checking for vi... /usr/bin/vi checking where mail spool is located... /var/mail checking whether the mail spool is world-writable... no checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking lockfile.h usability... no checking lockfile.h presence... no checking for lockfile.h... no checking for dotlockfile... no checking what group owns the mail spool... mail checking for ANSI C header files... (cached) yes checking whether termios.h defines TIOCGWINSZ... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking libio.h usability... no checking libio.h presence... no checking for libio.h... no checking for sys/ptem.h... no checking for nl_langinfo... yes checking for mbtowc... yes checking for wcwidth... yes checking for modf... yes checking for tgetent in -ltermcap... yes checking for iconv... yes checking whether _libiconv_version is declared... no checking for iconv declaration... checking if tgetent accepts NULL... no checking if tgetent returns 0 on success... no checking for pid_t... yes checking for off_t... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for size_t... yes checking for struct tm.tm_gmtoff... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for struct dirent.d_type... yes checking where signal.h is located... /dev/null configure: creating ./config.status config.status: creating Makefile config.status: creating config/Makefile config.status: creating h/Makefile config.status: creating sbr/Makefile config.status: creating uip/Makefile config.status: creating etc/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing stamp commands mmh configuration ----------------- mmh version : 0.4 target os : x86_64-unknown-freebsd13.5 compiler : cc compiler flags : -O2 -pipe -fstack-protector-strong -fno-strict-aliasing linker flags : definitions : source code location : . binary install path : /usr/local/bin library install path : /usr/local/libexec/mmh config install path : /usr/local/etc/mmh man page install path : /usr/local/share/man sendmail path : /usr/sbin/sendmail mail spool : /var/mail file locking type : flock =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for mmh-0.4_1 --- all-recursive --- for subdir in h config sbr uip etc man; do (cd $subdir && /usr/bin/make CC='cc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' CFLAGS='-O2 -pipe -fstack-protector-strong -fno-strict-aliasing' LDFLAGS='' LIBS='' prefix='/usr/local/mmh' exec_prefix='/usr/local/mmh' bindir='/usr/local/bin' etcdir='/usr/local/etc/mmh' libdir='/usr/local/libexec/mmh' mandir='/usr/local/share/man' mailspool='/var/mail' sendmailpath='/usr/sbin/sendmail' all) || exit 1; done --- config.o --- cc -c -DHAVE_CONFIG_H -DNMHETCDIR='"/usr/local/etc/mmh"' -DSENDMAILPATH='"/usr/sbin/sendmail"' -DMAILSPOOL='"/var/mail"' -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./config.c --- addrsbr.o --- --- ambigsw.o --- --- brkstring.o --- --- charset.o --- --- concat.o --- --- context_del.o --- --- context_find.o --- --- context_read.o --- --- context_replace.o --- --- context_save.o --- --- cpydata.o --- --- crawl_folders.o --- --- dtime.o --- --- error.o --- --- execprog.o --- --- ext_hook.o --- --- folder_addmsg.o --- --- folder_delmsgs.o --- --- folder_free.o --- --- folder_read.o --- --- folder_realloc.o --- --- gans.o --- --- getans.o --- --- getanswer.o --- --- getarguments.o --- --- fmt_addr.o --- --- fmt_compile.o --- --- fmt_new.o --- --- fmt_rfc2047.o --- --- fmt_scan.o --- --- lock_file.o --- --- m_atoi.o --- --- m_convert.o --- --- m_draft.o --- --- m_getfld2.o --- --- m_gmprot.o --- --- m_name.o --- --- makedir.o --- --- mts.o --- --- norm_charmap.o --- --- path.o --- --- pidwait.o --- --- sigmsg.h --- --- print_help.o --- --- print_sw.o --- --- print_version.o --- --- putenv.o --- --- mhbasename.o --- --- readconfig.o --- --- seq_add.o --- --- seq_bits.o --- --- seq_del.o --- --- seq_getnum.o --- --- seq_list.o --- --- seq_nameok.o --- --- seq_print.o --- --- seq_read.o --- --- seq_save.o --- --- seq_setcur.o --- --- seq_setprev.o --- --- seq_setunseen.o --- --- signals.o --- --- smatch.o --- --- snprintb.o --- --- sigmsg.h --- nawk -f ./sigmsg.awk /dev/null > sigmsg.h --- m_name.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing m_name.c --- m_gmprot.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing m_gmprot.c --- m_draft.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing m_draft.c --- fmt_new.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing fmt_new.c --- getarguments.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing getarguments.c --- getanswer.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing getanswer.c --- folder_realloc.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing folder_realloc.c --- folder_read.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing folder_read.c --- folder_free.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing folder_free.c --- folder_delmsgs.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing folder_delmsgs.c --- context_save.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing context_save.c --- context_find.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing context_find.c --- context_del.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing context_del.c --- charset.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing charset.c --- ambigsw.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ambigsw.c --- addrsbr.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing addrsbr.c --- readconfig.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing readconfig.c --- brkstring.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing brkstring.c --- seq_add.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_add.c --- concat.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing concat.c --- seq_bits.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_bits.c --- seq_del.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_del.c --- context_read.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing context_read.c --- context_replace.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing context_replace.c --- seq_getnum.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_getnum.c --- cpydata.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing cpydata.c --- crawl_folders.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing crawl_folders.c --- dtime.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing dtime.c --- error.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing error.c --- execprog.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing execprog.c --- ext_hook.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ext_hook.c --- folder_addmsg.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing folder_addmsg.c --- seq_list.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_list.c --- seq_nameok.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_nameok.c --- seq_print.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_print.c --- seq_read.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_read.c --- gans.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing gans.c --- getans.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing getans.c --- seq_save.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_save.c --- seq_setcur.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_setcur.c --- fmt_addr.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing fmt_addr.c --- fmt_compile.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing fmt_compile.c --- seq_setprev.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_setprev.c --- fmt_rfc2047.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing fmt_rfc2047.c --- fmt_scan.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing fmt_scan.c --- lock_file.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lock_file.c --- m_atoi.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing m_atoi.c --- m_convert.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing m_convert.c --- seq_setunseen.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_setunseen.c --- m_getfld2.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing m_getfld2.c --- signals.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing signals.c --- smatch.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing smatch.c --- makedir.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing makedir.c --- mts.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mts.c --- norm_charmap.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing norm_charmap.c --- path.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing path.c --- pidwait.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing pidwait.c --- print_help.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing print_help.c --- print_sw.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing print_sw.c --- print_version.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing print_version.c --- putenv.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing putenv.c --- mhbasename.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhbasename.c --- strcasecmp.o --- --- strindex.o --- --- trim.o --- --- trimcpy.o --- --- uprf.o --- --- vfgets.o --- --- fmt_def.o --- --- mf.o --- --- utils.o --- --- m_mktemp.o --- --- seq_msgstats.o --- --- unquote.o --- --- encode_rfc2047.o --- --- parse_msgs.o --- --- getthreadid.o --- --- dtimep.o --- --- m_atoi.o --- m_atoi.c:21:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 21 | for (i = 0, cp = str; *cp; cp++) { | ^ ~~~ 1 warning generated. --- unquote.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing unquote.c --- snprintb.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing snprintb.c --- encode_rfc2047.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing encode_rfc2047.c --- parse_msgs.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing parse_msgs.c --- getthreadid.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing getthreadid.c --- strcasecmp.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing strcasecmp.c --- strindex.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing strindex.c --- trim.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing trim.c --- trimcpy.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing trimcpy.c --- uprf.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing uprf.c --- vfgets.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing vfgets.c --- fmt_def.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing fmt_def.c --- mf.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mf.c --- utils.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing utils.c --- m_mktemp.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing m_mktemp.c --- seq_msgstats.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing seq_msgstats.c --- pidstatus.o --- --- dtimep.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing dtimep.c --- pidstatus.o --- cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing pidstatus.c --- seq_del.o --- seq_del.c:30:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 30 | if (!seq_nameok(cp)) | ^~ ../h/prototypes.h:96:31: note: passing argument to parameter here 96 | int seq_nameok(unsigned char *); | ^ seq_del.c:119:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 119 | if (!seq_nameok(cp)) | ^~ ../h/prototypes.h:96:31: note: passing argument to parameter here 96 | int seq_nameok(unsigned char *); | ^ 2 warnings generated. --- seq_add.o --- seq_add.c:30:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 30 | if (!seq_nameok(cp)) | ^~ ../h/prototypes.h:96:31: note: passing argument to parameter here 96 | int seq_nameok(unsigned char *); | ^ seq_add.c:123:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | if (!seq_nameok(cp)) | ^~ ../h/prototypes.h:96:31: note: passing argument to parameter here 96 | int seq_nameok(unsigned char *); | ^ 2 warnings generated. --- m_convert.o --- m_convert.c:145:24: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 145 | if ((range = atoi(bp = cp)) == 0) | ^ ~~ m_convert.c:145:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 145 | if ((range = atoi(bp = cp)) == 0) | ^~~~~~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ m_convert.c:240:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 240 | cp = bp = str; | ^ ~~~ m_convert.c:246:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 246 | delimp = bp; | ^ ~~ m_convert.c:247:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 247 | i = atoi(cp); | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ m_convert.c:263:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 263 | delimp = cp; | ^ ~~ m_convert.c:266:13: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 266 | if (strcmp(buf, seq_first)==0) { | ^~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ m_convert.c:270:20: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 270 | } else if (strcmp(buf, seq_last)==0) { | ^~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ m_convert.c:275:20: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 275 | } else if (strcmp(buf, seq_cur)==0) { | ^~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ m_convert.c:278:20: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 278 | } else if (strcmp(buf, seq_prev)==0) { | ^~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ m_convert.c:288:20: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 288 | } else if (strcmp(buf, seq_next)==0) { | ^~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ m_convert.c:338:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 338 | if (!(dp = context_find(nsequence))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~ m_convert.c:339:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 339 | dp = seq_neg; /* use default */ | ^ ~~~~~~~ m_convert.c:341:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 341 | if (*dp && strncmp(cp, dp, strlen(dp))==0) { | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ m_convert.c:341:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 341 | if (*dp && strncmp(cp, dp, strlen(dp))==0) { | ^~ /usr/include/string.h:105:40: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ m_convert.c:343:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 343 | cp += strlen(dp); | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ m_convert.c:348:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 348 | for (dp = cp; *dp && isalnum(*dp); dp++) | ^ ~~ m_convert.c:352:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 352 | bp = dp++; | ^ ~~~~ m_convert.c:362:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 362 | if (strcmp(dp, seq_prev)==0) { | ^~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ m_convert.c:366:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 366 | } else if (strcmp(dp, seq_next)==0) { | ^~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ m_convert.c:370:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 370 | } else if (strcmp(dp, seq_first)==0) { | ^~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ m_convert.c:372:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 372 | } else if (strcmp(dp, seq_last)==0) { | ^~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ m_convert.c:388:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 388 | if ((range = atoi(dp)) == 0) | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ 23 warnings generated. --- seq_nameok.o --- seq_nameok.c:31:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 31 | if (strcmp(s, seq_first)==0 || strcmp(s, seq_last)==0 || | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ seq_nameok.c:31:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 31 | if (strcmp(s, seq_first)==0 || strcmp(s, seq_last)==0 || | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ seq_nameok.c:32:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 32 | strcmp(s, seq_prev)==0 || strcmp(s, seq_next)==0 || | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ seq_nameok.c:32:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 32 | strcmp(s, seq_prev)==0 || strcmp(s, seq_next)==0 || | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ seq_nameok.c:33:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 33 | strcmp(s, seq_all)==0 || strcmp(s, seq_beyond)==0) { | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ seq_nameok.c:33:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 33 | strcmp(s, seq_all)==0 || strcmp(s, seq_beyond)==0) { | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ 6 warnings generated. --- mts.o --- mts.c:112:10: warning: assigning to 'unsigned char *' from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | for (cp = tmp; *np != '\0' && *np != ',';) { | ^ ~~~ mts.c:122:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | if ((cp = getenv("SIGNATURE")) && *cp) | ^ ~~~~~~~~~~~~~~~~~~~ mts.c:123:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | strncpy(tmp, cp, sizeof(tmp)); | ^~ /usr/include/string.h:106:57: note: passing argument to parameter here 106 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ mts.c:140:4: warning: assigning to 'unsigned char *' from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | cp=fullname; | ^~~~~~~~~ 4 warnings generated. --- strcasecmp.o --- strcasecmp.c:27:7: warning: assigning to 'const unsigned char *' from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 27 | us1 = ""; | ^ ~~ strcasecmp.c:29:7: warning: assigning to 'const unsigned char *' from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 29 | us2 = ""; | ^ ~~ 2 warnings generated. --- readconfig.o --- readconfig.c:59:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 59 | np->n_field = trimcpy(f.value); | ^~~~~~~ ../h/prototypes.h:111:30: note: passing argument to parameter here 111 | char *trimcpy(unsigned char *); | ^ 1 warning generated. --- seq_read.o --- seq_read.c:83:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 83 | seq_init(mp, mh_xstrdup(f.name), trimcpy(f.value)); | ^~~~~~~ ../h/prototypes.h:111:30: note: passing argument to parameter here 111 | char *trimcpy(unsigned char *); | ^ 1 warning generated. --- trimcpy.o --- trimcpy.c:26:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 26 | for (sp = cp + strlen(cp) - 1; sp >= cp; sp--) { | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ trimcpy.c:40:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 40 | return mh_xstrdup(cp); | ^~ ../h/utils.h:12:30: note: passing argument to parameter here 12 | char *mh_xstrdup(const char *); | ^ 2 warnings generated. --- trim.o --- trim.c:24:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 24 | for (sp = cp + strlen(cp) - 1; sp >= cp; sp--) { | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ trim.c:32:9: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 32 | return cp; | ^~ 2 warnings generated. --- fmt_compile.o --- fmt_compile.c:314:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 314 | usr_fstring = fstring; | ^ ~~~~~~~ 1 warning generated. --- mf.o --- mf.c:185:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 185 | dp = cp = getcpy(addrs ? addrs : ""); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mf.c:185:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 185 | dp = cp = getcpy(addrs ? addrs : ""); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mf.c:205:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | bp = cp; | ^ ~~ mf.c:207:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 207 | cp = bp; | ^ ~~ mf.c:234:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 234 | strcpy(adr, ap); | ^~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ mf.c:321:13: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 321 | char *pp = cp; | ^ ~~ mf.c:334:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 334 | cp = pp; | ^ ~~ mf.c:421:8: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 421 | char *pp = cp; | ^ ~~ mf.c:428:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 428 | cp = pp; | ^ ~~ 9 warnings generated. --- fmt_scan.o --- fmt_scan.c:371:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 371 | sp = fmt->f_text; | ^ ~~~~~~~~~~~ fmt_scan.c:376:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 376 | sp = fmt->f_text; | ^ ~~~~~~~~~~~ fmt_scan.c:390:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 390 | cpstripped(&cp, ep, str); | ^~~ fmt_scan.c:189:43: note: passing argument to parameter 'str' here 189 | cpstripped(char **start, char *end, char *str) | ^ fmt_scan.c:393:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 393 | cptrimmed(&cp, str, fmt->f_width, fmt->f_fill, ep - cp); | ^~~ fmt_scan.c:104:30: note: passing argument to parameter 'str' here 104 | cptrimmed(char **dest, char *str, unsigned int wid, char fill, size_t n) { | ^ fmt_scan.c:454:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 454 | if (!(value = (str && match(str, fmt->f_text)))) { | ^~~ fmt_scan.c:48:13: note: passing argument to parameter 'str' here 48 | match(char *str, char *sub) | ^ fmt_scan.c:462:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 462 | value = match(str, fmt->f_text); | ^~~ fmt_scan.c:48:13: note: passing argument to parameter 'str' here 48 | match(char *str, char *sub) | ^ fmt_scan.c:468:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 468 | if (!(value = (str && uprf(str, fmt->f_text)))) { | ^~~ ../h/prototypes.h:114:16: note: passing argument to parameter here 114 | int uprf(char *, char *); | ^ fmt_scan.c:475:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 475 | value = uprf(str, fmt->f_text); | ^~~ ../h/prototypes.h:114:16: note: passing argument to parameter here 114 | int uprf(char *, char *); | ^ fmt_scan.c:506:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 506 | str = fmt->f_comp->c_text; | ^ ~~~~~~~~~~~~~~~~~~~ fmt_scan.c:509:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 509 | str = fmt->f_text; | ^ ~~~~~~~~~~~ fmt_scan.c:512:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 512 | if (!(str = getenv(fmt->f_text))) | ^ ~~~~~~~~~~~~~~~~~~~ fmt_scan.c:513:9: warning: assigning to 'unsigned char *' from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 513 | str = ""; | ^ ~~ fmt_scan.c:516:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 516 | if (!(str = context_find(fmt->f_text))) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:517:9: warning: assigning to 'unsigned char *' from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 517 | str = ""; | ^ ~~ fmt_scan.c:522:9: warning: assigning to 'unsigned char *' from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 522 | str = buffer2; | ^ ~~~~~~~ fmt_scan.c:524:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 524 | str = fmt->f_comp->c_text; | ^ ~~~~~~~~~~~~~~~~~~~ fmt_scan.c:528:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 528 | if (str && decode_rfc2047(str, buffer2, sizeof(buffer2))) | ^~~ ../h/prototypes.h:40:26: note: passing argument to parameter here 40 | int decode_rfc2047(char *, char *, size_t); | ^ fmt_scan.c:529:9: warning: assigning to 'unsigned char *' from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 529 | str = buffer2; | ^ ~~~~~~~ fmt_scan.c:534:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 534 | str = fmt_trim(str, fmt->f_width); | ^~~ fmt_scan.c:297:16: note: passing argument to parameter 'str' here 297 | fmt_trim(char *str, int width) | ^ fmt_scan.c:534:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 534 | str = fmt_trim(str, fmt->f_width); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:552:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 552 | value = strlen(str); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ fmt_scan.c:578:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 578 | savestr = str; | ^ ~~~ fmt_scan.c:597:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 597 | str = tw_moty[fmt->f_comp->c_tws->tw_mon]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:600:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 600 | str = lmonth[fmt->f_comp->c_tws->tw_mon]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:603:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 603 | str = dtwszone(fmt->f_comp->c_tws); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:616:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 616 | str = tw_dotw[tws->tw_wday]; | ^ ~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:621:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 621 | str = tw_ldotw[tws->tw_wday]; | ^ ~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:660:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 660 | str = dasctime(fmt->f_comp->c_tws); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:664:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 664 | str = fmt->f_comp->c_mn->m_pers; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:667:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 667 | str = fmt->f_comp->c_mn->m_mbox; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:670:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 670 | str = fmt->f_comp->c_mn->m_host; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:673:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 673 | str = fmt->f_comp->c_mn->m_path; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:676:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 676 | str = fmt->f_comp->c_mn->m_gname; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:679:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 679 | str = fmt->f_comp->c_mn->m_note; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:682:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 682 | str = adrformat( fmt->f_comp->c_mn ); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:696:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 696 | str = fmt->f_comp->c_text; | ^ ~~~~~~~~~~~~~~~~~~~ fmt_scan.c:701:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 701 | if ((str = mn->m_pers) == NULL) { | ^ ~~~~~~~~~~ fmt_scan.c:702:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 702 | if ((str = mn->m_note)) { | ^ ~~~~~~~~~~ fmt_scan.c:703:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 703 | strncpy(buffer, str, sizeof(buffer)); | ^~~ /usr/include/string.h:106:57: note: passing argument to parameter here 106 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ fmt_scan.c:705:10: warning: assigning to 'unsigned char *' from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 705 | str = buffer; | ^ ~~~~~~ fmt_scan.c:708:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 708 | sp = str + strlen(str) - 1; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ fmt_scan.c:717:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 717 | } else if (!(str = get_x400_friendly(mn->m_mbox, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 718 | buffer, sizeof(buffer)))) { | ~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:722:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 722 | str = mn->m_mbox; | ^ ~~~~~~~~~~ fmt_scan.c:727:11: warning: assigning to 'unsigned char *' from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 727 | str= buffer; | ^ ~~~~~~ fmt_scan.c:729:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 729 | str = mn->m_text; | ^ ~~~~~~~~~~ fmt_scan.c:740:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 740 | strncpy(buffer, str, sizeof(buffer)); | ^~~ /usr/include/string.h:106:57: note: passing argument to parameter here 106 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ fmt_scan.c:744:9: warning: assigning to 'unsigned char *' from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 744 | str = buffer2; | ^ ~~~~~~~ fmt_scan.c:768:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 768 | if ((sp = comp->c_text) && (tws = dparsetime(sp))) { | ^ ~~~~~~~~~~~~ fmt_scan.c:768:49: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 768 | if ((sp = comp->c_text) && (tws = dparsetime(sp))) { | ^~ ../h/tws.h:68:30: note: passing argument to parameter here 68 | struct tws *dparsetime(char *); | ^ fmt_scan.c:783:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 783 | str = formataddr(savestr, str); | ^~~ ../h/fmt_scan.h:92:32: note: passing argument to parameter here 92 | char *formataddr(char *, char *); | ^ fmt_scan.c:783:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 783 | str = formataddr(savestr, str); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ fmt_scan.c:801:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 801 | len = strlen(str); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ fmt_scan.c:802:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 802 | sp = fmt->f_text; | ^ ~~~~~~~~~~~ fmt_scan.c:803:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 803 | indent = strlen(sp); | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ fmt_scan.c:820:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 820 | lastb = sp - 1; | ^ ~~~~~~ fmt_scan.c:823:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 823 | if (! (sp = lastb)) { | ^ ~~~~~ fmt_scan.c:843:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 843 | cpstripped(&cp, ep, lp); | ^~ fmt_scan.c:189:43: note: passing argument to parameter 'str' here 189 | cpstripped(char **start, char *end, char *str) | ^ fmt_scan.c:853:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 853 | if ((sp = comp->c_text) && (sp = getname(sp)) && | ^ ~~~~~~~~~~~~ fmt_scan.c:853:45: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 853 | if ((sp = comp->c_text) && (sp = getname(sp)) && | ^~ ../h/addrsbr.h:37:21: note: passing argument to parameter here 37 | char *getname(char *); | ^ fmt_scan.c:853:35: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 853 | if ((sp = comp->c_text) && (sp = getname(sp)) && | ^ ~~~~~~~~~~~ fmt_scan.c:854:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 854 | (mn = getm(sp, NULL, 0, fmt_norm, NULL))) { | ^~ ../h/addrsbr.h:39:29: note: passing argument to parameter here 39 | struct mailname *getm(char *, char *, int, int, char *); | ^ fmt_scan.c:875:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 875 | if ((sp = comp->c_text) && (sp = getname(sp)) && | ^ ~~~~~~~~~~~~ fmt_scan.c:875:45: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 875 | if ((sp = comp->c_text) && (sp = getname(sp)) && | ^~ ../h/addrsbr.h:37:21: note: passing argument to parameter here 37 | char *getname(char *); | ^ fmt_scan.c:875:35: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 875 | if ((sp = comp->c_text) && (sp = getname(sp)) && | ^ ~~~~~~~~~~~ fmt_scan.c:876:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 876 | (mn = getm(sp, NULL, 0, AD_NAME, NULL))) { | ^~ ../h/addrsbr.h:39:29: note: passing argument to parameter here 39 | struct mailname *getm(char *, char *, int, int, char *); | ^ fmt_scan.c:882:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 882 | while ((sp = getname(sp))) | ^~ ../h/addrsbr.h:37:21: note: passing argument to parameter here 37 | char *getname(char *); | ^ fmt_scan.c:882:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 882 | while ((sp = getname(sp))) | ^ ~~~~~~~~~~~ fmt_scan.c:884:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 884 | (mn = getm(sp, NULL, 0, AD_NAME, NULL))) | ^~ ../h/addrsbr.h:39:29: note: passing argument to parameter here 39 | struct mailname *getm(char *, char *, int, int, char *); | ^ fmt_scan.c:902:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 902 | str = trim(str); | ^ ~~~~~~~~~ fmt_scan.c:903:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 903 | if (*str == '<' && str[strlen(str)-1] == '>') { | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ fmt_scan.c:905:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 905 | str[strlen(str)-1] = '\0'; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ fmt_scan.c:907:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 907 | if (strncmp("mailto:", str, 7)==0) { | ^~~ /usr/include/string.h:105:40: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ 72 warnings generated. --- dtimep.o --- ./dtimep.lex:187:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 187 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:188:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | SETWDAY(); | ^~~~~~~~~ ./dtimep.lex:84:44: note: expanded from macro 'SETWDAY' 84 | #define SETWDAY() { tw.tw_wday = name2num(cp, tw_dotw); \ | ^~ ./dtimep.lex:60:16: note: passing argument to parameter 'name' here 60 | name2num(char *name, char *names[]) | ^ ./dtimep.lex:190:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | SETMON(); | ^~~~~~~~ ./dtimep.lex:86:42: note: expanded from macro 'SETMON' 86 | #define SETMON() { tw.tw_mon = name2num(cp, tw_moty); SKIPA(); } | ^~ ./dtimep.lex:60:16: note: passing argument to parameter 'name' here 60 | name2num(char *name, char *names[]) | ^ ./dtimep.lex:192:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 192 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:194:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 194 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:90:40: note: expanded from macro 'SETTIME' 90 | #define SETTIME() { tw.tw_hour = atoi(cp); cp += 2; SKIPTOD(); \ | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:194:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 194 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:91:19: note: expanded from macro 'SETTIME' 91 | tw.tw_min = atoi(cp); cp += 2; if(*cp == ':') { \ | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:194:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 194 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:92:19: note: expanded from macro 'SETTIME' 92 | tw.tw_sec = atoi(++cp); SKIPD(); } } | ^~~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:196:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 196 | SETYEAR(); | ^~~~~~~~~ ./dtimep.lex:88:40: note: expanded from macro 'SETYEAR' 88 | #define SETYEAR() { tw.tw_year = atoi(cp); SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:200:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 200 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:201:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 201 | SETWDAY(); | ^~~~~~~~~ ./dtimep.lex:84:44: note: expanded from macro 'SETWDAY' 84 | #define SETWDAY() { tw.tw_wday = name2num(cp, tw_dotw); \ | ^~ ./dtimep.lex:60:16: note: passing argument to parameter 'name' here 60 | name2num(char *name, char *names[]) | ^ ./dtimep.lex:203:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 203 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:205:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | SETMON(); | ^~~~~~~~ ./dtimep.lex:86:42: note: expanded from macro 'SETMON' 86 | #define SETMON() { tw.tw_mon = name2num(cp, tw_moty); SKIPA(); } | ^~ ./dtimep.lex:60:16: note: passing argument to parameter 'name' here 60 | name2num(char *name, char *names[]) | ^ ./dtimep.lex:207:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 207 | SETYEAR(); | ^~~~~~~~~ ./dtimep.lex:88:40: note: expanded from macro 'SETYEAR' 88 | #define SETYEAR() { tw.tw_year = atoi(cp); SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:209:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:90:40: note: expanded from macro 'SETTIME' 90 | #define SETTIME() { tw.tw_hour = atoi(cp); cp += 2; SKIPTOD(); \ | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:209:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:91:19: note: expanded from macro 'SETTIME' 91 | tw.tw_min = atoi(cp); cp += 2; if(*cp == ':') { \ | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:209:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:92:19: note: expanded from macro 'SETTIME' 92 | tw.tw_sec = atoi(++cp); SKIPD(); } } | ^~~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:212:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 212 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:213:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:215:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 215 | SETMON(); | ^~~~~~~~ ./dtimep.lex:86:42: note: expanded from macro 'SETMON' 86 | #define SETMON() { tw.tw_mon = name2num(cp, tw_moty); SKIPA(); } | ^~ ./dtimep.lex:60:16: note: passing argument to parameter 'name' here 60 | name2num(char *name, char *names[]) | ^ ./dtimep.lex:217:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 217 | SETYEAR(); | ^~~~~~~~~ ./dtimep.lex:88:40: note: expanded from macro 'SETYEAR' 88 | #define SETYEAR() { tw.tw_year = atoi(cp); SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:219:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:90:40: note: expanded from macro 'SETTIME' 90 | #define SETTIME() { tw.tw_hour = atoi(cp); cp += 2; SKIPTOD(); \ | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:219:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:91:19: note: expanded from macro 'SETTIME' 91 | tw.tw_min = atoi(cp); cp += 2; if(*cp == ':') { \ | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:219:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:92:19: note: expanded from macro 'SETTIME' 92 | tw.tw_sec = atoi(++cp); SKIPD(); } } | ^~~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:222:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 222 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:223:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 223 | SETWDAY(); | ^~~~~~~~~ ./dtimep.lex:84:44: note: expanded from macro 'SETWDAY' 84 | #define SETWDAY() { tw.tw_wday = name2num(cp, tw_dotw); \ | ^~ ./dtimep.lex:60:16: note: passing argument to parameter 'name' here 60 | name2num(char *name, char *names[]) | ^ ./dtimep.lex:225:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | SETMON(); | ^~~~~~~~ ./dtimep.lex:86:42: note: expanded from macro 'SETMON' 86 | #define SETMON() { tw.tw_mon = name2num(cp, tw_moty); SKIPA(); } | ^~ ./dtimep.lex:60:16: note: passing argument to parameter 'name' here 60 | name2num(char *name, char *names[]) | ^ ./dtimep.lex:227:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 227 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:229:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 229 | SETYEAR(); | ^~~~~~~~~ ./dtimep.lex:88:40: note: expanded from macro 'SETYEAR' 88 | #define SETYEAR() { tw.tw_year = atoi(cp); SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:231:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 231 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:90:40: note: expanded from macro 'SETTIME' 90 | #define SETTIME() { tw.tw_hour = atoi(cp); cp += 2; SKIPTOD(); \ | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:231:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 231 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:91:19: note: expanded from macro 'SETTIME' 91 | tw.tw_min = atoi(cp); cp += 2; if(*cp == ':') { \ | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:231:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 231 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:92:19: note: expanded from macro 'SETTIME' 92 | tw.tw_sec = atoi(++cp); SKIPD(); } } | ^~~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:234:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 234 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:235:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 235 | SETWDAY(); | ^~~~~~~~~ ./dtimep.lex:84:44: note: expanded from macro 'SETWDAY' 84 | #define SETWDAY() { tw.tw_wday = name2num(cp, tw_dotw); \ | ^~ ./dtimep.lex:60:16: note: passing argument to parameter 'name' here 60 | name2num(char *name, char *names[]) | ^ ./dtimep.lex:237:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 237 | SETMON(); | ^~~~~~~~ ./dtimep.lex:86:42: note: expanded from macro 'SETMON' 86 | #define SETMON() { tw.tw_mon = name2num(cp, tw_moty); SKIPA(); } | ^~ ./dtimep.lex:60:16: note: passing argument to parameter 'name' here 60 | name2num(char *name, char *names[]) | ^ ./dtimep.lex:239:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 239 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:241:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 241 | SETYEAR(); | ^~~~~~~~~ ./dtimep.lex:88:40: note: expanded from macro 'SETYEAR' 88 | #define SETYEAR() { tw.tw_year = atoi(cp); SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:244:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 244 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:245:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 245 | SETMON(); | ^~~~~~~~ ./dtimep.lex:86:42: note: expanded from macro 'SETMON' 86 | #define SETMON() { tw.tw_mon = name2num(cp, tw_moty); SKIPA(); } | ^~ ./dtimep.lex:60:16: note: passing argument to parameter 'name' here 60 | name2num(char *name, char *names[]) | ^ ./dtimep.lex:247:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 247 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:249:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 249 | SETYEAR(); | ^~~~~~~~~ ./dtimep.lex:88:40: note: expanded from macro 'SETYEAR' 88 | #define SETYEAR() { tw.tw_year = atoi(cp); SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:251:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 251 | SETWDAY(); | ^~~~~~~~~ ./dtimep.lex:84:44: note: expanded from macro 'SETWDAY' 84 | #define SETWDAY() { tw.tw_wday = name2num(cp, tw_dotw); \ | ^~ ./dtimep.lex:60:16: note: passing argument to parameter 'name' here 60 | name2num(char *name, char *names[]) | ^ ./dtimep.lex:254:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 254 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:255:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 255 | SETMON(); | ^~~~~~~~ ./dtimep.lex:86:42: note: expanded from macro 'SETMON' 86 | #define SETMON() { tw.tw_mon = name2num(cp, tw_moty); SKIPA(); } | ^~ ./dtimep.lex:60:16: note: passing argument to parameter 'name' here 60 | name2num(char *name, char *names[]) | ^ ./dtimep.lex:257:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:259:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 259 | SETYEAR(); | ^~~~~~~~~ ./dtimep.lex:88:40: note: expanded from macro 'SETYEAR' 88 | #define SETYEAR() { tw.tw_year = atoi(cp); SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:262:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 262 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:263:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 263 | SETYEAR(); | ^~~~~~~~~ ./dtimep.lex:88:40: note: expanded from macro 'SETYEAR' 88 | #define SETYEAR() { tw.tw_year = atoi(cp); SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:265:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 265 | SETMON_NUM(); | ^~~~~~~~~~~~ ./dtimep.lex:87:42: note: expanded from macro 'SETMON_NUM' 87 | #define SETMON_NUM() { tw.tw_mon = atoi(cp)-1; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:267:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 267 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:269:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 269 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:90:40: note: expanded from macro 'SETTIME' 90 | #define SETTIME() { tw.tw_hour = atoi(cp); cp += 2; SKIPTOD(); \ | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:269:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 269 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:91:19: note: expanded from macro 'SETTIME' 91 | tw.tw_min = atoi(cp); cp += 2; if(*cp == ':') { \ | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:269:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 269 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:92:19: note: expanded from macro 'SETTIME' 92 | tw.tw_sec = atoi(++cp); SKIPD(); } } | ^~~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:272:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 272 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:273:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | SETYEAR(); | ^~~~~~~~~ ./dtimep.lex:88:40: note: expanded from macro 'SETYEAR' 88 | #define SETYEAR() { tw.tw_year = atoi(cp); SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:275:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 275 | SETMON_NUM(); | ^~~~~~~~~~~~ ./dtimep.lex:87:42: note: expanded from macro 'SETMON_NUM' 87 | #define SETMON_NUM() { tw.tw_mon = atoi(cp)-1; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:277:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 277 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:284:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 284 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:287:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 287 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:289:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 289 | SETMON_NUM(); | ^~~~~~~~~~~~ ./dtimep.lex:87:42: note: expanded from macro 'SETMON_NUM' 87 | #define SETMON_NUM() { tw.tw_mon = atoi(cp)-1; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:292:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 292 | SETMON_NUM(); | ^~~~~~~~~~~~ ./dtimep.lex:87:42: note: expanded from macro 'SETMON_NUM' 87 | #define SETMON_NUM() { tw.tw_mon = atoi(cp)-1; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:294:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 294 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:297:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 297 | SETYEAR(); | ^~~~~~~~~ ./dtimep.lex:88:40: note: expanded from macro 'SETYEAR' 88 | #define SETYEAR() { tw.tw_year = atoi(cp); SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:299:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:90:40: note: expanded from macro 'SETTIME' 90 | #define SETTIME() { tw.tw_hour = atoi(cp); cp += 2; SKIPTOD(); \ | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:299:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:91:19: note: expanded from macro 'SETTIME' 91 | tw.tw_min = atoi(cp); cp += 2; if(*cp == ':') { \ | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:299:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | SETTIME(); | ^~~~~~~~~ ./dtimep.lex:92:19: note: expanded from macro 'SETTIME' 92 | tw.tw_sec = atoi(++cp); SKIPD(); } } | ^~~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:302:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 302 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:305:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 305 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:307:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 307 | SETMON_NUM(); | ^~~~~~~~~~~~ ./dtimep.lex:87:42: note: expanded from macro 'SETMON_NUM' 87 | #define SETMON_NUM() { tw.tw_mon = atoi(cp)-1; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:310:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 310 | SETMON_NUM(); | ^~~~~~~~~~~~ ./dtimep.lex:87:42: note: expanded from macro 'SETMON_NUM' 87 | #define SETMON_NUM() { tw.tw_mon = atoi(cp)-1; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:312:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 312 | SETDAY(); | ^~~~~~~~ ./dtimep.lex:89:39: note: expanded from macro 'SETDAY' 89 | #define SETDAY() { tw.tw_mday = atoi(cp); tw.tw_flags |= TW_YES; SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:315:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 315 | SETYEAR(); | ^~~~~~~~~ ./dtimep.lex:88:40: note: expanded from macro 'SETYEAR' 88 | #define SETYEAR() { tw.tw_year = atoi(cp); SKIPD(); } | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:322:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 322 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:324:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 324 | SETZONE(atoi(cp)); | ^~ ./dtimep.lex:93:38: note: expanded from macro 'SETZONE' 93 | #define SETZONE(x) { tw.tw_zone = ((x)/100)*60+(x)%100; \ | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:324:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 324 | SETZONE(atoi(cp)); | ^~ ./dtimep.lex:93:50: note: expanded from macro 'SETZONE' 93 | #define SETZONE(x) { tw.tw_zone = ((x)/100)*60+(x)%100; \ | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:331:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 331 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:333:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 333 | SETZONE(-atoi(cp)); | ^~ ./dtimep.lex:93:38: note: expanded from macro 'SETZONE' 93 | #define SETZONE(x) { tw.tw_zone = ((x)/100)*60+(x)%100; \ | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:333:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 333 | SETZONE(-atoi(cp)); | ^~ ./dtimep.lex:93:50: note: expanded from macro 'SETZONE' 93 | #define SETZONE(x) { tw.tw_zone = ((x)/100)*60+(x)%100; \ | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:341:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 341 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:343:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 343 | SETZONEC(atoi(cp), atoi(cp+3)); | ^~ ./dtimep.lex:95:41: note: expanded from macro 'SETZONEC' 95 | #define SETZONEC(h, m) { tw.tw_zone = (h)*60+(m); \ | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:343:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 343 | SETZONEC(atoi(cp), atoi(cp+3)); | ^~~~ ./dtimep.lex:95:48: note: expanded from macro 'SETZONEC' 95 | #define SETZONEC(h, m) { tw.tw_zone = (h)*60+(m); \ | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:350:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 350 | INIT(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:352:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 352 | SETZONEC(-atoi(cp), -atoi(cp+3)); | ^~ ./dtimep.lex:95:41: note: expanded from macro 'SETZONEC' 95 | #define SETZONEC(h, m) { tw.tw_zone = (h)*60+(m); \ | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:352:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 352 | SETZONEC(-atoi(cp), -atoi(cp+3)); | ^~~~ ./dtimep.lex:95:48: note: expanded from macro 'SETZONEC' 95 | #define SETZONEC(h, m) { tw.tw_zone = (h)*60+(m); \ | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ ./dtimep.lex:359:1: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 359 | INIT(); SETZONE(0); yyterminate(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:360:1: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 360 | INIT(); SETZONE(0); yyterminate(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:361:1: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 361 | INIT(); SETZONE(-500); yyterminate(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:362:3: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 362 | { INIT(); SETDST(); SETZONE(-500); yyterminate(); } | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:363:1: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 363 | INIT(); SETZONE(-600); yyterminate(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:364:3: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 364 | { INIT(); SETDST(); SETZONE(-600); yyterminate(); } | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:365:1: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 365 | INIT(); SETZONE(-700); yyterminate(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:366:3: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 366 | { INIT(); SETDST(); SETZONE(-700); yyterminate(); } | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:367:1: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 367 | INIT(); SETZONE(-800); yyterminate(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:368:3: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 368 | { INIT(); SETDST(); SETZONE(-800); yyterminate(); } | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:369:1: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 369 | INIT(); SETZONE(-330); yyterminate(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:370:1: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 370 | INIT(); SETZONE(-400); yyterminate(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:371:3: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 371 | { INIT(); SETDST(); SETZONE(-400); yyterminate(); } | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:372:1: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 372 | INIT(); SETZONE(-1000); yyterminate(); | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ ./dtimep.lex:373:3: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 373 | { INIT(); SETDST(); SETZONE(-1000); yyterminate(); } | ^~~~~~ ./dtimep.lex:83:21: note: expanded from macro 'INIT' 83 | #define INIT() { cp = yytext;} | ^ ~~~~~~ 98 warnings generated. --- libmh.a --- rm -f libmh.a cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DVERSION="\"`../version.sh ..`\"" -o version.o ./version.c if test x != x -a x = x ; then -static -c -o libmh.a addrsbr.o ambigsw.o brkstring.o charset.o concat.o context_del.o context_find.o context_read.o context_replace.o context_save.o cpydata.o crawl_folders.o dtime.o dtimep.o error.o execprog.o ext_hook.o folder_addmsg.o folder_delmsgs.o folder_free.o folder_read.o folder_realloc.o gans.o getans.o getanswer.o getarguments.o fmt_addr.o fmt_compile.o fmt_new.o fmt_rfc2047.o fmt_scan.o lock_file.o m_atoi.o m_convert.o m_draft.o m_getfld2.o m_gmprot.o m_name.o makedir.o mts.o norm_charmap.o path.o pidwait.o pidstatus.o print_help.o print_sw.o print_version.o putenv.o mhbasename.o readconfig.o seq_add.o seq_bits.o seq_del.o seq_getnum.o seq_list.o seq_nameok.o seq_print.o seq_read.o seq_save.o seq_setcur.o seq_setprev.o seq_setunseen.o signals.o smatch.o snprintb.o strcasecmp.o strindex.o trim.o trimcpy.o uprf.o vfgets.o fmt_def.o mf.o utils.o m_mktemp.o seq_msgstats.o unquote.o encode_rfc2047.o parse_msgs.o getthreadid.o ../config/config.o version.o; else ar cr libmh.a `lorder addrsbr.o ambigsw.o brkstring.o charset.o concat.o context_del.o context_find.o context_read.o context_replace.o context_save.o cpydata.o crawl_folders.o dtime.o dtimep.o error.o execprog.o ext_hook.o folder_addmsg.o folder_delmsgs.o folder_free.o folder_read.o folder_realloc.o gans.o getans.o getanswer.o getarguments.o fmt_addr.o fmt_compile.o fmt_new.o fmt_rfc2047.o fmt_scan.o lock_file.o m_atoi.o m_convert.o m_draft.o m_getfld2.o m_gmprot.o m_name.o makedir.o mts.o norm_charmap.o path.o pidwait.o pidstatus.o print_help.o print_sw.o print_version.o putenv.o mhbasename.o readconfig.o seq_add.o seq_bits.o seq_del.o seq_getnum.o seq_list.o seq_nameok.o seq_print.o seq_read.o seq_save.o seq_setcur.o seq_setprev.o seq_setunseen.o signals.o smatch.o snprintb.o strcasecmp.o strindex.o trim.o trimcpy.o uprf.o vfgets.o fmt_def.o mf.o utils.o m_mktemp.o seq_msgstats.o unquote.o encode_rfc2047.o parse_msgs.o getthreadid.o ../config/config.o version.o | tsort 2>/dev/null` ; ranlib libmh.a ; fi rm -f version.o --- ali.o --- --- aliasbr.o --- --- anno.o --- --- burst.o --- --- comp.o --- --- whatnowproc.o --- --- dist.o --- --- flist.o --- --- folder.o --- --- forw.o --- --- mark.o --- --- mhbuild.o --- --- mhoutsbr.o --- --- mhmisc.o --- --- mhfree.o --- --- mhparse.o --- --- termsbr.o --- --- mhl.o --- --- mhlist.o --- --- mhlistsbr.o --- --- mhmail.o --- --- mhparam.o --- --- mhpath.o --- --- mhstore.o --- --- mhshowsbr.o --- --- new.o --- --- packf.o --- --- dropsbr.o --- --- pick.o --- --- scansbr.o --- --- prompter.o --- --- rcvdist.o --- --- distsbr.o --- --- rcvpack.o --- --- rcvstore.o --- --- refile.o --- --- repl.o --- --- rmf.o --- --- rmm.o --- --- send.o --- --- mhshow.o --- --- slocal.o --- --- sortm.o --- --- spost.o --- --- whatnow.o --- --- whom.o --- --- ap.o --- --- dp.o --- --- fmtdump.o --- --- mhtest.o --- --- inc.o --- --- mmh --- --- mhsign --- --- mhpgp --- --- sendfiles --- --- print-mimetype --- --- whatnow2 --- --- sendfiles --- cp ./sendfiles.sh sendfiles chmod +x sendfiles --- mhpgp --- cp ./mhpgp.sh mhpgp chmod +x mhpgp --- mhsign --- sed "s,%libdir%,"/usr/local/libexec/mmh"," ./mhsign.sh >mhsign chmod +x mhsign --- mmh --- cp ./mmh.sh mmh chmod +x mmh --- rcvpack.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing rcvpack.c --- mhpath.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhpath.c --- mhparam.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhparam.c --- mhlist.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhlist.c --- termsbr.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing termsbr.c --- whatnowproc.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing whatnowproc.c --- comp.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing comp.c --- ali.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ali.c --- whom.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing whom.c --- aliasbr.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing aliasbr.c --- anno.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing anno.c --- burst.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing burst.c --- ap.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ap.c --- dp.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing dp.c --- dist.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing dist.c --- flist.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing flist.c --- folder.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing folder.c --- forw.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing forw.c --- mark.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mark.c --- mhbuild.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhbuild.c --- mhoutsbr.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhoutsbr.c --- mhmisc.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhmisc.c --- mhfree.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhfree.c --- mhparse.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhparse.c --- fmtdump.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing fmtdump.c --- mhl.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhl.c --- mhtest.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhtest.c --- mhlistsbr.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhlistsbr.c --- mhmail.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhmail.c --- inc.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing inc.c --- mhstore.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhstore.c --- mhshowsbr.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhshowsbr.c --- new.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing new.c --- packf.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing packf.c --- dropsbr.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing dropsbr.c --- pick.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing pick.c --- scansbr.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing scansbr.c --- prompter.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing prompter.c --- rcvdist.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing rcvdist.c --- distsbr.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing distsbr.c --- rcvstore.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing rcvstore.c --- refile.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing refile.c --- repl.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing repl.c --- rmf.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing rmf.c --- rmm.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing rmm.c --- send.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing send.c --- mhshow.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mhshow.c --- slocal.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing slocal.c --- sortm.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing sortm.c --- spost.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing spost.c --- whatnow.o --- cc -c -DHAVE_CONFIG_H -DVERSION="\"`../version.sh ..`\"" -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing whatnow.c --- mhpath --- --- mhparam --- --- comp --- --- print-mimetype --- cp ./print-mimetype.sh print-mimetype --- whatnow2 --- cp ./whatnow2.sh whatnow2 --- mhpath --- cc -o mhpath mhpath.o ../sbr/libmh.a --- mhparam --- cc -o mhparam mhparam.o ../sbr/libmh.a --- comp --- cc -o comp comp.o whatnowproc.o ../sbr/libmh.a --- forw --- cc -o forw forw.o whatnowproc.o ../sbr/libmh.a --- rmf --- cc -o rmf rmf.o ../sbr/libmh.a --- rcvstore --- --- print-mimetype --- chmod +x print-mimetype --- rcvstore --- cc -o rcvstore rcvstore.o ../sbr/libmh.a --- distsbr.o --- distsbr.c:71:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 71 | for (dp = f.value; *dp; dp++) { | ^ ~~~~~~~ 1 warning generated. --- dist --- --- new.o --- new.c:123:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | this_msgnums = trimcpy(f.value); | ^~~~~~~ ../h/prototypes.h:111:30: note: passing argument to parameter here 111 | char *trimcpy(unsigned char *); | ^ 1 warning generated. --- dist --- cc -o dist dist.o whatnowproc.o ../sbr/libmh.a --- rcvpack --- --- new --- --- mhlistsbr.o --- mhlistsbr.c:177:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 177 | dp = trimcpy(cp = mh_xstrdup(ct->c_descr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../h/prototypes.h:111:30: note: passing argument to parameter here 111 | char *trimcpy(unsigned char *); | ^ mhlistsbr.c:200:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 200 | dp = trimcpy(cp = add(ci->ci_comment, NULL)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../h/prototypes.h:111:30: note: passing argument to parameter here 111 | char *trimcpy(unsigned char *); | ^ 2 warnings generated. --- rcvpack --- cc -o rcvpack rcvpack.o dropsbr.o ../sbr/libmh.a --- mhmail --- cc -o mhmail mhmail.o ../sbr/libmh.a --- new --- cc -o new new.o ../sbr/libmh.a --- mark --- --- refile --- --- mark --- cc -o mark mark.o ../sbr/libmh.a --- refile --- cc -o refile refile.o ../sbr/libmh.a --- ap --- --- prompter --- cc -o prompter prompter.o ../sbr/libmh.a --- ap --- cc -o ap ap.o ../sbr/libmh.a --- rmm --- --- burst --- --- rmm --- cc -o rmm rmm.o ../sbr/libmh.a --- burst --- cc -o burst burst.o ../sbr/libmh.a --- packf --- --- aliasbr.o --- aliasbr.c:185:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 185 | switch (*(pp = scanp(bp))) { | ^~ aliasbr.c:38:35: note: passing argument to parameter here 38 | static char *scanp(unsigned char *); | ^ aliasbr.c:227:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 227 | switch (*(pp = scanp(ap))) { | ^~ aliasbr.c:38:35: note: passing argument to parameter here 38 | static char *scanp(unsigned char *); | ^ aliasbr.c:317:9: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 317 | return p; | ^ aliasbr.c:324:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 324 | unsigned char *cp = scanp(p); | ^ aliasbr.c:313:22: note: passing argument to parameter 'p' here 313 | scanp(unsigned char *p) | ^ aliasbr.c:324:17: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 324 | unsigned char *cp = scanp(p); | ^ ~~~~~~~~ aliasbr.c:326:4: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | p = cp; | ^ ~~ aliasbr.c:340:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 340 | p = cp = scanp(p); | ^ aliasbr.c:313:22: note: passing argument to parameter 'p' here 313 | scanp(unsigned char *p) | ^ aliasbr.c:340:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 340 | p = cp = scanp(p); | ^ ~~~~~~~~ aliasbr.c:340:4: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 340 | p = cp = scanp(p); | ^ ~~~~~~~~~~~~~ aliasbr.c:345:5: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 345 | *a = cp; | ^ ~~ aliasbr.c:444:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 444 | for (pp = cp; isspace(*pp); pp++) | ^ ~~ aliasbr.c:452:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 452 | for (cp = qp, qp--; qp > pp; qp--) | ^ ~~ aliasbr.c:460:9: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 460 | return pp; | ^~ aliasbr.c:568:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 568 | for (c = name, c1 = lname; *c && (c1 - lname < (int)sizeof(lname) - 1); | ^ ~~~~ 14 warnings generated. --- packf --- cc -o packf packf.o dropsbr.o ../sbr/libmh.a --- whom --- --- ali --- --- whom --- cc -o whom whom.o ../sbr/libmh.a --- ali --- cc -o ali ali.o aliasbr.o ../sbr/libmh.a --- folder --- cc -o folder folder.o ../sbr/libmh.a --- repl.o --- repl.c:399:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 399 | cp = new_fs(form, NULL); | ^ ~~~~~~~~~~~~~~~~~~ repl.c:400:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 400 | format_len = strlen(cp); | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ repl.c:403:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 403 | ncomps = fmt_compile(cp, &fmt) + 1; | ^~ ../h/fmt_scan.h:91:23: note: passing argument to parameter here 91 | int fmt_compile(char *, struct format **); | ^ repl.c:424:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 424 | if ((cp = getenv("USER"))) { | ^ ~~~~~~~~~~~~~~ repl.c:427:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 427 | cptr->c_text = mh_xstrdup(cp); | ^~ ../h/utils.h:12:30: note: passing argument to parameter here 12 | char *mh_xstrdup(const char *); | ^ repl.c:459:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 459 | cp = cptr->c_text; | ^ ~~~~~~~~~~~~ repl.c:460:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 460 | i = strlen(cp) - 1; | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ repl.c:464:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 464 | cp = add(",\n\t", cp); | ^~ ../h/utils.h:9:31: note: passing argument to parameter here 9 | char *add(const char *, char *); | ^ repl.c:464:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 464 | cp = add(",\n\t", cp); | ^ ~~~~~~~~~~~~~~~~ repl.c:466:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 466 | cp = add("\t", cp); | ^~ ../h/utils.h:9:31: note: passing argument to parameter here 9 | char *add(const char *, char *); | ^ repl.c:466:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 466 | cp = add("\t", cp); | ^ ~~~~~~~~~~~~~ repl.c:469:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 469 | cptr->c_text = add(f.value, cp); | ^~ ../h/utils.h:9:31: note: passing argument to parameter here 9 | char *add(const char *, char *); | ^ repl.c:497:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 497 | if (cptr && (cp = cptr->c_text)) { | ^ ~~~~~~~~~~~~ repl.c:498:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 498 | char *sp = cp; | ^ ~~ repl.c:503:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 503 | if(uprf(cp, "re:")) | ^~ ../h/prototypes.h:114:16: note: passing argument to parameter here 114 | int uprf(char *, char *); | ^ repl.c:507:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 507 | sp = cp; | ^ ~~ repl.c:510:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 510 | cp = cptr->c_text; | ^ ~~~~~~~~~~~~ 17 warnings generated. --- repl --- cc -o repl repl.o whatnowproc.o ../sbr/libmh.a --- anno.o --- anno.c:121:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 121 | if (!(comp = *argp++) || *comp == '-') | ^ ~~~~~~~ anno.c:271:17: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 271 | *ap = trimcpy(buffer); | ^~~~~~ ../h/prototypes.h:111:30: note: passing argument to parameter here 111 | char *trimcpy(unsigned char *); | ^ anno.c:271:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 271 | *ap = trimcpy(buffer); | ^ ~~~~~~~~~~~~~~~ anno.c:274:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 274 | if ((cp = *ap + strlen(*ap) - 1) > *ap && *cp == ':') | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ anno.c:276:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 276 | if (strlen(*ap) == 0) | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ anno.c:280:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 280 | if (strlen(*ap) >= NAMESZ) | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ anno.c:313:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 313 | length = strlen(comp); /* Convenience copy. */ | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ anno.c:336:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 336 | if (strncasecmp(field, comp, length)==0 && | ^~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ anno.c:338:14: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 338 | cp = trim(field + length + 1); | ^~~~~~~~~~~~~~~~~~ ../h/prototypes.h:109:27: note: passing argument to parameter here 109 | char *trim(unsigned char *); | ^ anno.c:444:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 444 | int length = strlen(comp); /* convenience copy */ | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ anno.c:499:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 499 | if (strncasecmp(field, comp, length)==0 && | ^~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ 11 warnings generated. --- anno --- cc -o anno anno.o ../sbr/libmh.a --- spost --- --- dp --- --- spost --- cc -o spost spost.o aliasbr.o ../sbr/libmh.a --- inc --- --- rcvdist --- --- dp --- cc -o dp dp.o ../sbr/libmh.a --- inc --- cc -o inc inc.o scansbr.o termsbr.o ../sbr/libmh.a -ltermcap --- rcvdist --- cc -o rcvdist rcvdist.o distsbr.o ../sbr/libmh.a --- flist.o --- flist.c:286:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 286 | if (!(p = context_find("Flist-Order"))) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ flist.c:300:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 300 | strncpy(o->name, s, p - s); | ^ /usr/include/string.h:106:57: note: passing argument to parameter here 106 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ flist.c:425:10: warning: assigning to 'unsigned char *' from 'char[256]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 425 | for (n = dp->d_name; *n && isdigit(*n); n++); | ^ ~~~~~~~~~~ 3 warnings generated. --- flist --- cc -o flist flist.o ../sbr/libmh.a --- mhshowsbr.o --- mhshowsbr.c:333:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 333 | s = trimcpy(ct->c_descr); | ^~~~~~~~~~~ ../h/prototypes.h:111:30: note: passing argument to parameter here 111 | char *trimcpy(unsigned char *); | ^ mhshowsbr.c:734:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 734 | s = trimcpy(ct->c_descr); | ^~~~~~~~~~~ ../h/prototypes.h:111:30: note: passing argument to parameter here 111 | char *trimcpy(unsigned char *); | ^ 2 warnings generated. --- mhbuild.o --- mhbuild.c:422:17: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 422 | if (get_ctinfo("multipart/mixed", ct, 0) == NOTOK) { | ^~~~~~~~~~~~~~~~~ ../h/mhparse.h:252:31: note: passing argument to parameter here 252 | int get_ctinfo(unsigned char *, CT, int); | ^ mhbuild.c:706:18: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 706 | if (get_ctinfo(content, ct, inlineD) == NOTOK) | ^~~~~~~ ../h/mhparse.h:252:31: note: passing argument to parameter here 252 | int get_ctinfo(unsigned char *, CT, int); | ^ mhbuild.c:754:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 754 | if (get_ctinfo(buf+1, ct, 1) == NOTOK) | ^~~~~ ../h/mhparse.h:252:31: note: passing argument to parameter here 252 | int get_ctinfo(unsigned char *, CT, int); | ^ mhbuild.c:797:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 797 | for (cp = ci->ci_magic + 1; isspace(*cp); cp++) | ^ ~~~~~~~~~~~~~~~~ mhbuild.c:801:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 801 | cp = mh_xstrdup(cp); | ^~ ../h/utils.h:12:30: note: passing argument to parameter here 12 | char *mh_xstrdup(const char *); | ^ mhbuild.c:801:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 801 | cp = mh_xstrdup(cp); | ^ ~~~~~~~~~~~~~~ mhbuild.c:803:18: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 803 | ci->ci_magic = cp; | ^ ~~ mhbuild.c:820:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 820 | if ((cp = context_find(buffer)) == NULL || *cp == '\0') { | ^ ~~~~~~~~~~~~~~~~~~~~ mhbuild.c:823:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 823 | if ((cp = context_find(buffer)) == NULL || | ^ ~~~~~~~~~~~~~~~~~~~~ mhbuild.c:829:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 829 | ci->ci_magic = mh_xstrdup(cp); | ^~ ../h/utils.h:12:30: note: passing argument to parameter here 12 | char *mh_xstrdup(const char *); | ^ mhbuild.c:859:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 859 | cp = *ap; | ^ ~~~ mhbuild.c:864:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 864 | folder = mh_xstrdup(expandfol(cp)); | ^~ ../h/prototypes.h:45:23: note: passing argument to parameter here 45 | char *expandfol(char *); | ^ mhbuild.c:875:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 875 | cp = *ap; | ^ ~~~ mhbuild.c:877:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 877 | if (!m_convert(mp, cp)) | ^~ ../h/prototypes.h:66:36: note: passing argument to parameter here 66 | int m_convert(struct msgs *, char *); | ^ mhbuild.c:891:19: warning: passing 'char[17]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 891 | if (get_ctinfo("multipart/digest", ct, 0) == NOTOK) | ^~~~~~~~~~~~~~~~~~ ../h/mhparse.h:252:31: note: passing argument to parameter here 252 | int get_ctinfo(unsigned char *, CT, int); | ^ mhbuild.c:909:21: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 909 | if (get_ctinfo("message/rfc822", p, 0) | ^~~~~~~~~~~~~~~~ ../h/mhparse.h:252:31: note: passing argument to parameter here 252 | int get_ctinfo(unsigned char *, CT, int); | ^ mhbuild.c:928:19: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 928 | if (get_ctinfo("message/rfc822", ct, 0) == NOTOK) | ^~~~~~~~~~~~~~~~ ../h/mhparse.h:252:31: note: passing argument to parameter here 252 | int get_ctinfo(unsigned char *, CT, int); | ^ mhbuild.c:958:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 958 | cp = SubMultiPart[vrsn - 1].kv_key; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhbuild.c:961:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 961 | cp = SubMultiPart[vrsn - 1].kv_key; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhbuild.c:964:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 964 | cp = SubMultiPart[vrsn - 1].kv_key; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhbuild.c:969:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 969 | cp = ci->ci_magic; | ^ ~~~~~~~~~~~~ mhbuild.c:974:18: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 974 | if (get_ctinfo(buffer, ct, 0) == NOTOK) | ^~~~~~ ../h/mhparse.h:252:31: note: passing argument to parameter here 252 | int get_ctinfo(unsigned char *, CT, int); | ^ mhbuild.c:1310:16: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1310 | while (fgets(buffer, sizeof(buffer) - 1, in)) { | ^~~~~~ /usr/include/stdio.h:257:30: note: passing argument to parameter here 257 | char *fgets(char * __restrict, int, FILE * __restrict); | ^ mhbuild.c:1321:32: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1321 | if (checklinelen && (strlen(buffer) > CPERLIN + 1)) { | ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mhbuild.c:1327:28: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1327 | (cp = buffer + strlen(buffer) - 2) > | ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mhbuild.c:1340:31: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1340 | for (cp = buffer + strlen(buffer) - 1; | ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mhbuild.c:1345:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1345 | if (strncmp(buffer + 2, prefix, len)==0 && | ^~~~~~~~~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ mhbuild.c:1382:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1382 | cp = strchr(*ap++, '='); | ^ ~~~~~~~~~~~~~~~~~~ mhbuild.c:1385:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1385 | *ep = cp; | ^ ~~ 29 warnings generated. --- send.o --- send.c:410:13: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 410 | p = trim(field+length+1); | ^~~~~~~~~~~~~~ ../h/prototypes.h:109:27: note: passing argument to parameter here 109 | char *trim(unsigned char *); | ^ 1 warning generated. --- send --- cc -o send send.o distsbr.o ../sbr/libmh.a --- fmtdump --- cc -o fmtdump fmtdump.o ../sbr/libmh.a --- pick.o --- pick.c:209:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | if (!seq_nameok(cp)) | ^~ ../h/prototypes.h:96:31: note: passing argument to parameter here 96 | int seq_nameok(unsigned char *); | ^ 1 warning generated. --- pick --- cc -o pick pick.o scansbr.o termsbr.o ../sbr/libmh.a -ltermcap --- sortm.o --- sortm.c:99:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 99 | while ((cp = *argp++)) { | ^ ~~~~~~~ sortm.c:101:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | switch (smatch(++cp, switches)) { | ^~~~ ../h/prototypes.h:105:18: note: passing argument to parameter here 105 | int smatch(char *, struct swit *); | ^ sortm.c:103:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 103 | ambigsw(cp, switches); | ^~ ../h/prototypes.h:29:20: note: passing argument to parameter here 29 | void ambigsw(char *, struct swit *); | ^ sortm.c:137:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 137 | if (!(cp = *argp++) || *cp == '-') | ^ ~~~~~~~ sortm.c:145:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 145 | if (!isdigit(*cp) || !(datelimit = atoi(cp))) | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ sortm.c:166:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 166 | folder = mh_xstrdup(expandfol(cp)); | ^~ ../h/prototypes.h:45:23: note: passing argument to parameter here 45 | char *expandfol(char *); | ^ sortm.c:168:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 168 | app_msgarg(&msgs, cp); | ^~ ../h/utils.h:19:44: note: passing argument to parameter here 19 | void app_msgarg(struct msgs_array *, char *); | ^ 7 warnings generated. --- sortm --- cc -o sortm sortm.o ../sbr/libmh.a --- slocal.o --- slocal.c:670:4: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 670 | s = cp; | ^ ~~ slocal.c:686:18: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 686 | for (vec[i++] = ++s; *s && *s != '"'; s++) { | ^ ~~~ slocal.c:693:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 693 | strcpy(s - 1, s); | ^~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ slocal.c:693:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 693 | strcpy(s - 1, s); | ^ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ slocal.c:708:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 708 | vec[i++] = s++; | ^ ~~~ slocal.c:1096:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1096 | strncpy(buffer, envelope + i, sizeof(buffer)); | ^~~~~~ /usr/include/string.h:106:32: note: passing argument to parameter here 106 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ slocal.c:1098:19: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1098 | if ((cp = strchr(buffer, '\n'))) { | ^~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ slocal.c:1098:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1098 | if ((cp = strchr(buffer, '\n'))) { | ^ ~~~~~~~~~~~~~~~~~~~~ slocal.c:1109:28: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1109 | for (cp = buffer + strlen(buffer) - 1; cp >= buffer; cp--) | ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ slocal.c:1115:23: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1115 | *sender = mh_xstrdup(buffer); | ^~~~~~ ../h/utils.h:12:30: note: passing argument to parameter here 12 | char *mh_xstrdup(const char *); | ^ slocal.c:1244:5: warning: assigning to 'unsigned char *' from 'char[4096]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1244 | bp = buffer; | ^ ~~~~~~ slocal.c:1251:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1251 | for (sp = bp + strlen(bp) - 1; sp >= bp; sp--) { | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ slocal.c:1265:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1265 | return mh_xstrdup(bp); | ^~ ../h/utils.h:12:30: note: passing argument to parameter here 12 | char *mh_xstrdup(const char *); | ^ 13 warnings generated. --- slocal --- cc -o slocal slocal.o ../sbr/libmh.a --- whatnow --- cc -o whatnow whatnow.o ../sbr/libmh.a --- mhparse.o --- mhparse.c:322:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 322 | cp = ct->c_vrsn; | ^ ~~~~~~~~~~ mhparse.c:326:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | for (dp = strchr(cp, '\n'); dp; dp = strchr(dp, '\n')) | ^~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ mhparse.c:326:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | for (dp = strchr(cp, '\n'); dp; dp = strchr(dp, '\n')) | ^ ~~~~~~~~~~~~~~~~ mhparse.c:326:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | for (dp = strchr(cp, '\n'); dp; dp = strchr(dp, '\n')) | ^~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ mhparse.c:326:39: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | for (dp = strchr(cp, '\n'); dp; dp = strchr(dp, '\n')) | ^ ~~~~~~~~~~~~~~~~ mhparse.c:328:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 328 | for (dp = cp + strlen(cp) - 1; dp >= cp; dp--) | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mhparse.c:342:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 342 | ucmp = !mh_strcasecmp(cp, VRSN_VALUE); | ^~ ../h/prototypes.h:76:31: note: passing argument to parameter 's1' here 76 | int mh_strcasecmp(const char *s1, const char *s2); | ^ mhparse.c:360:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 360 | if (get_ctinfo(hp->value, ct, 0) == NOTOK) | ^~~~~~~~~ ../h/mhparse.h:252:31: note: passing argument to parameter here 252 | int get_ctinfo(unsigned char *, CT, int); | ^ mhparse.c:391:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 391 | ct->c_celine = cp = mh_xstrdup(hp->value); | ^ ~~~~~~~~~~~~~~~~~~~~~ mhparse.c:391:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 391 | ct->c_celine = cp = mh_xstrdup(hp->value); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mhparse.c:405:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 405 | if (!mh_strcasecmp(cp, s2i->si_key)) | ^~ ../h/prototypes.h:76:31: note: passing argument to parameter 's1' here 76 | int mh_strcasecmp(const char *s1, const char *s2); | ^ mhparse.c:407:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 407 | if (!s2i->si_key && !uprf(cp, "X-")) | ^~ ../h/prototypes.h:114:16: note: passing argument to parameter here 114 | int uprf(char *, char *); | ^ mhparse.c:444:19: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 444 | if (get_ctinfo("message/rfc822", ct, 0) == NOTOK) | ^~~~~~~~~~~~~~~~ ../h/mhparse.h:252:31: note: passing argument to parameter here 252 | int get_ctinfo(unsigned char *, CT, int); | ^ mhparse.c:452:19: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 452 | if (get_ctinfo("text/plain", ct, 0) == NOTOK) | ^~~~~~~~~~~~ ../h/mhparse.h:252:31: note: passing argument to parameter here 252 | int get_ctinfo(unsigned char *, CT, int); | ^ mhparse.c:514:8: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 514 | char *newbuf = buf; | ^ ~~~ mhparse.c:520:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 520 | if (!strstr(buf, name_plus_equal)) { | ^~~ /usr/include/string.h:125:26: note: passing argument to parameter here 125 | char *strstr(const char *, const char *) __pure; | ^ mhparse.c:526:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 526 | for (cp = &buf[strlen(buf) - 1]; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mhparse.c:538:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 538 | prefix = mh_xstrdup(buf); | ^~~ ../h/utils.h:12:30: note: passing argument to parameter here 12 | char *mh_xstrdup(const char *); | ^ mhparse.c:539:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 539 | if ((cp = strchr(prefix, ';'))) { | ^ ~~~~~~~~~~~~~~~~~~~ mhparse.c:540:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 540 | suffix = concat(cp, NULL); | ^~ ../h/prototypes.h:32:20: note: passing argument to parameter here 32 | char *concat(char *, ...); | ^ mhparse.c:547:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 547 | newbuf = concat(buf, insertion, "\n", NULL); | ^~~ ../h/prototypes.h:32:20: note: passing argument to parameter here 32 | char *concat(char *, ...); | ^ mhparse.c:617:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 617 | cp = ct->c_ctline = mh_xstrdup(cp); | ^~ ../h/utils.h:12:30: note: passing argument to parameter here 12 | char *mh_xstrdup(const char *); | ^ mhparse.c:617:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 617 | cp = ct->c_ctline = mh_xstrdup(cp); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhparse.c:623:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 623 | for (dp = strchr(cp, '\n'); dp; dp = strchr(dp, '\n')) | ^~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ mhparse.c:623:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 623 | for (dp = strchr(cp, '\n'); dp; dp = strchr(dp, '\n')) | ^ ~~~~~~~~~~~~~~~~ mhparse.c:623:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 623 | for (dp = strchr(cp, '\n'); dp; dp = strchr(dp, '\n')) | ^~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ mhparse.c:623:37: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 623 | for (dp = strchr(cp, '\n'); dp; dp = strchr(dp, '\n')) | ^ ~~~~~~~~~~~~~~~~ mhparse.c:627:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 627 | for (dp = cp + strlen(cp) - 1; dp >= cp; dp--) | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mhparse.c:641:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 641 | ci->ci_type = mh_xstrdup(cp); /* store content type */ | ^~ ../h/utils.h:12:30: note: passing argument to parameter here 12 | char *mh_xstrdup(const char *); | ^ mhparse.c:651:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 651 | for (dp = ci->ci_type; *dp; dp++) | ^ ~~~~~~~~~~~ mhparse.c:677:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 677 | ci->ci_subtype = mh_xstrdup(cp); /* store the content subtype */ | ^~ ../h/utils.h:12:30: note: passing argument to parameter here 12 | char *mh_xstrdup(const char *); | ^ mhparse.c:686:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 686 | for (dp = ci->ci_subtype; *dp; dp++) | ^ ~~~~~~~~~~~~~~ mhparse.c:734:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 734 | vp = (*ap = mh_xstrdup(cp)) + (up - cp); | ^~ ../h/utils.h:12:30: note: passing argument to parameter here 12 | char *mh_xstrdup(const char *); | ^ mhparse.c:743:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 743 | for (cp = ++dp, dp = vp;;) { | ^ ~~ mhparse.c:767:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 767 | for (cp = dp, dp = vp; istoken(*cp); cp++, dp++) | ^ ~~ mhparse.c:793:30: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 793 | if (!(dp = strchr(ct->c_id = ++cp, '>'))) { | ^ ~~~~ mhparse.c:793:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 793 | if (!(dp = strchr(ct->c_id = ++cp, '>'))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhparse.c:814:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 814 | ct->c_descr = ++cp; | ^ ~~~~ mhparse.c:815:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 815 | for (dp = cp + strlen(cp) - 1; dp >= cp; dp--) | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mhparse.c:842:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 842 | ct->c_dispo = ++cp; | ^ ~~~~ mhparse.c:843:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 843 | for (dp = cp + strlen(cp) - 1; dp >= cp; dp--) | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mhparse.c:871:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 871 | ci->ci_magic = mh_xstrdup(cp); | ^~ ../h/utils.h:12:30: note: passing argument to parameter here 12 | char *mh_xstrdup(const char *); | ^ mhparse.c:880:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 880 | ct->c_dispo = incl_name_value(ct->c_dispo, "filename", mhbasename(extract_name_value("name", ci->ci_magic))); | ^~~~~~~~~~~ mhparse.c:513:32: note: passing argument to parameter 'buf' here 513 | incl_name_value(unsigned char *buf, char *name, char *value) { | ^ mhparse.c:1074:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1074 | for (cp = bp; isspace(*cp); cp++) | ^ ~~ mhparse.c:1082:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1082 | for (cp = bp, dp = cp + strlen(cp) - 1; dp > cp; dp--) | ^ ~~ mhparse.c:1082:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1082 | for (cp = bp, dp = cp + strlen(cp) - 1; dp > cp; dp--) | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mhparse.c:1542:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1542 | cp = context_find(buffer); | ^ ~~~~~~~~~~~~~~~~~~~~ mhparse.c:1546:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1546 | cp = context_find(buffer); | ^ ~~~~~~~~~~~~~~~~~~~~ mhparse.c:1555:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1555 | ce->ce_file = add(cp, ce->ce_file); | ^~ ../h/utils.h:9:23: note: passing argument to parameter here 9 | char *add(const char *, char *); | ^ mhparse.c:1563:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1563 | ce->ce_file = add(cp, ce->ce_file); | ^~ ../h/utils.h:9:23: note: passing argument to parameter here 9 | char *add(const char *, char *); | ^ mhparse.c:1605:18: warning: assigning to 'unsigned char *' from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1605 | for (ep = (cp = buffer) + cc; cp < ep; cp++) { | ^ ~~~~~~ mhparse.c:1753:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1753 | cp = context_find(buffer); | ^ ~~~~~~~~~~~~~~~~~~~~ mhparse.c:1757:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1757 | cp = context_find(buffer); | ^ ~~~~~~~~~~~~~~~~~~~~ mhparse.c:1766:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1766 | ce->ce_file = add(cp, ce->ce_file); | ^~ ../h/utils.h:9:23: note: passing argument to parameter here 9 | char *add(const char *, char *); | ^ mhparse.c:1774:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1774 | ce->ce_file = add(cp, ce->ce_file); | ^~ ../h/utils.h:9:23: note: passing argument to parameter here 9 | char *add(const char *, char *); | ^ mhparse.c:1809:17: warning: assigning to 'unsigned char *' from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1809 | for (ep = (cp = buffer) + cc - 1; cp <= ep; ep--) | ^ ~~~~~~ 56 warnings generated. --- mhbuild --- --- mhlist --- --- show --- --- mhstore --- --- mhtest --- --- mhbuild --- cc -o mhbuild mhbuild.o mhoutsbr.o mhmisc.o mhfree.o mhparse.o ../sbr/libmh.a -ltermcap --- mhlist --- cc -o mhlist mhlist.o mhparse.o mhlistsbr.o mhmisc.o mhfree.o termsbr.o ../sbr/libmh.a -ltermcap --- show --- cc -o show mhshow.o mhparse.o mhshowsbr.o mhlistsbr.o mhmisc.o mhfree.o termsbr.o ../sbr/libmh.a -ltermcap --- mhstore --- cc -o mhstore mhstore.o mhparse.o mhshowsbr.o mhlistsbr.o mhmisc.o mhfree.o termsbr.o ../sbr/libmh.a -ltermcap --- mhtest --- cc -o mhtest mhtest.o mhparse.o mhoutsbr.o mhmisc.o mhfree.o termsbr.o ../sbr/libmh.a -ltermcap --- mhl.o --- mhl.c:974:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 974 | for (cp = (c1->c_text ? c1->c_text : c1->c_name); *cp; cp++) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhl.c:999:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 999 | for (cp = c2->c_name; *cp; cp++) | ^ ~~~~~~~~~~ mhl.c:1013:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1013 | for (cp = c2->c_text; *cp; cp++) | ^ ~~~~~~~~~~ mhl.c:1029:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1029 | if ((cp = oneline(c2->c_text, c1->c_flags))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhl.c:1030:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1030 | putstr((c1->c_flags & RTRIM) ? rtrim(cp) : cp); | ^~ ../h/prototypes.h:110:19: note: passing argument to parameter here 110 | char *rtrim(char *); | ^ mhl.c:1030:32: warning: pointer type mismatch ('char *' and 'unsigned char *') [-Wpointer-type-mismatch] 1030 | putstr((c1->c_flags & RTRIM) ? rtrim(cp) : cp); | ^ ~~~~~~~~~ ~~ mhl.c:1034:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1034 | while ((cp = oneline(c2->c_text, c1->c_flags))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhl.c:1044:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1044 | putstr((c1->c_flags & RTRIM) ? rtrim(cp) : cp); | ^~ ../h/prototypes.h:110:19: note: passing argument to parameter here 110 | char *rtrim(char *); | ^ mhl.c:1044:33: warning: pointer type mismatch ('char *' and 'unsigned char *') [-Wpointer-type-mismatch] 1044 | putstr((c1->c_flags & RTRIM) ? rtrim(cp) : cp); | ^ ~~~~~~~~~ ~~ mhl.c:1060:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1060 | onelp = stuff; | ^ ~~~~~ mhl.c:1062:10: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1062 | return (onelp = NULL); | ^~~~~~~~~~~~~~ mhl.c:1064:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1064 | ret = onelp; | ^ ~~~~~ 12 warnings generated. --- mhl --- cc -o mhl mhl.o termsbr.o ../sbr/libmh.a -ltermcap --- titles --- ./gettitles.sh . 1 >titles1.temp ./gettitles.sh . 5 >titles5.temp ./gettitles.sh . 7 >titles7.temp ./gettitles.sh . 8 >titles8.temp --- man.sed --- --- ali.1 --- --- anno.1 --- --- burst.1 --- --- comp.1 --- --- dist.1 --- --- flist.1 --- --- flists.1 --- --- folder.1 --- --- folders.1 --- --- forw.1 --- --- inc.1 --- --- mark.1 --- --- mhbuild.1 --- --- mhl.1 --- --- mhlist.1 --- --- mhsign.1 --- --- mhpgp.1 --- --- mmh.1 --- --- mhmail.1 --- --- mhparam.1 --- --- mhpath.1 --- --- mhstore.1 --- --- new.1 --- --- fnext.1 --- --- fprev.1 --- --- unseen.1 --- --- next.1 --- --- packf.1 --- --- pick.1 --- --- prev.1 --- --- prompter.1 --- --- rcvdist.1 --- --- rcvpack.1 --- --- rcvstore.1 --- --- refile.1 --- --- repl.1 --- --- rmf.1 --- --- rmm.1 --- --- scan.1 --- --- send.1 --- --- sendfiles.1 --- --- show.1 --- --- slocal.1 --- --- sortm.1 --- --- whatnow.1 --- --- whom.1 --- --- whatnow2.1 --- --- mh-alias.5 --- --- mh-format.5 --- --- mh-mail.5 --- --- mh-profile.5 --- --- mmh-intro.7 --- --- mh-draft.7 --- --- mh-sequence.7 --- --- spost.8 --- --- ap.8 --- --- dp.8 --- --- fmtdump.8 --- --- whatnow.1 --- sed -f man.sed whatnow.man1 > whatnow.1 --- sortm.1 --- sed -f man.sed sortm.man1 > sortm.1 --- sendfiles.1 --- sed -f man.sed sendfiles.man1 > sendfiles.1 --- send.1 --- sed -f man.sed send.man1 > send.1 --- scan.1 --- sed -f man.sed scan.man1 > scan.1 --- rmm.1 --- sed -f man.sed rmm.man1 > rmm.1 --- rmf.1 --- sed -f man.sed rmf.man1 > rmf.1 --- slocal.1 --- sed -f man.sed slocal.man1 > slocal.1 --- repl.1 --- sed -f man.sed repl.man1 > repl.1 --- refile.1 --- sed -f man.sed refile.man1 > refile.1 --- rcvstore.1 --- sed -f man.sed rcvstore.man1 > rcvstore.1 --- rcvpack.1 --- sed -f man.sed rcvpack.man1 > rcvpack.1 --- rcvdist.1 --- sed -f man.sed rcvdist.man1 > rcvdist.1 --- prompter.1 --- sed -f man.sed prompter.man1 > prompter.1 --- mh-alias.5 --- sed -f man.sed mh-alias.man5 > mh-alias.5 --- whatnow2.1 --- sed -f man.sed whatnow2.man1 > whatnow2.1 --- prev.1 --- sed -f man.sed prev.man1 > prev.1 --- whom.1 --- sed -f man.sed whom.man1 > whom.1 --- show.1 --- sed -f man.sed show.man1 > show.1 --- pick.1 --- sed -f man.sed pick.man1 > pick.1 --- packf.1 --- sed -f man.sed packf.man1 > packf.1 --- next.1 --- sed -f man.sed next.man1 > next.1 --- unseen.1 --- sed -f man.sed unseen.man1 > unseen.1 --- fprev.1 --- sed -f man.sed fprev.man1 > fprev.1 --- fnext.1 --- sed -f man.sed fnext.man1 > fnext.1 --- new.1 --- sed -f man.sed new.man1 > new.1 --- mhstore.1 --- sed -f man.sed mhstore.man1 > mhstore.1 --- mhpath.1 --- sed -f man.sed mhpath.man1 > mhpath.1 --- mhparam.1 --- sed -f man.sed mhparam.man1 > mhparam.1 --- mhmail.1 --- sed -f man.sed mhmail.man1 > mhmail.1 --- mmh.1 --- sed -f man.sed mmh.man1 > mmh.1 --- mhpgp.1 --- sed -f man.sed mhpgp.man1 > mhpgp.1 --- mhsign.1 --- sed -f man.sed mhsign.man1 > mhsign.1 --- mhlist.1 --- sed -f man.sed mhlist.man1 > mhlist.1 --- mhl.1 --- sed -f man.sed mhl.man1 > mhl.1 --- mhbuild.1 --- sed -f man.sed mhbuild.man1 > mhbuild.1 --- mark.1 --- sed -f man.sed mark.man1 > mark.1 --- inc.1 --- sed -f man.sed inc.man1 > inc.1 --- forw.1 --- sed -f man.sed forw.man1 > forw.1 --- folders.1 --- sed -f man.sed folders.man1 > folders.1 --- folder.1 --- sed -f man.sed folder.man1 > folder.1 --- flists.1 --- sed -f man.sed flists.man1 > flists.1 --- flist.1 --- sed -f man.sed flist.man1 > flist.1 --- dist.1 --- sed -f man.sed dist.man1 > dist.1 --- comp.1 --- sed -f man.sed comp.man1 > comp.1 --- burst.1 --- sed -f man.sed burst.man1 > burst.1 --- anno.1 --- sed -f man.sed anno.man1 > anno.1 --- ali.1 --- sed -f man.sed ali.man1 > ali.1 --- mh-profile.5 --- sed -f man.sed mh-profile.man5 > mh-profile.5 --- mh-format.5 --- sed -f man.sed mh-format.man5 > mh-format.5 --- mh-mail.5 --- sed -f man.sed mh-mail.man5 > mh-mail.5 --- mmh-intro.7 --- sed -f man.sed mmh-intro.man7 > mmh-intro.7 --- mh-draft.7 --- sed -f man.sed mh-draft.man7 > mh-draft.7 --- mh-sequence.7 --- sed -f man.sed mh-sequence.man7 > mh-sequence.7 --- fmtdump.8 --- sed -f man.sed fmtdump.man8 > fmtdump.8 --- ap.8 --- sed -f man.sed ap.man8 > ap.8 --- dp.8 --- sed -f man.sed dp.man8 > dp.8 --- spost.8 --- sed -f man.sed spost.man8 > spost.8 --- mh-chart.man7 --- ./mh-chart-gen.sh ali.1 anno.1 burst.1 comp.1 dist.1 flist.1 flists.1 folder.1 folders.1 forw.1 inc.1 mark.1 mhbuild.1 mhl.1 mhlist.1 mhsign.1 mhpgp.1 mmh.1 mhmail.1 mhparam.1 mhpath.1 mhstore.1 new.1 fnext.1 fprev.1 unseen.1 next.1 packf.1 pick.1 prev.1 prompter.1 rcvdist.1 rcvpack.1 rcvstore.1 refile.1 repl.1 rmf.1 rmm.1 scan.1 send.1 sendfiles.1 show.1 slocal.1 sortm.1 whatnow.1 whom.1 whatnow2.1 spost.8 ap.8 dp.8 fmtdump.8 >mh-chart.man7 --- mh-chart.7 --- sed -f man.sed mh-chart.man7 > mh-chart.7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for mmh-0.4_1 ===> Generating temporary packing list for subdir in h config sbr uip etc man; do (cd $subdir && /usr/bin/make CC='cc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' CFLAGS='-O2 -pipe -fstack-protector-strong -fno-strict-aliasing' LDFLAGS='' LIBS='' prefix='/usr/local/mmh' exec_prefix='/usr/local/mmh' bindir='/usr/local/bin' etcdir='/usr/local/etc/mmh' libdir='/usr/local/libexec/mmh' mandir='/usr/local/share/man' mailspool='/var/mail' sendmailpath='/usr/sbin/sendmail' all) || exit 1; done ./gettitles.sh . 1 >titles1.temp ./gettitles.sh . 5 >titles5.temp ./gettitles.sh . 7 >titles7.temp ./gettitles.sh . 8 >titles8.temp for subdir in h config sbr uip etc man; do (cd $subdir && /usr/bin/make CC='cc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' CFLAGS='-O2 -pipe -fstack-protector-strong -fno-strict-aliasing' LDFLAGS='' LIBS='' prefix='/usr/local/mmh' exec_prefix='/usr/local/mmh' bindir='/usr/local/bin' etcdir='/usr/local/etc/mmh' libdir='/usr/local/libexec/mmh' mandir='/usr/local/share/man' mailspool='/var/mail' sendmailpath='/usr/sbin/sendmail' install) || exit 1; done mkdir -p /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin for cmd in ali anno burst comp dist flist folder forw mark mhbuild mhl mhlist mhmail mhparam mhpath mhstore new packf pick prompter rcvdist rcvpack rcvstore refile repl rmf rmm send show slocal sortm spost whatnow whom; do install -s -m 555 $cmd /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/$cmd; done mkdir -p /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/libexec/mmh for misc in ap dp fmtdump mhtest; do install -s -m 555 $misc /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/libexec/mmh/$misc; done rm -f /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/flists rm -f /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/folders rm -f /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/fnext rm -f /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/fprev rm -f /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/unseen rm -f /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/prev rm -f /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/next rm -f /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/scan ln /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/flist /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/flists ln /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/folder /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/folders ln /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/new /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/fnext ln /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/new /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/fprev ln /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/new /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/unseen ln /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/show /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/prev ln /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/show /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/next ln /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/pick /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/scan if test x != x; then install -s -m 555 -g mail -m 2755 inc /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/$cmd; else install -s -m 555 inc /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/$cmd; fi mkdir -p /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin for cmd in mmh mhsign mhpgp sendfiles print-mimetype whatnow2; do /usr/bin/install -c $cmd /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/bin/$cmd; done mkdir -p /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/etc/mmh for file in components digestcomps distcomps forwcomps mhl.body mhl.format mhl.forward mhl.headers mhl.reply mhl.whatnow2 rcvdistcomps rcvdistcomps.outbox replcomps replgroupcomps scan.MMDDYY scan.YYYYMMDD scan.nmh scan.mailx scan.nomime scan.size scan.time scan.timely scan.unseen scan.meillo scan.default mhn.defaults repllistcomps pick.default; do if [ -f "/wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/etc/mmh/$file" ]; then if cmp -s "./$file" "/wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/etc/mmh/$file" ; then :; else install -m 0644 "./$file" "/wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/etc/mmh/$file.dist"; echo "/wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/etc/mmh/$file has local modifications; installing with .dist suffix"; fi; else install -m 0644 ./$file /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/etc/mmh/$file; fi; done mkdir -p /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/share/man/man1 for file in ali.1 anno.1 burst.1 comp.1 dist.1 flist.1 flists.1 folder.1 folders.1 forw.1 inc.1 mark.1 mhbuild.1 mhl.1 mhlist.1 mhsign.1 mhpgp.1 mmh.1 mhmail.1 mhparam.1 mhpath.1 mhstore.1 new.1 fnext.1 fprev.1 unseen.1 next.1 packf.1 pick.1 prev.1 prompter.1 rcvdist.1 rcvpack.1 rcvstore.1 refile.1 repl.1 rmf.1 rmm.1 scan.1 send.1 sendfiles.1 show.1 slocal.1 sortm.1 whatnow.1 whom.1 whatnow2.1; do install -m 0644 $file /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/share/man/man1 ; done mkdir -p /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/share/man/man5 for file in mh-alias.5 mh-format.5 mh-mail.5 mh-profile.5; do install -m 0644 $file /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/share/man/man5 ; done mkdir -p /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/share/man/man7 for file in mmh-intro.7 mh-chart.7 mh-draft.7 mh-sequence.7; do install -m 0644 $file /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/share/man/man7 ; done mkdir -p /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/share/man/man8 for file in spost.8 ap.8 dp.8 fmtdump.8; do install -m 0644 $file /wrkdirs/usr/ports/mail/mmh/work/stage/usr/local/share/man/man8 ; done ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-12-11T18:35:06+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=2453ff3a9da8' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for mmh-0.4_1 ===> Building mmh-0.4_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for mmh-0.4_1 build of mail/mmh | mmh-0.4_1 ended at Thu Dec 11 13:35:20 EST 2025 build time: 00:00:15