=>> Building mail/emil build started at Thu Mar 12 13:12:45 EDT 2026 port directory: /usr/ports/mail/emil package name: emil-2.1b9_2 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 617 Aug 27 2024 /usr/ports/mail/emil/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: 5baf83a89acd Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_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_14_4_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_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 emil-2.1b9_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- YACC=byacc XDG_DATA_HOME=/wrkdirs/usr/ports/mail/emil/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/emil/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/emil/work/.cache HOME=/wrkdirs/usr/ports/mail/emil/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/emil/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/emil/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/emil/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/emil/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/emil/work/.cache HOME=/wrkdirs/usr/ports/mail/emil/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/emil/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/emil/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-- PORTDOCS="" OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/emil" EXAMPLESDIR="share/examples/emil" DATADIR="share/emil" WWWDIR="www/emil" ETCDIR="etc/emil" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/emil DOCSDIR=/usr/local/share/doc/emil EXAMPLESDIR=/usr/local/share/examples/emil WWWDIR=/usr/local/www/emil ETCDIR=/usr/local/etc/emil --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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The emil port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> emil-2.1b9_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> emil-2.1b9_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of emil-2.1b9_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The emil port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by emil-2.1b9_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The emil port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by emil-2.1b9_2 for building => SHA256 Checksum OK for emil-2.1.0-beta9.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The emil port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by emil-2.1b9_2 for building ===> Extracting for emil-2.1b9_2 => SHA256 Checksum OK for emil-2.1.0-beta9.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 emil-2.1b9_2 ===> Applying FreeBSD patches for emil-2.1b9_2 from /usr/ports/mail/emil/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> emil-2.1b9_2 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. ===> emil-2.1b9_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of emil-2.1b9_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for emil-2.1b9_2 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for bison... byacc checking for flex... flex checking for -lfl... yes checking for gcc... cc checking whether we are using GNU C... yes checking whether make sets ${MAKE}... yes checking how to run the C preprocessor... cpp checking for AIX... no checking for ranlib... ranlib checking whether cc needs -traditional... no checking for -lseq... no checking for -lsun... no checking for -lintl... no checking whether cross-compiling... no checking for dirent.h that defines DIR... yes checking whether closedir returns void... no checking for Xenix... no checking for ANSI C header files... (cached) yes checking for mode_t... (cached) yes checking for a BSD compatible install... /usr/bin/install -c checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for sysexits.h... yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for errno.h... (cached) yes checking for sys/errno.h... yes checking for netinet/in.h... (cached) yes checking for arpa/nameser.h... (cached) yes checking for resolv.h... (cached) yes checking for netdb.h... (cached) yes checking for sys/socket.h... (cached) yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking whether char is unsigned... no checking for working const... yes checking for -lm... yes checking for -lresolv... no checking for -lsocket... no checking for -lnsl... no checking for getpagesize... (cached) yes checking for gethostname... (cached) yes checking for res_search... yes updating cache ./config.cache creating ./config.status creating Makefile creating charset/Makefile creating config.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for emil-2.1b9_2 --- man --- --- finish --- --- CHARSET --- --- 7bit.o --- --- appledouble.o --- --- applefile.o --- --- applesingle.o --- --- base64.o --- --- binary.o --- --- binhex.o --- --- buffer.o --- --- convert.o --- --- filenames.o --- --- forks.o --- --- format.o --- --- hbase64.o --- --- header.o --- --- hqp.o --- --- hqxbin.o --- --- load.o --- --- logger.o --- --- mailtool.o --- --- main.o --- --- message.o --- --- mime.o --- --- mimeparse.o --- --- ns.o --- --- out.o --- --- qp.o --- --- rfc1522.o --- --- rfc822.o --- --- rfc822parse.o --- --- smtp.o --- --- structure.o --- --- sunparse.o --- --- uuencode.o --- --- s_attr.o --- --- d_attr.o --- --- a_attr.o --- --- charset.o --- --- lex.yy.c --- --- y.tab.c --- --- ./charset/dfopen.o --- --- helper --- --- finish --- Now type 'make install' to install the necessery files Try the program "helper" to get support on how to setup conversion on the local mailer of sendmail --- man --- cp emil.man emil.1 cp emil.cf.man emil.cf.1 ed emil.cf.1 chardefs.txt --- y.tab.c --- byacc -l -v getoption.y --- helper --- cc -o helper -DHAVE_CONFIG_H -DSMTP -DNAMED_BIND -DUSE_MX -DDEBUG -DMAINCF=\"/usr/local/lib/emil.cf\" -DCHARFILE=\"/usr/local/lib/charsets.cpl\" -DSENDMAILPATH=\"\" -DSENDMAILPROG=\"\" -DSENDERFLAG=\"\" -DLOG_FACILITY=LOG_MAIL -DSMTPHOSTNAME=\"host.domain\" -DEMIL_VERSION=\"2.1.0-beta9\" -DEMILPATH=\"/usr/local/bin/emil\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing helper.c --- getoption.o --- cc -c -DHAVE_CONFIG_H -DSMTP -DNAMED_BIND -DUSE_MX -DDEBUG -DMAINCF=\"/usr/local/lib/emil.cf\" -DCHARFILE=\"/usr/local/lib/charsets.cpl\" -DSENDMAILPATH=\"\" -DSENDMAILPROG=\"\" -DSENDERFLAG=\"\" -DLOG_FACILITY=LOG_MAIL -DSMTPHOSTNAME=\"host.domain\" -DEMIL_VERSION=\"2.1.0-beta9\" -DEMILPATH=\"/usr/local/bin/emil\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o getoption.o y.tab.c --- helper --- helper.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | main(int argc,char ** argv) | ^ | int --- buffer.o --- buffer.c:70: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] 70 | m->td->charset = NEWSTR(d->charset); | ^~~~~~~~~~ ./emil.h:147:56: note: expanded from macro 'NEWSTR' 147 | #define NEWSTR(S) S!=NULL?strcpy((char *)malloc(strlen(S) + 1), S):NULL | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ buffer.c:70: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] 70 | m->td->charset = NEWSTR(d->charset); | ^~~~~~~~~~ ./emil.h:147:65: note: expanded from macro 'NEWSTR' 147 | #define NEWSTR(S) S!=NULL?strcpy((char *)malloc(strlen(S) + 1), S):NULL | ^ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ buffer.c:70: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] 70 | m->td->charset = NEWSTR(d->charset); | ^ ~~~~~~~~~~~~~~~~~~ 3 warnings generated. --- CHARSET --- --- dfopen.o --- dfopen.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | xalloc(sz) | ^ dfopen.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | newstr(s) | ^ 2 warnings generated. --- ./charset/dfopen.o --- ./charset/dfopen.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | xalloc(sz) | ^ ./charset/dfopen.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | newstr(s) | ^ 2 warnings generated. --- CHARSET --- --- chset.o --- chset.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | mnem(i) | ^ chset.c:55:9: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | (void) strcpy(us, "US"); | ^ chset.c:55:9: note: include the header or explicitly provide a declaration for 'strcpy' chset.c:56:17: warning: passing arguments to 'getchset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | ref = getchset (us,DEFAULT_ESCAPE); | ^ chset.c:61:20: warning: passing arguments to 'getchset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | chset = getchset (*(argv+1), DEFAULT_ESCAPE); | ^ chset.c:66:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | exit (1); | ^ chset.c:66:3: note: include the header or explicitly provide a declaration for 'exit' chset.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | main (argc, argv) | ^ 6 warnings generated. --- forks.o --- forks.c:163:7: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | wait(&status); | ^ 1 warning generated. --- base64.o --- base64.c:199: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] 199 | inb = inbuf->contents + inbuf->offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. --- applefile.o --- applefile.c:92:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | m->child->sd->name = (char *)Yalloc(strlen(m->child->sd->name) + 2); | ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ applefile.c:92:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | m->child->sd->name = (char *)Yalloc(strlen(m->child->sd->name) + 2); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ applefile.c:93:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 93 | sprintf(m->child->sd->name, "%%%s", m->child->sibling->sd->name); | ^~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ applefile.c:128:11: warning: call to undeclared function 'get_appledouble_binary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | if (get_appledouble_binary(m->child) != OK) | ^ 4 warnings generated. --- hbase64.o --- hbase64.c:106:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 106 | append_data(outbuf, outbuf->charset, strlen(outbuf->charset), HEAD_BUF); | ^~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ hbase64.c:106: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] 106 | append_data(outbuf, outbuf->charset, strlen(outbuf->charset), HEAD_BUF); | ^~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ hbase64.c:194: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] 194 | inb = inbuf->contents + inbuf->offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. --- d_attr.o --- d_attr.c:78:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 78 | if ((d->type = confextr("APPLEFILE", d->appletype, NULL)) == NULL) | ^~~~~~~~~~~~ ./func.h:247:34: note: passing argument to parameter here 247 | char * confextr(char *, char *, char *); | ^ 1 warning generated. --- helper --- 1 warning generated. --- load.o --- load.c:113: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] 113 | out->contents = (char *) Zalloc(NULL,0,chunk); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load.c:136: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] 136 | out->contents = | ^ 137 | (char *)Zalloc(out->contents,out->size,out->size+chunk); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load.c:147: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] 147 | for ( tmp = out->contents, out->lend = 0; | ^ ~~~~~~~~~~~~~ 3 warnings generated. --- logger.o --- logger.c:144:3: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | time(&t); | ^ logger.c:145:61: warning: call to undeclared function 'ctime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | fprintf(out_fd,"Emil-server: %s v.%s %s", hn,EMIL_VERSION,ctime(&t)); | ^ logger.c:145:61: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 145 | fprintf(out_fd,"Emil-server: %s v.%s %s", hn,EMIL_VERSION,ctime(&t)); | ~~ ^~~~~~~~~ | %d 3 warnings generated. --- CHARSET --- --- conv.o --- conv.c:55:22: warning: passing arguments to 'bin2qp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | i= bin2qp(i,oc,bm); | ^ conv.c:59:40: warning: passing arguments to 'binc2base' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | for (;i or explicitly provide a declaration for 'strcpy' conv.c:81:21: warning: passing arguments to 'getopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | while ((ic = getopt(argc, argv, "buqp")) != EOF) { | ^ conv.c:94:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | exit(1); | ^ conv.c:94:3: note: include the header or explicitly provide a declaration for 'exit' conv.c:98:17: warning: passing arguments to 'getchset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | in = getchset (dk, '&'); | ^ conv.c:99:18: warning: passing arguments to 'getchset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | out = getchset (us, DEFAULT_ESCAPE); | ^ conv.c:102: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] 102 | case 2: opt = *(argv+1) ; break; | ^ ~~~~~~~~~ conv.c:105:17: warning: passing arguments to 'getchset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | in = getchset (*(argv+1), DEFAULT_ESCAPE); | ^ conv.c:106:18: warning: passing arguments to 'getchset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | out = getchset (*(argv+2), DEFAULT_ESCAPE); | ^ conv.c:110:17: warning: passing arguments to 'getchset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | in = getchset (*(argv+1), (INT16S) atoi(*(argv+2))); | ^ conv.c:111:18: warning: passing arguments to 'getchset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | out = getchset (*(argv+3), (INT16S) atoi(*(argv+4))); | ^ conv.c:134:7: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | len= strlen(s); | ^ conv.c:134:7: note: include the header or explicitly provide a declaration for 'strlen' conv.c:134:14: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 134 | len= strlen(s); | ^ conv.c:137:12: warning: passing arguments to 'qp2bin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | o= qp2bin(s,o); | ^ conv.c:143:14: warning: passing arguments to 'base2bin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | o= base2bin(s,o); | ^ conv.c:153:19: warning: passing arguments to 'bincl2base' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | bincl2base(op,ipos); | ^ conv.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | main (argc, argv) | ^ 19 warnings generated. --- baseqp.o --- baseqp.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | base4(c1, c2, c3, pads, out) | ^ baseqp.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | binc2base(in, out, pos) | ^ baseqp.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | bincl2base(out, pos) | ^ baseqp.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | base2bin(in, out) | ^ baseqp.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | bin2qp(in, out, inmax) | ^ baseqp.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | qp2bin(in, out) | ^ 6 warnings generated. --- s_attr.o --- s_attr.c:39: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] 39 | s = (char *)Yalloc(length + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ s_attr.c:46: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] 46 | return(t); | ^~~ 2 warnings generated. --- sunparse.o --- sunparse.c:198:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 198 | if (move_past_boundary(m, m->parent->sd->startbound) != OK) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:163:52: note: passing argument to parameter here 163 | int move_past_boundary(struct message *, char *); | ^ 1 warning generated. --- filenames.o --- filenames.c:41: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] 41 | m->sd->name = NEWSTR("noname"); | ^ ~~~~~~~~~~~~~~~~ filenames.c:43: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] 43 | for (name = m->sd->name; *name != '\0'; name++) | ^ ~~~~~~~~~~~ filenames.c:59: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] 59 | m->sd->appletype = (char *)Yalloc(9); | ^ ~~~~~~~~~~~~~~~~~ filenames.c:61:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 61 | strncpy(m->sd->appletype, "AURL ", 8); | ^~~~~~~~~~~~~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ filenames.c:66: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] 66 | strncpy(m->sd->appletype, "AURL ", 8); | ^~~~~~~~~~~~~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ filenames.c:68: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] 68 | strncpy(m->sd->appletype, appletype, 8); | ^~~~~~~~~~~~~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ filenames.c:83: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] 83 | extension = (char *)getextension(m->sd->name); | ^~~~~~~~~~~ ./func.h:97:30: note: passing argument to parameter here 97 | char * getextension(char *); | ^ filenames.c:84: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] 84 | for (name = m->sd->name, i = 0; *name != '\0'; name++, i++) | ^ ~~~~~~~~~~~ filenames.c:110: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] 110 | for (name = m->sd->name; *name != '\0'; name++) | ^ ~~~~~~~~~~~ filenames.c:142:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 142 | extension = getextension(m->sd->name); | ^~~~~~~~~~~ filenames.c:126:20: note: passing argument to parameter 'inb' here 126 | getextension(char *inb) | ^ filenames.c:144: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] 144 | m->sd->name = NEWSTR("noname"); | ^ ~~~~~~~~~~~~~~~~ filenames.c:147:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 147 | if ((m->sd->nameext = confextr("UUENCODE", NULL, m->sd->type)) == NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filenames.c:148: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] 148 | m->sd->nameext = confextr("UUENCODE", NULL, "DEFAULT"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filenames.c:152: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] 152 | if (extension == NULL || cmatch(m->sd->nameext, extension) == FALSE) | ^~~~~~~~~~~~~~ ./func.h:118:22: note: passing argument to parameter here 118 | int cmatch(char *, char *); | ^ filenames.c:154: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] 154 | name = (char *)Yalloc(strlen(m->sd->name) + strlen(m->sd->nameext) + 2); | ^~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ filenames.c:154:58: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 154 | name = (char *)Yalloc(strlen(m->sd->name) + strlen(m->sd->nameext) + 2); | ^~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ 16 warnings generated. --- appledouble.o --- appledouble.c:199: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] 199 | m->sd->name = (char *)get_string(d, offset, length); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ appledouble.c:232: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] 232 | m->sd->appletype = get_string(d, offset, 8); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ appledouble.c:328: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] 328 | nlength = strlen(m->sd->name); | ^~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ appledouble.c:349: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] 349 | append_data(target, m->sd->name, nlength, pz); | ^~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ appledouble.c:358: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] 358 | append_data(target, m->sd->appletype, 8, pz); | ^~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ appledouble.c:364: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] 364 | append_data(target, resource->contents + resource->bodystart, rlength, pz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ 6 warnings generated. --- mimeparse.o --- mimeparse.c:141:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 141 | set_end_by_boundary(m, m->sd->endbound); | ^~~~~~~~~~~~~~~ ./func.h:170:53: note: passing argument to parameter here 170 | int set_end_by_boundary(struct message *, char *); | ^ mimeparse.c:204:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | if (move_past_boundary(m, m->parent->sd->startbound) != OK) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:163:52: note: passing argument to parameter here 163 | int move_past_boundary(struct message *, char *); | ^ mimeparse.c:210:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 210 | set_end_by_boundary(m, m->parent->sd->startbound); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:170:53: note: passing argument to parameter here 170 | int set_end_by_boundary(struct message *, char *); | ^ mimeparse.c:226:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 226 | move_past_boundary(m, m->sd->endbound); | ^~~~~~~~~~~~~~~ ./func.h:163:52: note: passing argument to parameter here 163 | int move_past_boundary(struct message *, char *); | ^ 4 warnings generated. --- convert.o --- convert.c:145:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 145 | m->td->charset = source->charset == NULL ? NEWSTR("US-ASCII") : | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 146 | source->charset; | ~~~~~~~~~~~~~~~ convert.c:164:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 164 | m->td->charset = source->charset == NULL ? NEWSTR("ISO-8859-1") : | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | source->charset; | ~~~~~~~~~~~~~~~ convert.c:210: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] 210 | (cmatch(target->charset, m->sd->charset) == FALSE))) | ^~~~~~~~~~~~~~ ./func.h:118:30: note: passing argument to parameter here 118 | int cmatch(char *, char *); | ^ 3 warnings generated. --- ns.o --- ns.c:117:24: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 117 | if ((n = dn_expand((char *)answer.buf, eom, cp, bp, buflen)) < 0) { | ^~~~~~~~~~~~~~~~~~ /usr/include/resolv.h:447:30: note: passing argument to parameter here 447 | int dn_expand(const u_char *, const u_char *, const u_char *, | ^ ns.c:130:26: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | if ((n = dn_expand((char *)answer.buf, eom, cp, bp, buflen)) < 0) { | ^~~~~~~~~~~~~~~~~~ /usr/include/resolv.h:447:30: note: passing argument to parameter here 447 | int dn_expand(const u_char *, const u_char *, const u_char *, | ^ 2 warnings generated. --- mailtool.o --- mailtool.c:54: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] 54 | m->td->startbound = NEWSTR("----------"); | ^ ~~~~~~~~~~~~~~~~~~~~ mailtool.c:62: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] 62 | m->td->startbound = NEWSTR("----------"); | ^ ~~~~~~~~~~~~~~~~~~~~ mailtool.c:65:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 65 | if ((dt = (char *)confextr("MAILTOOL", NULL, m->sd->type)) != NULL || | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailtool.c:66: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] 66 | (dt = (char *)confextr("MAILTOOL", NULL, "DEFAULT")) != NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailtool.c:68:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 68 | add_header(m, "X-Sun-Data-Type", dt, MAILTOOL); | ^~ ./func.h:128:52: note: passing argument to parameter here 128 | void add_header(struct message *, char *, char *, int); | ^ mailtool.c:113:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 113 | add_header(m, "X-Sun-Data-description", m->sd->description, MAILTOOL); | ^~~~~~~~~~~~~~~~~~ ./func.h:128:52: note: passing argument to parameter here 128 | void add_header(struct message *, char *, char *, int); | ^ mailtool.c:118: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] 118 | add_header(m, "X-Sun-Data-name", m->sd->name, MAILTOOL); | ^~~~~~~~~~~ ./func.h:128:52: note: passing argument to parameter here 128 | void add_header(struct message *, char *, char *, int); | ^ mailtool.c:131: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] 131 | if ((m->sd->charset = (char *)gethval(m, "X-Sun-charset", MAILTOOL)) == NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailtool.c:145:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 145 | m->sd->startbound = NEWSTR("----------"); | ^ ~~~~~~~~~~~~~~~~~~~~ mailtool.c:164: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] 164 | m->sd->charset = (char *)gethval(m, "X-Sun-charset", MAILTOOL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailtool.c:169:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | m->sd->charset = NEWSTR("US-ASCII"); | ^ ~~~~~~~~~~~~~~~~~~ mailtool.c:232:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 232 | m->sd->description = (char *)gethval(m, "X-Sun-Data-description", MAILTOOL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailtool.c:233:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 233 | m->sd->name = (char *)gethval(m, "X-Sun-Data-name", MAILTOOL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailtool.c:249: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] 249 | c = d->contents + i; | ^ ~~~~~~~~~~~~~~~ 14 warnings generated. --- CHARSET --- --- strncnv.o --- strncnv.c:126:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | strncnv(r_chset, s_chset, result, source, n) | ^ strncnv.c:326:27: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 326 | for (t = chartabs; t && strcmp(t->name, s); t = t->next) | ^ strncnv.c:326:27: note: include the header or explicitly provide a declaration for 'strcmp' strncnv.c:349:23: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | t->name = newstr(s); | ^ strncnv.c:369:29: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | c = (CHARSET *) xalloc(sizeof (CHARSET)); | ^ strncnv.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | getchset(s, esc) | ^ In file included from strncnv.c:40: ./charset.h:91:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | extern CHARSET *getchset(); | ^ strncnv.c:461:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | findchs(s) | ^ strncnv.c:482:26: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | buf = (char *) xalloc(hdr.sizdir); | ^ strncnv.c:517:27: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | t = (CHARTAB *) xalloc(sizeof(CHARTAB)); | ^ strncnv.c:537:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | getinch(t) | ^ strncnv.c:548:24: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | in = (IN_CH *) xalloc(sz); | ^ strncnv.c:594:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | getoutch(t) | ^ strncnv.c:604:26: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | out = (OUT_CH *) xalloc(sz1 * sizeof (OUT_CH)); | ^ 13 warnings generated. --- conv --- --- ch- --- conv --- cc -o conv -I. -I.. -DXERR -DHAVE_CONFIG_H -DCHARFILE=\"/usr/local/lib/charsets.cpl\" conv.o strncnv.o dfopen.o baseqp.o --- ch- cc -o ch. -I.. -DXERR -DHAVE_CONFIG_H -DCHARFILE=\"/usr/local/lib/charsets.cpl\" chset.o strncnv.o dfopen.o --- applesingle.o --- applesingle.c:243: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] 243 | append_data(r, d->contents + d->bodystart + offset, length, pz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ applesingle.c:260: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] 260 | m->sd->name = (char *)Yalloc(length + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ applesingle.c:295: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] 295 | m->sd->appletype = (char *)Yalloc(9); | ^ ~~~~~~~~~~~~~~~~~ applesingle.c:339:52: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 339 | if ((d->type = (char *)confextr("APPLEFILE", d->appletype, NULL)) == NULL) | ^~~~~~~~~~~~ ./func.h:247:34: note: passing argument to parameter here 247 | char * confextr(char *, char *, char *); | ^ applesingle.c:394: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] 394 | nlength = strlen(m->sd->name); | ^~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ applesingle.c:419: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] 419 | append_data(target, m->sd->name, nlength, pz); | ^~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ applesingle.c:422: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] 422 | append_data(target, m->sd->appletype, 8, pz); | ^~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ applesingle.c:427: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] 427 | append_data(target, data->contents + data->bodystart, dlength, pz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ applesingle.c:430: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] 430 | append_data(target, resource->contents + resource->bodystart, rlength, pz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ 9 warnings generated. --- binhex.o --- binhex.c:229: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] 229 | inb = inbuf->contents + inbuf->offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. --- header.o --- header.c:76:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 76 | buf = indata->contents + indata->offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ header.c:109: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] 109 | if (strncasecmp(line_buf->contents, "from ", 5) == 0 || | ^~~~~~~~~~~~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ header.c:110: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] 110 | strncasecmp(line_buf->contents,">from ", 6) == 0) | ^~~~~~~~~~~~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ header.c:119: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] 119 | if (isheader(line_buf->contents)) | ^~~~~~~~~~~~~~~~~~ header.c:44:20: note: passing argument to parameter here 44 | int isheader(char *); | ^ header.c:199:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 199 | append_data(hdr->field, line->contents, line->end, HEAD_BUF); | ^~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ header.c:203: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] 203 | value = index(line->contents, ':'); assert(value); | ^~~~~~~~~~~~~~ /usr/include/strings.h:60:25: note: passing argument to parameter here 60 | char *index(const char *, int) __pure; /* LEGACY */ | ^ header.c:208:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | append_data(hdr->field, line->contents, strlen(line->contents), HEAD_BUF); | ^~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ header.c:208: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] 208 | append_data(hdr->field, line->contents, strlen(line->contents), HEAD_BUF); | ^~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ header.c:235: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] 235 | cmatch(thdr->field->contents, field) == TRUE) | ^~~~~~~~~~~~~~~~~~~~~ ./func.h:118:22: note: passing argument to parameter here 118 | int cmatch(char *, char *); | ^ header.c:276: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] 276 | cmatch(thdr->field->contents, field) == TRUE) | ^~~~~~~~~~~~~~~~~~~~~ ./func.h:118:22: note: passing argument to parameter here 118 | int cmatch(char *, char *); | ^ header.c:329: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] 329 | append_data(outbuf, h->td->contents + h->td->bodystart, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ 11 warnings generated. --- smtp.o --- smtp.c:97:8: warning: call to undeclared function 'inet_addr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | i = inet_addr(p); | ^ 1 warning generated. --- rfc822.o --- rfc822.c:51: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] 51 | m->sd->charset = c; | ^ ~ rfc822.c:53: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] 53 | m->sd->charset = (char *)source->charset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. --- uuencode.o --- uuencode.c:239: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] 239 | inb = inbuf->contents + inbuf->offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uuencode.c:255:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 255 | m->sd->name = NEWSTR(filename); | ^ ~~~~~~~~~~~~~~~~ uuencode.c:258:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 258 | if ((m->sd->nameext = getextension(filename)) != NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~ uuencode.c:259:47: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 259 | if ((m->sd->type = confextr("UUENCODE", m->sd->nameext, NULL)) == NULL) | ^~~~~~~~~~~~~~ ./func.h:247:34: note: passing argument to parameter here 247 | char * confextr(char *, char *, char *); | ^ 4 warnings generated. --- mime.o --- mime.c:71: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] 71 | m->td->startbound = (char *)Yalloc(MIMEBOUNDLEN + 5); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:72: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] 72 | m->td->endbound = (char *)Yalloc(MIMEBOUNDLEN + 7); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:73: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] 73 | sprintf(m->td->startbound, "--%s", bb); | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mime.c:74: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] 74 | sprintf(m->td->endbound, "--%s--", bb); | ^~~~~~~~~~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ mime.c:121:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 121 | add_header(m, "Content-Description", m->sd->description, MIME); | ^~~~~~~~~~~~~~~~~~ ./func.h:128:52: note: passing argument to parameter here 128 | void add_header(struct message *, char *, char *, int); | ^ mime.c:125:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | add_header(m, "Content-Description", m->sd->name, MIME); | ^~~~~~~~~~~ ./func.h:128:52: note: passing argument to parameter here 128 | void add_header(struct message *, char *, char *, int); | ^ mime.c:152:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 152 | m->sd->charset = NEWSTR("US-ASCII"); | ^ ~~~~~~~~~~~~~~~~~~ mime.c:186: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] 186 | m->sd->charset = (char *)fixstring(getpartrest(line, "charset=", ";"), NULL, NULL, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 187 | (short) UNQUOTE); | ~~~~~~~~~~~~~~~~ mime.c:193:27: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 193 | m->sd->startbound = (char *)fixstring(getpartrest(line, "boundary=", ";"), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 194 | "--", NULL, (short) UNQUOTE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:195:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 195 | m->sd->endbound = (char *)fixstring(getpartrest(line, "boundary=", ";"), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | "--", "--", (short) UNQUOTE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:208: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] 208 | m->sd->name = (char *)fixstring(getpartrest(line, "name=", ";"), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | NULL, NULL, (short) UNQUOTE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.c:260:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 260 | m->sd->description = (char *)gethval(m, "Content-description", MIME); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. --- hqp.o --- hqp.c:84:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 84 | append_data(outbuf, outbuf->charset, strlen(outbuf->charset), HEAD_BUF); | ^~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ hqp.c:84: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] 84 | append_data(outbuf, outbuf->charset, strlen(outbuf->charset), HEAD_BUF); | ^~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ hqp.c:87: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] 87 | inb = inbuf->contents + inbuf->offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hqp.c:161: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] 161 | inb = inbuf->contents + inbuf->offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. --- qp.o --- qp.c:79: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] 79 | inb = inbuf->contents + inbuf->offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qp.c:159: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] 159 | inb = inbuf->contents + inbuf->offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. --- message.o --- message.c:261: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] 261 | (strlen(parent->sd->startbound)) != 0) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ message.c:263: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] 263 | if (is_bound(m->sd, parent->sd->startbound)) | ^~~~~~~~~~~~~~~~~~~~~~ ./func.h:167:39: note: passing argument to parameter here 167 | int is_bound(struct data *, char *); | ^ message.c:275: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] 275 | if (strncmp((m->sd->contents + m->sd->offset), "begin ", 6) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ message.c:286:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 286 | if (strncasecmp((m->sd->contents + m->sd->offset), "(This file ", 11) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ message.c:314: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] 314 | strncmp((d->contents + d->offset), boundary, blen) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ message.c:403: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] 403 | tmp = index(inbuf->contents + inbuf->offset, '\n'); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:60:25: note: passing argument to parameter here 60 | char *index(const char *, int) __pure; /* LEGACY */ | ^ message.c:403: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] 403 | tmp = index(inbuf->contents + inbuf->offset, '\n'); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. --- out.o --- out.c:149:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 149 | append_data(line, (d->contents + d->offset), len, MED_BUF); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ out.c:152:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 152 | if (index(line->contents, '\n') == NULL) | ^~~~~~~~~~~~~~ /usr/include/strings.h:60:25: note: passing argument to parameter here 60 | char *index(const char *, int) __pure; /* LEGACY */ | ^ out.c:158:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 157 | fprintf(stderr, "No EOL at line starting on d->offset = %d\n", | ~~ | %lu 158 | d->offset); | ^~~~~~~~~ out.c:164: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] 164 | if (strcmp(line->contents, ".\n") == 0 || | ^~~~~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ out.c:165: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] 165 | strcmp(line->contents, ".\r\n") == 0) | ^~~~~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ out.c:169: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] 169 | if (strncmp(line->contents, "From ", 5) == 0) | ^~~~~~~~~~~~~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ out.c:171:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 171 | print_line(line->contents); | ^~~~~~~~~~~~~~ ./func.h:191:26: note: passing argument to parameter here 191 | int print_line(char *); | ^ out.c:186: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] 186 | print_line(line->contents); | ^~~~~~~~~~~~~~ ./func.h:191:26: note: passing argument to parameter here 191 | int print_line(char *); | ^ out.c:190: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] 190 | if (strncmp(line->contents, "From ", 5) == 0) | ^~~~~~~~~~~~~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ out.c:191: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] 191 | print_line(line->contents); | ^~~~~~~~~~~~~~ ./func.h:191:26: note: passing argument to parameter here 191 | int print_line(char *); | ^ out.c:195: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] 195 | print_line(line->contents); | ^~~~~~~~~~~~~~ ./func.h:191:26: note: passing argument to parameter here 191 | int print_line(char *); | ^ out.c:245: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] 245 | print_line(th->value->contents); | ^~~~~~~~~~~~~~~~~~~ ./func.h:191:26: note: passing argument to parameter here 191 | int print_line(char *); | ^ out.c:309: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] 309 | append_data(line, (d->contents + d->offset), d->bodyend - d->offset, MED_BUF); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ out.c:310: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] 310 | print_line(line->contents); | ^~~~~~~~~~~~~~ ./func.h:191:26: note: passing argument to parameter here 191 | int print_line(char *); | ^ 14 warnings generated. --- format.o --- format.c:191: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] 191 | (cmatch(hdr->field->contents, hfield) == TRUE)) | ^~~~~~~~~~~~~~~~~~~~ ./func.h:118:22: note: passing argument to parameter here 118 | int cmatch(char *, char *); | ^ format.c:237:55: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 237 | append_data(th->field, hdr->field->contents, strlen(hdr->field->contents), | ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ format.c:237: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] 237 | append_data(th->field, hdr->field->contents, strlen(hdr->field->contents), | ^~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ format.c:414: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] 414 | if (strncasecmp(a->contents + a->bodystart, b->contents + b->bodystart, alen) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ format.c:414:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 414 | if (strncasecmp(a->contents + a->bodystart, b->contents + b->bodystart, alen) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ format.c:447:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 447 | cmatch(hdr->field->contents, hfield) == TRUE) | ^~~~~~~~~~~~~~~~~~~~ ./func.h:118:22: note: passing argument to parameter here 118 | int cmatch(char *, char *); | ^ format.c:451: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] 451 | return(hdr->value->contents); | ^~~~~~~~~~~~~~~~~~~~~~ format.c:531:17: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 531 | for (; str != '\0' && i <= partno; str++) | ^~~~ | (void *)0 8 warnings generated. --- main.o --- main.c:418:38: warning: call to undeclared function 'getmember'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 418 | target = (struct config_struct *) getmember(member); | ^ main.c:418:13: warning: cast to 'struct config_struct *' from smaller integer type 'int' [-Wint-to-pointer-cast] 418 | target = (struct config_struct *) getmember(member); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. --- hqxbin.o --- hqxbin.c:135:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 135 | m->sd->name = (char *)Yalloc(filenamelen + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hqxbin.c:186:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 186 | m->sd->appletype = (char *)Yalloc(9); | ^ ~~~~~~~~~~~~~~~~~ hqxbin.c:216:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 216 | if ((m->sd->type = confextr("APPLEFILE", m->sd->appletype, NULL)) == NULL) | ^~~~~~~~~~~~~~~~ ./func.h:247:34: note: passing argument to parameter here 247 | char * confextr(char *, char *, char *); | ^ hqxbin.c:259:24: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 259 | d->length = getblong(cdlen); | ^~~~~ ./func.h:236:39: note: passing argument to parameter here 236 | unsigned long getblong(unsigned char *); | ^ hqxbin.c:284:24: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 284 | if ((rlen = getblong(cdlen)) != 0) | ^~~~~ ./func.h:236:39: note: passing argument to parameter here 236 | unsigned long getblong(unsigned char *); | ^ hqxbin.c:440: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] 440 | m->sd->name = NEWSTR("noname"); | ^ ~~~~~~~~~~~~~~~~ hqxbin.c:442: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] 442 | filenamelen = strlen(m->sd->name); | ^~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ hqxbin.c:452: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] 452 | append_data(h, m->sd->name, filenamelen, pz); | ^~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ hqxbin.c:463: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] 463 | append_data(h, m->sd->appletype, 4, pz); | ^~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ hqxbin.c:466: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] 466 | append_data(h, m->sd->appletype + 4, 4, pz); | ^~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ hqxbin.c:522: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] 522 | append_data(h, d->contents + d->bodystart, dlen, pz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ hqxbin.c:548: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] 548 | append_data(h, r->contents + r->bodystart, rlen, pz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 145 | int append_data(struct data *, char *, int, int); | ^ 12 warnings generated. --- charset.o --- In file included from charset.c:3: ./charset/strncnv.c:126:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | strncnv(r_chset, s_chset, result, source, n) | ^ ./charset/strncnv.c:349:23: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | t->name = newstr(s); | ^ ./charset/strncnv.c:369:29: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | c = (CHARSET *) xalloc(sizeof (CHARSET)); | ^ ./charset/strncnv.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | getchset(s, esc) | ^ In file included from charset.c:3: In file included from ./charset/strncnv.c:40: ./charset/charset.h:91:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | extern CHARSET *getchset(); | ^ In file included from charset.c:3: ./charset/strncnv.c:461:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | findchs(s) | ^ ./charset/strncnv.c:482:26: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | buf = (char *) xalloc(hdr.sizdir); | ^ ./charset/strncnv.c:517:27: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | t = (CHARTAB *) xalloc(sizeof(CHARTAB)); | ^ ./charset/strncnv.c:537:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | getinch(t) | ^ ./charset/strncnv.c:548:24: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | in = (IN_CH *) xalloc(sz); | ^ ./charset/strncnv.c:594:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | getoutch(t) | ^ ./charset/strncnv.c:604:26: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | out = (OUT_CH *) xalloc(sz1 * sizeof (OUT_CH)); | ^ charset.c:29: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] 29 | sset = m->td->charset; | ^ ~~~~~~~~~~~~~~ charset.c:44:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 44 | m->td->charset = NEWSTR("US-ASCII"); | ^ ~~~~~~~~~~~~~~~~~~ charset.c:50:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 50 | m->td->charset = NEWSTR("US-ASCII"); | ^ ~~~~~~~~~~~~~~~~~~ charset.c:99: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] 99 | outbuf->charset = NEWSTR(tset); | ^ ~~~~~~~~~~~~ charset.c:107: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] 107 | m->td->charset = target->charset; | ^ ~~~~~~~~~~~~~~~ charset.c:113: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] 113 | m->td->charset = target->charset; | ^ ~~~~~~~~~~~~~~~ charset.c:117: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] 117 | (m->td->charset == NULL || strncasecmp(m->td->charset, "ISO-8859-", 9 ) == 0)) | ^~~~~~~~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here 64 | int strncasecmp(const char *, const char *, size_t) __pure; | ^ charset.c:118:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | m->td->charset = NEWSTR("US-ASCII"); | ^ ~~~~~~~~~~~~~~~~~~ 20 warnings generated. --- rfc1522.o --- rfc1522.c:133:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 133 | if ((field = th->field->contents) == NULL) | ^ ~~~~~~~~~~~~~~~~~~~ rfc1522.c:214: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] 214 | if ((len = where(inb, ')')) == 0) | ^~~ rfc1522.c:111:13: note: passing argument to parameter 's' here 111 | where(char *s, char c) | ^ rfc1522.c:268: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] 268 | if ((len = where(inb, '"')) == 0) | ^~~ rfc1522.c:111:13: note: passing argument to parameter 's' here 111 | where(char *s, char c) | ^ rfc1522.c:323: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] 323 | if ((len = where(inb, ']')) == 0) | ^~~ rfc1522.c:111:13: note: passing argument to parameter 's' here 111 | where(char *s, char c) | ^ rfc1522.c:378: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] 378 | if ((len = where(inb, '>')) == 0) | ^~~ rfc1522.c:111:13: note: passing argument to parameter 's' here 111 | where(char *s, char c) | ^ rfc1522.c:474: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] 474 | if ((len = where(inb, '?')) == 0) | ^~~ rfc1522.c:111:13: note: passing argument to parameter 's' here 111 | where(char *s, char c) | ^ rfc1522.c:484:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 484 | inbuf->charset = (char *)Yalloc(len + 1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~ rfc1522.c:485: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] 485 | strncpy(inbuf->charset, inb, len); | ^~~~~~~~~~~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ rfc1522.c:485: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] 485 | strncpy(inbuf->charset, inb, len); | ^~~ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ rfc1522.c:529: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] 529 | if ((len = where(inb, '?')) == 0) | ^~~ rfc1522.c:111:13: note: passing argument to parameter 's' here 111 | where(char *s, char c) | ^ rfc1522.c:711: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] 711 | h->td->charset = source->charset == NULL ? NEWSTR("ISO-8859-1"): | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 712 | source->charset; | ~~~~~~~~~~~~~~~ rfc1522.c:726: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] 726 | h->td->charset = source->charset == NULL ? NEWSTR("ISO-8859-1"): | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 727 | source->charset; | ~~~~~~~~~~~~~~~ rfc1522.c:756: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] 756 | (cmatch(target->charset, h->td->charset) == FALSE))) | ^~~~~~~~~~~~~~ ./func.h:118:30: note: passing argument to parameter here 118 | int cmatch(char *, char *); | ^ rfc1522.c:775: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] 775 | (cmatch(target->charset, h->td->charset) == FALSE))) | ^~~~~~~~~~~~~~ ./func.h:118:30: note: passing argument to parameter here 118 | int cmatch(char *, char *); | ^ rfc1522.c:808: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] 808 | sset = h->td->charset; | ^ ~~~~~~~~~~~~~~ rfc1522.c:830: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] 830 | h->td->charset = NEWSTR("US-ASCII"); | ^ ~~~~~~~~~~~~~~~~~~ rfc1522.c:831: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] 831 | sset = h->td->charset; | ^ ~~~~~~~~~~~~~~ rfc1522.c:836:35: warning: passing arguments to 'getchset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | (schar = (CHARSET *)getchset(sset, 29)) == NULL || | ^ rfc1522.c:837:35: warning: passing arguments to 'getchset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | (tchar = (CHARSET *)getchset(tset, 29)) == NULL) | ^ rfc1522.c:858: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] 858 | outbuf->charset = NEWSTR(tset); | ^ ~~~~~~~~~~~~ rfc1522.c:891:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 891 | strncpy(c, d->contents + d->bodystart, d->bodyend - d->bodystart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ 21 warnings generated. --- CHARSET --- --- gc.o --- gc.c:24:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | extern int getopt(); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ gc.c:71:32: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | *(chsnames+chsets) = newstr(chsn); | ^ gc.c:62:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | defchsname(chsn) char* chsn; | ^ gc.c:129:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | getcombtab(comb1) int comb1; | ^ gc.c:148:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | writestringarray(f,arr,siz) FILE* f; char **arr; int siz; | ^ gc.c:176:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | getcid(s) char *s; | ^ gc.c:184:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | getmnem(s) char *s; | ^ gc.c:213:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | putesc(s1) | ^ gc.c:238:17: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 238 | return strcmp(s,w) == 0; | ^ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gc.c:234:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | key(w) | ^ gc.c:252:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | exit (1); | ^ gc.c:252:5: note: include the header or explicitly provide a declaration for 'exit' gc.c:243:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | fopener (file,mode) | ^ gc.c:281:26: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | defc= (INT16S *) xalloc((unsigned int)(tabl+AMAX)*2); | ^ gc.c:282:28: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | outtab8=(CHAR8U *) xalloc((unsigned int)128*128); | ^ gc.c:283:28: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | outtab= (INT16S *) xalloc((unsigned int)128*128*2); | ^ gc.c:284:27: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | intab= (INT16S *) xalloc((unsigned int)128*128*2); | ^ gc.c:285:30: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | combtabs= (INT16S *) xalloc((unsigned int)MAXCOMBTABS*C256*2); | ^ gc.c:286:34: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | chdr= (struct chdbhdr *) xalloc((unsigned int)sizeof(struct chdbhdr)); | ^ gc.c:319:32: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 319 | if (*s diff ' ' && strlen (s) > 1) { | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ gc.c:321:36: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 321 | if (*(s+2) == ' ' && strlen (s) > 2) { | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ gc.c:323:17: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 323 | cidnum= getcid(s); mx++; | ^ gc.c:334:30: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | *(longnames+bigids) = newstr(id); | ^ gc.c:339:33: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | *(descnames+line) = newstr(s+spos); | ^ gc.c:343:22: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type '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 | else if (strlen (s) >3 ) { | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ gc.c:348:19: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 348 | if (strcmp (cmd,"group") == 0) group=num; | ^~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gc.c:349:24: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 349 | else if (strcmp (cmd,"plane") == 0) plane=num; | ^~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gc.c:350:24: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 350 | else if (strcmp (cmd,"row") == 0) row=num; | ^~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gc.c:351:24: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 351 | else if (strcmp (cmd,"cell") == 0) cell=num; | ^~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gc.c:396:13: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 396 | defchsname(defname); | ^~~~~~~ gc.c:404:18: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 404 | strcat(cmname,defname); | ^~~~~~~ /usr/include/string.h:79:56: note: passing argument to parameter here 79 | char *strcat(char * __restrict, const char * __restrict); | ^ gc.c:415:13: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 415 | defchsname(aliasname); | ^~~~~~~~~ gc.c:445:15: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 445 | strcpy(codc, s); | ^ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ gc.c:464:14: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 464 | if (strlen (s) == 1) { | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ gc.c:467:17: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 467 | cidnum= getcid(s); | ^ gc.c:474:36: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 474 | fscanf (f,"%s",s); comb1= getmnem(s); | ^ gc.c:481:19: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 481 | comb2= getmnem(s); | ^ gc.c:484:38: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 484 | fscanf (f,"%s",s); resch= getmnem(s); | ^ gc.c:500:38: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 500 | else if ( *(defc+(cidnum=getmnem(s))) && ! key("??") && ! key("__") ) { | ^ gc.c:508:29: warning: passing 'CHAR8U[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 508 | fprintf (cm,"%-8s ",putesc(s)); | ^ gc.c:260:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | main (argc, argv) | ^ 40 warnings generated. --- gc --- cc -o gc -I. -I.. -DXERR -DHAVE_CONFIG_H -DCHARFILE=\"/usr/local/lib/charsets.cpl\" gc.o dfopen.o --- charsets.cpl --- mkdir cm ./gc 1447 short mnems and 473 long mnems, = 1920 mnems defined 145 charsets and 287 aliases defined --- getoption.o --- y.tab.c:90:55: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] 90 | sprintf(ebuf,"getoption cannot get memory (%d) %m",len); | ~~ ^~~ | %ld 1 warning generated. --- emilx --- cc -o emil 7bit.o appledouble.o applefile.o applesingle.o base64.o binary.o binhex.o buffer.o convert.o filenames.o forks.o format.o hbase64.o header.o hqp.o hqxbin.o load.o logger.o mailtool.o main.o message.o mime.o mimeparse.o ns.o out.o qp.o rfc1522.o rfc822.o rfc822parse.o smtp.o structure.o sunparse.o uuencode.o s_attr.o d_attr.o a_attr.o charset.o getoption.o ./charset/dfopen.o -lm =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for emil-2.1b9_2 ===> Generating temporary packing list ./mkinstalldirs /wrkdirs/usr/ports/mail/emil/work/stage/usr/local/bin /wrkdirs/usr/ports/mail/emil/work/stage/usr/local/lib /wrkdirs/usr/ports/mail/emil/work/stage/usr/local/share/man/man1 Installing emil as /usr/local/bin/emil Installing emil.cf as /usr/local/lib/emil.cf Installing charset/charsets.cpl as /usr/local/lib/charsets.cpl Installing emil.1 in /usr/local/share/man/man1 Installing emil.cf.1 in /usr/local/share/man/man1 ./mkinstalldirs /wrkdirs/usr/ports/mail/emil/work/stage/usr/local/share/doc/emil mkdir /wrkdirs/usr/ports/mail/emil/work/stage/usr/local/share/doc/emil Installing doc files in /usr/local/share/doc/emil Installation 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=2026-03-12T17:12:45+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=5baf83a89acd' '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 emil-2.1b9_2 ===> Building emil-2.1b9_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for emil-2.1b9_2 build of mail/emil | emil-2.1b9_2 ended at Thu Mar 12 13:12:53 EDT 2026 build time: 00:00:08