=>> Building mail/emil build started at Thu Apr 4 00:27:49 BST 2024 port directory: /usr/ports/mail/emil package name: emil-2.1b9_2 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 617 Feb 25 10:26 /usr/ports/mail/emil/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 5baf83a89a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 01 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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=/ccache/libexec/ccache:/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 CCACHE_DIR="/root/.ccache" 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=/ccache/libexec/ccache:/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=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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=13.2 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--- 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... 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 =========================================================================== =================================================== ===== 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 cd ./charset; /usr/bin/make "CHARFILE=/usr/local/lib/charsets.cpl" "CFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing" "LDFLAGS=-fstack-protector-strong" all cc -I. -I.. -DXERR -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DCHARFILE=\"/usr/local/lib/charsets.cpl\" -c gc.c 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] return strcmp(s,w) == 0; ^ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ gc.c:252:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (1); ^ gc.c:252:5: note: include the header or explicitly provide a declaration for 'exit' 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] if (*s diff ' ' && strlen (s) > 1) { ^ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (*(s+2) == ' ' && strlen (s) > 2) { ^ /usr/include/string.h:101:28: note: passing argument to parameter here 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] cidnum= getcid(s); mx++; ^ 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] else if (strlen (s) >3 ) { ^ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (strcmp (cmd,"group") == 0) group=num; ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] else if (strcmp (cmd,"plane") == 0) plane=num; ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] else if (strcmp (cmd,"row") == 0) row=num; ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] else if (strcmp (cmd,"cell") == 0) cell=num; ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] 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] strcat(cmname,defname); ^~~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here 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] 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] strcpy(codc, s); ^ /usr/include/string.h:88:56: note: passing argument to parameter here 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] if (strlen (s) == 1) { ^ /usr/include/string.h:101:28: note: passing argument to parameter here 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] 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] 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] 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] 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] 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] fprintf (cm,"%-8s ",putesc(s)); ^ 21 warnings generated. cc -I. -I.. -DXERR -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DCHARFILE=\"/usr/local/lib/charsets.cpl\" -c dfopen.c cc -o gc -I. -I.. -DXERR -fstack-protector-strong -DHAVE_CONFIG_H -DCHARFILE=\"/usr/local/lib/charsets.cpl\" gc.o dfopen.o cc -I. -I.. -DXERR -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DCHARFILE=\"/usr/local/lib/charsets.cpl\" -c conv.c conv.c:78:9: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(dk, "DK"); ^ conv.c:78:9: note: include the header or explicitly provide a declaration for 'strcpy' conv.c:94:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ conv.c:94:3: note: include the header or explicitly provide a declaration for 'exit' 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] case 2: opt = *(argv+1) ; break; ^ ~~~~~~~~~ conv.c:134:7: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] 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] len= strlen(s); ^ 5 warnings generated. cc -I. -I.. -DXERR -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DCHARFILE=\"/usr/local/lib/charsets.cpl\" -c strncnv.c strncnv.c:326:27: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] 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' 1 warning generated. cc -I. -I.. -DXERR -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DCHARFILE=\"/usr/local/lib/charsets.cpl\" -c baseqp.c cc -o conv -I. -I.. -DXERR -fstack-protector-strong -DHAVE_CONFIG_H -DCHARFILE=\"/usr/local/lib/charsets.cpl\" conv.o strncnv.o dfopen.o baseqp.o cc -I. -I.. -DXERR -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DCHARFILE=\"/usr/local/lib/charsets.cpl\" -c chset.c chset.c:55:9: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(us, "US"); ^ chset.c:55:9: note: include the header or explicitly provide a declaration for 'strcpy' chset.c:66:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (1); ^ chset.c:66:3: note: include the header or explicitly provide a declaration for 'exit' 2 warnings generated. cc -o chset -I. -I.. -DXERR -fstack-protector-strong -DHAVE_CONFIG_H -DCHARFILE=\"/usr/local/lib/charsets.cpl\" chset.o strncnv.o dfopen.o cat iso10646.def control.def other.def > chardefs.txt mkdir cm ./gc 1447 short mnems and 473 long mnems, = 1920 mnems defined 145 charsets and 287 aliases defined 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing 7bit.c 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing appledouble.c 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] 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] 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] nlength = strlen(m->sd->name); ^~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] append_data(target, m->sd->name, nlength, pz); ^~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] append_data(target, m->sd->appletype, 8, pz); ^~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] append_data(target, resource->contents + resource->bodystart, rlength, pz); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here int append_data(struct data *, char *, int, int); ^ 6 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing applefile.c 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] m->child->sd->name = (char *)Yalloc(strlen(m->child->sd->name) + 2); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] 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] sprintf(m->child->sd->name, "%%%s", m->child->sibling->sd->name); ^~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ applefile.c:128:11: warning: implicit declaration of function 'get_appledouble_binary' is invalid in C99 [-Wimplicit-function-declaration] if (get_appledouble_binary(m->child) != OK) ^ 4 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing applesingle.c 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] append_data(r, d->contents + d->bodystart + offset, length, pz); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] 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] 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] if ((d->type = (char *)confextr("APPLEFILE", d->appletype, NULL)) == NULL) ^~~~~~~~~~~~ ./func.h:247:34: note: passing argument to parameter here 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] nlength = strlen(m->sd->name); ^~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] append_data(target, m->sd->name, nlength, pz); ^~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] append_data(target, m->sd->appletype, 8, pz); ^~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] append_data(target, data->contents + data->bodystart, dlength, pz); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] append_data(target, resource->contents + resource->bodystart, rlength, pz); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here int append_data(struct data *, char *, int, int); ^ 9 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing base64.c 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] inb = inbuf->contents + inbuf->offset; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing binary.c 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing binhex.c 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] inb = inbuf->contents + inbuf->offset; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing buffer.c 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] m->td->charset = NEWSTR(d->charset); ^~~~~~~~~~ ./emil.h:147:56: note: expanded from macro 'NEWSTR' #define NEWSTR(S) S!=NULL?strcpy((char *)malloc(strlen(S) + 1), S):NULL ^ /usr/include/string.h:101:28: note: passing argument to parameter here 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] m->td->charset = NEWSTR(d->charset); ^~~~~~~~~~ ./emil.h:147:65: note: expanded from macro 'NEWSTR' #define NEWSTR(S) S!=NULL?strcpy((char *)malloc(strlen(S) + 1), S):NULL ^ /usr/include/string.h:88:56: note: passing argument to parameter here 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] m->td->charset = NEWSTR(d->charset); ^ ~~~~~~~~~~~~~~~~~~ 3 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing convert.c 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] m->td->charset = source->charset == NULL ? NEWSTR("US-ASCII") : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] m->td->charset = source->charset == NULL ? NEWSTR("ISO-8859-1") : ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] (cmatch(target->charset, m->sd->charset) == FALSE))) ^~~~~~~~~~~~~~ ./func.h:118:30: note: passing argument to parameter here int cmatch(char *, char *); ^ 3 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing filenames.c 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] 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] 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] 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] strncpy(m->sd->appletype, "AURL ", 8); ^~~~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here 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] strncpy(m->sd->appletype, "AURL ", 8); ^~~~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here 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] strncpy(m->sd->appletype, appletype, 8); ^~~~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here 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] extension = (char *)getextension(m->sd->name); ^~~~~~~~~~~ ./func.h:97:30: note: passing argument to parameter here 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] 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] 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] extension = getextension(m->sd->name); ^~~~~~~~~~~ filenames.c:126:20: note: passing argument to parameter 'inb' here 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] 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] 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] 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] if (extension == NULL || cmatch(m->sd->nameext, extension) == FALSE) ^~~~~~~~~~~~~~ ./func.h:118:22: note: passing argument to parameter here 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] name = (char *)Yalloc(strlen(m->sd->name) + strlen(m->sd->nameext) + 2); ^~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] name = (char *)Yalloc(strlen(m->sd->name) + strlen(m->sd->nameext) + 2); ^~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 16 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing forks.c forks.c:163:7: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] wait(&status); ^ 1 warning generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing format.c 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] (cmatch(hdr->field->contents, hfield) == TRUE)) ^~~~~~~~~~~~~~~~~~~~ ./func.h:118:22: note: passing argument to parameter here 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] append_data(th->field, hdr->field->contents, strlen(hdr->field->contents), ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] append_data(th->field, hdr->field->contents, strlen(hdr->field->contents), ^~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] if (strncasecmp(a->contents + a->bodystart, b->contents + b->bodystart, alen) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (strncasecmp(a->contents + a->bodystart, b->contents + b->bodystart, alen) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:66:44: note: passing argument to parameter here 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] cmatch(hdr->field->contents, hfield) == TRUE) ^~~~~~~~~~~~~~~~~~~~ ./func.h:118:22: note: passing argument to parameter here 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] 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] for (; str != '\0' && i <= partno; str++) ^~~~ (void *)0 8 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing hbase64.c 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] append_data(outbuf, outbuf->charset, strlen(outbuf->charset), HEAD_BUF); ^~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] append_data(outbuf, outbuf->charset, strlen(outbuf->charset), HEAD_BUF); ^~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] inb = inbuf->contents + inbuf->offset; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing header.c 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] 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] if (strncasecmp(line_buf->contents, "from ", 5) == 0 || ^~~~~~~~~~~~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] strncasecmp(line_buf->contents,">from ", 6) == 0) ^~~~~~~~~~~~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] if (isheader(line_buf->contents)) ^~~~~~~~~~~~~~~~~~ header.c:44:20: note: passing argument to parameter here 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] append_data(hdr->field, line->contents, line->end, HEAD_BUF); ^~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] value = index(line->contents, ':'); assert(value); ^~~~~~~~~~~~~~ /usr/include/strings.h:62:25: note: passing argument to parameter here 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] append_data(hdr->field, line->contents, strlen(line->contents), HEAD_BUF); ^~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] append_data(hdr->field, line->contents, strlen(line->contents), HEAD_BUF); ^~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] cmatch(thdr->field->contents, field) == TRUE) ^~~~~~~~~~~~~~~~~~~~~ ./func.h:118:22: note: passing argument to parameter here 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] cmatch(thdr->field->contents, field) == TRUE) ^~~~~~~~~~~~~~~~~~~~~ ./func.h:118:22: note: passing argument to parameter here 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] append_data(outbuf, h->td->contents + h->td->bodystart, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here int append_data(struct data *, char *, int, int); ^ 11 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing hqp.c 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] append_data(outbuf, outbuf->charset, strlen(outbuf->charset), HEAD_BUF); ^~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] append_data(outbuf, outbuf->charset, strlen(outbuf->charset), HEAD_BUF); ^~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] 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] inb = inbuf->contents + inbuf->offset; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing hqxbin.c 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] 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] 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] if ((m->sd->type = confextr("APPLEFILE", m->sd->appletype, NULL)) == NULL) ^~~~~~~~~~~~~~~~ ./func.h:247:34: note: passing argument to parameter here 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] d->length = getblong(cdlen); ^~~~~ ./func.h:236:39: note: passing argument to parameter here 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] if ((rlen = getblong(cdlen)) != 0) ^~~~~ ./func.h:236:39: note: passing argument to parameter here 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] 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] filenamelen = strlen(m->sd->name); ^~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] append_data(h, m->sd->name, filenamelen, pz); ^~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] append_data(h, m->sd->appletype, 4, pz); ^~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] append_data(h, m->sd->appletype + 4, 4, pz); ^~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] append_data(h, d->contents + d->bodystart, dlen, pz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] append_data(h, r->contents + r->bodystart, rlen, pz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here int append_data(struct data *, char *, int, int); ^ 12 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing load.c 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] 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] out->contents = ^ 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] for ( tmp = out->contents, out->lend = 0; ^ ~~~~~~~~~~~~~ 3 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing logger.c logger.c:144:3: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] time(&t); ^ logger.c:145:61: warning: implicit declaration of function 'ctime' is invalid in C99 [-Wimplicit-function-declaration] 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] fprintf(out_fd,"Emil-server: %s v.%s %s", hn,EMIL_VERSION,ctime(&t)); ~~ ^~~~~~~~~ %d 3 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mailtool.c 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] 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] 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] 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] (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] add_header(m, "X-Sun-Data-Type", dt, MAILTOOL); ^~ ./func.h:128:52: note: passing argument to parameter here 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] add_header(m, "X-Sun-Data-description", m->sd->description, MAILTOOL); ^~~~~~~~~~~~~~~~~~ ./func.h:128:52: note: passing argument to parameter here 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] add_header(m, "X-Sun-Data-name", m->sd->name, MAILTOOL); ^~~~~~~~~~~ ./func.h:128:52: note: passing argument to parameter here 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] 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] 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] 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] 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] 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] 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] c = d->contents + i; ^ ~~~~~~~~~~~~~~~ 14 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing main.c main.c:418:38: warning: implicit declaration of function 'getmember' is invalid in C99 [-Wimplicit-function-declaration] 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] target = (struct config_struct *) getmember(member); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing message.c 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] (strlen(parent->sd->startbound)) != 0) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if (is_bound(m->sd, parent->sd->startbound)) ^~~~~~~~~~~~~~~~~~~~~~ ./func.h:167:39: note: passing argument to parameter here 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] if (strncmp((m->sd->contents + m->sd->offset), "begin ", 6) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] if (strncasecmp((m->sd->contents + m->sd->offset), "(This file ", 11) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] strncmp((d->contents + d->offset), boundary, blen) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] tmp = index(inbuf->contents + inbuf->offset, '\n'); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:62:25: note: passing argument to parameter here 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] tmp = index(inbuf->contents + inbuf->offset, '\n'); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mime.c 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] 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] 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] sprintf(m->td->startbound, "--%s", bb); ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] sprintf(m->td->endbound, "--%s--", bb); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here 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] add_header(m, "Content-Description", m->sd->description, MIME); ^~~~~~~~~~~~~~~~~~ ./func.h:128:52: note: passing argument to parameter here 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] add_header(m, "Content-Description", m->sd->name, MIME); ^~~~~~~~~~~ ./func.h:128:52: note: passing argument to parameter here 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] 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] m->sd->charset = (char *)fixstring(getpartrest(line, "charset=", ";"), NULL, NULL, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] m->sd->startbound = (char *)fixstring(getpartrest(line, "boundary=", ";"), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] m->sd->endbound = (char *)fixstring(getpartrest(line, "boundary=", ";"), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] m->sd->name = (char *)fixstring(getpartrest(line, "name=", ";"), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] m->sd->description = (char *)gethval(m, "Content-description", MIME); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mimeparse.c 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] set_end_by_boundary(m, m->sd->endbound); ^~~~~~~~~~~~~~~ ./func.h:170:53: note: passing argument to parameter here 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] if (move_past_boundary(m, m->parent->sd->startbound) != OK) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:163:52: note: passing argument to parameter here 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] set_end_by_boundary(m, m->parent->sd->startbound); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:170:53: note: passing argument to parameter here 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] move_past_boundary(m, m->sd->endbound); ^~~~~~~~~~~~~~~ ./func.h:163:52: note: passing argument to parameter here int move_past_boundary(struct message *, char *); ^ 4 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ns.c 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] if ((n = dn_expand((char *)answer.buf, eom, cp, bp, buflen)) < 0) { ^~~~~~~~~~~~~~~~~~ /usr/include/resolv.h:447:30: note: passing argument to parameter here 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] if ((n = dn_expand((char *)answer.buf, eom, cp, bp, buflen)) < 0) { ^~~~~~~~~~~~~~~~~~ /usr/include/resolv.h:447:30: note: passing argument to parameter here int dn_expand(const u_char *, const u_char *, const u_char *, ^ 2 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing out.c 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] append_data(line, (d->contents + d->offset), len, MED_BUF); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] if (index(line->contents, '\n') == NULL) ^~~~~~~~~~~~~~ /usr/include/strings.h:62:25: note: passing argument to parameter here char *index(const char *, int) __pure; /* LEGACY */ ^ out.c:158:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 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] if (strcmp(line->contents, ".\n") == 0 || ^~~~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] strcmp(line->contents, ".\r\n") == 0) ^~~~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here 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] if (strncmp(line->contents, "From ", 5) == 0) ^~~~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] print_line(line->contents); ^~~~~~~~~~~~~~ ./func.h:191:26: note: passing argument to parameter here 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] print_line(line->contents); ^~~~~~~~~~~~~~ ./func.h:191:26: note: passing argument to parameter here 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] if (strncmp(line->contents, "From ", 5) == 0) ^~~~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here 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] print_line(line->contents); ^~~~~~~~~~~~~~ ./func.h:191:26: note: passing argument to parameter here 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] print_line(line->contents); ^~~~~~~~~~~~~~ ./func.h:191:26: note: passing argument to parameter here 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] print_line(th->value->contents); ^~~~~~~~~~~~~~~~~~~ ./func.h:191:26: note: passing argument to parameter here 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] append_data(line, (d->contents + d->offset), d->bodyend - d->offset, MED_BUF); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:145:38: note: passing argument to parameter here 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] print_line(line->contents); ^~~~~~~~~~~~~~ ./func.h:191:26: note: passing argument to parameter here int print_line(char *); ^ 14 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing qp.c 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] 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] inb = inbuf->contents + inbuf->offset; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing rfc1522.c 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] 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] if ((len = where(inb, ')')) == 0) ^~~ rfc1522.c:111:13: note: passing argument to parameter 's' here 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] if ((len = where(inb, '"')) == 0) ^~~ rfc1522.c:111:13: note: passing argument to parameter 's' here 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] if ((len = where(inb, ']')) == 0) ^~~ rfc1522.c:111:13: note: passing argument to parameter 's' here 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] if ((len = where(inb, '>')) == 0) ^~~ rfc1522.c:111:13: note: passing argument to parameter 's' here 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] if ((len = where(inb, '?')) == 0) ^~~ rfc1522.c:111:13: note: passing argument to parameter 's' here 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] 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] strncpy(inbuf->charset, inb, len); ^~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here 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] strncpy(inbuf->charset, inb, len); ^~~ /usr/include/string.h:107:57: note: passing argument to parameter here 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] if ((len = where(inb, '?')) == 0) ^~~ rfc1522.c:111:13: note: passing argument to parameter 's' here 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] h->td->charset = source->charset == NULL ? NEWSTR("ISO-8859-1"): ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] h->td->charset = source->charset == NULL ? NEWSTR("ISO-8859-1"): ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] (cmatch(target->charset, h->td->charset) == FALSE))) ^~~~~~~~~~~~~~ ./func.h:118:30: note: passing argument to parameter here 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] (cmatch(target->charset, h->td->charset) == FALSE))) ^~~~~~~~~~~~~~ ./func.h:118:30: note: passing argument to parameter here 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] 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] 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] sset = h->td->charset; ^ ~~~~~~~~~~~~~~ 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] 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] strncpy(c, d->contents + d->bodystart, d->bodyend - d->bodystart); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ 19 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing rfc822.c 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] 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] m->sd->charset = (char *)source->charset; ^ ~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing rfc822parse.c 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing smtp.c smtp.c:97:8: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] i = inet_addr(p); ^ 1 warning generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing structure.c 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing sunparse.c 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] if (move_past_boundary(m, m->parent->sd->startbound) != OK) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./func.h:163:52: note: passing argument to parameter here int move_past_boundary(struct message *, char *); ^ 1 warning generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing uuencode.c 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] 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] 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] 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] if ((m->sd->type = confextr("UUENCODE", m->sd->nameext, NULL)) == NULL) ^~~~~~~~~~~~~~ ./func.h:247:34: note: passing argument to parameter here char * confextr(char *, char *, char *); ^ 4 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing s_attr.c 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] 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] return(t); ^~~ 2 warnings generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing d_attr.c 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] if ((d->type = confextr("APPLEFILE", d->appletype, NULL)) == NULL) ^~~~~~~~~~~~ ./func.h:247:34: note: passing argument to parameter here char * confextr(char *, char *, char *); ^ 1 warning generated. 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\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing a_attr.c cc -c -I./charset -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\" -DEMIL -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing charset.c 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] 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] 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] 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] 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] 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] 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] (m->td->charset == NULL || strncasecmp(m->td->charset, "ISO-8859-", 9 ) == 0)) ^~~~~~~~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here 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] m->td->charset = NEWSTR("US-ASCII"); ^ ~~~~~~~~~~~~~~~~~~ 8 warnings generated. byacc -l -v getoption.y flex -i getoption.l 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 y.tab.c:90:55: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] sprintf(ebuf,"getoption cannot get memory (%d) %m",len); ~~ ^~~ %ld 1 warning generated. cc -o emil -fstack-protector-strong 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 cp emil.man emil.1 cp emil.cf.man emil.cf.1 ed emil.cf.1 ============================ ===== 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=2024-04-03T23:27:49+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=5baf83a89a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' 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 Apr 4 00:28:04 BST 2024 build time: 00:00:15