=>> Building mail/metamail build started at Fri Nov 17 01:37:16 CST 2023 port directory: /usr/ports/mail/metamail package name: metamail-2.7_16 building for: FreeBSD 140amd64-current-job-06 14.0-RELEASE FreeBSD 14.0-RELEASE amd64 maintained by: ports@FreeBSD.org Makefile ident: Poudriere version: 3.3.7_1 Host OSVERSION: 1400097 Jail OSVERSION: 1400097 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400097 UNAME_v=FreeBSD 14.0-RELEASE UNAME_r=14.0-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root USE_COLORS=no LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.3.7_1 MASTERMNT=/poudriere/data/.m/140amd64-current/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen-256color PWD=/poudriere/data/.m/140amd64-current/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=140amd64-current SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/poudriere/data/.m/140amd64-current/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for metamail-2.7_16: X11=off: X11 hebrew font support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/metamail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/metamail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/metamail/work/.cache HOME=/wrkdirs/usr/ports/mail/metamail/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/metamail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/metamail/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/metamail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/metamail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/metamail/work/.cache HOME=/wrkdirs/usr/ports/mail/metamail/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/metamail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/metamail/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 " MANPREFIX="/usr/local" 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-- X11="@comment " NO_X11="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/metamail" EXAMPLESDIR="share/examples/metamail" DATADIR="share/metamail" WWWDIR="www/metamail" ETCDIR="etc/metamail" --End PLIST_SUB-- --SUB_LIST-- X11="@comment " NO_X11="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/metamail DOCSDIR=/usr/local/share/doc/metamail EXAMPLESDIR=/usr/local/share/examples/metamail WWWDIR=/usr/local/www/metamail ETCDIR=/usr/local/etc/metamail --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 #### /poudriere/control/default-make.conf #### #DEFAULT_VERSIONS+=apache=2.4 #DEFAULT_VERSIONS+=corosync=3 #DEFAULT_VERSIONS+=gcc=12 DEFAULT_VERSIONS+=ghostscript=agpl DEFAULT_VERSIONS+=java=17 DEFAULT_VERSIONS+=linux=c7_64 #DEFAULT_VERSIONS+=llvm=17 #DEFAULT_VERSIONS+=lua=5.4 #DEFAULT_VERSIONS+=mono=5.20 DEFAULT_VERSIONS+=mysql=10.11m #DEFAULT_VERSIONS+=perl5=5.38 DEFAULT_VERSIONS+=pgsql=15 #DEFAULT_VERSIONS+=php=8.0 #DEFAULT_VERSIONS+=python2=2.7 #DEFAULT_VERSIONS+=python3=3.9 #DEFAULT_VERSIONS+=python=3.9 #DEFAULT_VERSIONS+=samba=4.16 #DEFAULT_VERSIONS+=ssl=libressl DEFAULT_VERSIONS+=ssl=base DEFAULT_VERSIONS+=tcltk=8.6 WANT_OPENLDAP_SASL=yes # We play ball with... LICENSES_GROUPS_ACCEPTED+=FSF LICENSES_GROUPS_ACCEPTED+=OSI LICENSES_GROUPS_ACCEPTED+=COPYFREE LICENSES_GROUPS_ACCEPTED+=FONTS LICENSES_ACCEPTED+=GPLv2+ LICENSES_ACCEPTED+=MSPAT LICENSES_ACCEPTED+=NONE LICENSES_ACCEPTED+='GPLV2+ MSPAT' # Until 1.18 gets its modules crap sorted #GO_PORT=lang/go117 # Ehh, screw it. DISABLE_LICENSES=yes # FINALLY. BUILD_ALL_PYTHON_FLAVORS=yes # Duh WITH_PKGNG=yes # Workaround for FreeBSD PR 201193 WITH_MPM=event # Workaround for FreeBSD PR 234914 -- JTFC, FreeBSD, figure it out. .if ${.CURDIR:M*/www/mod_php7[0-9]} CONFIGURE_ENV+= pthreads_working="yes" .endif #MESA_LLVM_VER = 13 # ports infrastructure dudes are hacks. security_p5-GSSAPI_SET = GSSAPI_MIT OPTIONS_UNSET += GSSAPI_BASE GSSAPI_NONE GSSAPI_HEIMDAL OPTIONS_UNSET += WAYLAND OPTIONS_SET += GSSAPI_MIT #KRB5_VERSION=121 #security_p5-GSSAPI_SET = GSSAPI_HEIMDAL #OPTIONS_UNSET += GSSAPI_BASE GSSAPI_NONE GSSAPI_MIT #OPTIONS_SET += GSSAPI_HEIMDAL WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 63795 open files (-n) 1024 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-- =================================================== ===> NOTICE: The metamail 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 =========================================================================== =================================================== ===> metamail-2.7_16 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9.pkg [140amd64-current-job-06] Installing pkg-1.20.9... [140amd64-current-job-06] Extracting pkg-1.20.9: .......... done ===> metamail-2.7_16 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of metamail-2.7_16 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The metamail 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 metamail-2.7_16 for building =========================================================================== =================================================== ===> NOTICE: The metamail 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 metamail-2.7_16 for building => SHA256 Checksum OK for mm2.7.tar.Z. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The metamail 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 metamail-2.7_16 for building ===> Extracting for metamail-2.7_16 => SHA256 Checksum OK for mm2.7.tar.Z. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for metamail-2.7_16 ===> Applying extra patch /usr/ports/mail/metamail/files/extra-patch-Makefile-nox11 ===> Applying FreeBSD patches for metamail-2.7_16 from /usr/ports/mail/metamail/files =========================================================================== =================================================== ===> metamail-2.7_16 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_4.pkg [140amd64-current-job-06] Installing ccache-3.7.12_4... [140amd64-current-job-06] Extracting ccache-3.7.12_4: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> metamail-2.7_16 depends on file: /usr/local/bin/ccache - found ===> Returning to build of metamail-2.7_16 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for metamail-2.7_16 =========================================================================== =================================================== ===> Building for metamail-2.7_16 --- all --- (cd metamail ; make CONFIGDIR=../. CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. " CC="cc" LDLIBS="-fstack-protector-strong ") --- metamail.o --- --- codes.o --- --- uue.o --- --- shared.o --- --- putenv.o --- --- mmencode.o --- --- metamail.o --- rm -f metamail.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. metamail.c --- codes.o --- rm -f codes.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. codes.c --- shared.o --- rm -f shared.o --- metamail.o --- metamail.c:202:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Cleanse(s) /* no leading or trailing space, all lower case */ ^ metamail.c:226:15: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!ans) ExitWithError(nomem); ^ metamail.c:219:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *UnquoteString(s) ^ metamail.c:247:5: warning: call to undeclared function 'RestoreTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RestoreTtyState(); ^ metamail.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cleanup(signum) ^ metamail.c:200:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] sigtype cleanup(); ^ metamail.c:277:17: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!s) ExitWithError(nomem); ^ metamail.c:296:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!newpath) ExitWithError(nomem); ^ metamail.c:286:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void modpath(auxpath) ^ --- uue.o --- rm -f uue.o --- metamail.o --- metamail.c:303:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int metamail.c:334:17: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!s) ExitWithError(nomem); ^ metamail.c:339:5: warning: call to undeclared function 'ProcessArguments'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ProcessArguments(argc, argv); /* calls ExitWithError on error */ ^ metamail.c:348:15: warning: call to undeclared function 'HandleMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] retcode = HandleMessage(NULL, 0); ^ metamail.c:359:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!InputFP) ExitWithError("Can't read input file"); ^ metamail.c:374:25: warning: call to undeclared function 'PauseForUser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (MustPageOutput) PauseForUser(); ^ metamail.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ metamail.c:383:15: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!tmp) ExitWithError(nomem); ^ metamail.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueueNextFile(fname) ^ metamail.c:395:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] HandleMessage(SquirrelFile, nestingdepth) ^ int metamail.c:404:14: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!lc2strncmp(ContentType, "message/", 8) ^ metamail.c:410:6: warning: call to undeclared function 'Read822Prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (Read822Prefix(SquirrelFile?0:1, nestingdepth)) { ^ metamail.c:414:5: warning: call to undeclared function 'PrepareMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PrepareMessage(); ^ metamail.c:415:28: warning: call to undeclared function 'ProcessMailcapFiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!FileWriteOnly && !ProcessMailcapFiles(SquirrelFile)) return(0); ^ metamail.c:416:10: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!lc2strcmp(ContentType, "message") ^ metamail.c:418:34: warning: call to undeclared function 'SaveSquirrelFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (SquirrelFile) return(SaveSquirrelFile(SquirrelFile)); ^ metamail.c:423:25: warning: passing arguments to 'FindParam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] boundary = FindParam("boundary"); ^ metamail.c:425:10: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!lc2strncmp(ContentType, "multipart", 9)) { ^ metamail.c:433:34: warning: call to undeclared function 'SaveSquirrelFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (SquirrelFile) return(SaveSquirrelFile(SquirrelFile)); ^ metamail.c:448:13: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MkTmpFileName(NewSquirrelFile); ^ metamail.c:452:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!LineBuf) ExitWithError(nomem); ^ metamail.c:492:34: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConsumeRestOfPart(NULL); ^ metamail.c:500:30: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConsumeRestOfPart(NULL); ^ metamail.c:521:28: warning: call to undeclared function 'TryBuiltIns'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!FileWriteOnly && !TryBuiltIns(SquirrelFile)) return(0); ^ metamail.c:526:34: warning: passing arguments to 'FindParam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] suggestedname = FindParam("name"); ^ metamail.c:528:13: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MkTmpFileName(SugBuf); ^ metamail.c:554:25: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TranslateInputToOutput(InputFP, stdout, EncodingCode, "text"); ^ metamail.c:575:37: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MkTmpFileName(Fname); ^ metamail.c:611:42: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConsumeRestOfPart(NULL); ^ metamail.c:656:30: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConsumeRestOfPart(NULL); ^ metamail.c:659:22: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!fp) ExitWithError("Cannot open temporary file"); ^ metamail.c:660:13: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TranslateInputToOutput(InputFP, fp, EncodingCode, ContentType); ^ metamail.c:668:69: warning: call to undeclared function 'PauseForUser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!DefinitelyNotTty && MaybePageOutput && BoundaryCt > 0) PauseForUser(); ^ metamail.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleMessage(SquirrelFile, nestingdepth) ^ metamail.c:674:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcessArguments(argc, argv) ^ int metamail.c:694:25: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!QuietCopy) ExitWithError(nomem); ^ metamail.c:733:25: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!NoAskCopy) ExitWithError(nomem); ^ metamail.c:781:24: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (++i >= argc) usage(); ^ metamail.c:783:25: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!ContentType) ExitWithError(nomem); ^ metamail.c:787:21: warning: call to undeclared function 'StripTrailingSpace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StripTrailingSpace(ContentType); ^ metamail.c:788:43: warning: passing arguments to 'ParseContentParameters' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseContentParameters(ContentType); ^ metamail.c:887:9: warning: call to undeclared function 'RunInNewWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RunInNewWindow(argv, argc, &SourceFileName); ^ metamail.c:896:2: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] usage(); ^ metamail.c:900:2: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] usage(); ^ metamail.c:905:2: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] usage(); ^ metamail.c:911:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!InputFP) ExitWithError("Can't read input file"); ^ metamail.c:945:9: warning: call to undeclared function 'RunInNewWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RunInNewWindow(argv, argc, &SourceFileName); ^ metamail.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcessArguments(argc, argv) ^ metamail.c:953:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] usage() { ^ int metamail.c:955:5: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ExitWithError(NULL); ^ metamail.c:956:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:958:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RunInNewWindow(argv, argc, SourceFileNamePtr) ^ int metamail.c:969:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!LineBuf) ExitWithError(nomem); ^ metamail.c:971:9: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MkTmpFileName(TmpName); ^ metamail.c:984:19: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!FullCmd) ExitWithError(nomem); ^ metamail.c:994:5: warning: call to undeclared function 'CreateNewWindowPrefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CreateNewWindowPrefix(FullCmd); ^ metamail.c:1017:5: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetUpEnvironment(); ^ metamail.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunInNewWindow(argv, argc, SourceFileNamePtr) ^ metamail.c:1039:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcessMailcapFiles(SquirrelFile) ^ int metamail.c:1071:26: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!p || !path) ExitWithError(nomem); ^ metamail.c:1080:24: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!pathcopy) ExitWithError(nomem); ^ metamail.c:1087:14: warning: call to undeclared function 'ProcessMailcapFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!ProcessMailcapFile(path, SquirrelFile)) return(0); ^ metamail.c:1039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcessMailcapFiles(SquirrelFile) ^ metamail.c:1095:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TryBuiltIns(SquirrelFile) ^ int metamail.c:1102:14: warning: call to undeclared function 'TryMailcapEntry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!TryMailcapEntry(SquirrelFile ? BuiltInsAlternative[i] : BuiltIns[i], SquirrelFile)) return(0); ^ metamail.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TryBuiltIns(SquirrelFile) ^ metamail.c:1107:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcessMailcapFile(file, SquirrelFile) ^ int metamail.c:1114:11: warning: call to undeclared function 'IsDirectory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] res = IsDirectory(file); ^ metamail.c:1128:6: warning: call to undeclared function 'GetMailcapEntry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (GetMailcapEntry(fp, &mc)) { ^ metamail.c:1129:18: warning: call to undeclared function 'TryMailcapEntry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!TryMailcapEntry(mc, SquirrelFile)) { ^ metamail.c:1107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcessMailcapFile(file, SquirrelFile) ^ metamail.c:1146:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *ShortCommand(progname) ^ metamail.c:1179:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TryMailcapEntry(mc, SquirrelFile) ^ int metamail.c:1183:5: warning: call to undeclared function 'StripTrailingSpace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StripTrailingSpace(mc.contenttype); ^ metamail.c:1186:9: warning: call to undeclared function 'CtypeMatch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (CtypeMatch(ContentType, mc.contenttype) && PassesTest(&mc)) { ^ metamail.c:1186:52: warning: call to undeclared function 'PassesTest'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (CtypeMatch(ContentType, mc.contenttype) && PassesTest(&mc)) { ^ metamail.c:1188:20: warning: call to undeclared function 'SaveSquirrelFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- uue.o --- cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. uue.c uue.c:8:21: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] uueget (ptr, outfp, n) ^ uue.c:8:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] uueget (ptr, outfp, n) ^ int uue.c:8:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uue.c:30:1: warning: non-void function does not return a value [-Wreturn-type] } ^ uue.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] get_line (buf, size, fp) ^ int uue.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uue.c:65:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fromuue (infp, outfp, boundaries, ctptr) ^ int uue.c:77:6: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (strncmp (buf, "begin", 5) == 0) ^ uue.c:77:6: note: include the header or explicitly provide a declaration for 'strncmp' uue.c:80:24: warning: call to undeclared function 'PendingBoundary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (boundaries && PendingBoundary (buf, boundaries, ctptr)) ^ uue.c:92:24: warning: call to undeclared function 'PendingBoundary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (boundaries && PendingBoundary (buf, boundaries, ctptr)) { ^ uue.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fromuue (infp, outfp, boundaries, ctptr) ^ uue.c:123:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 12 warnings generated. --- metamail.o --- return(SaveSquirrelFile(SquirrelFile)); ^ metamail.c:1191:13: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MkTmpFileName(TmpFileName); ^ metamail.c:1192:20: warning: call to undeclared function 'ExecuteMailcapEntry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return(ExecuteMailcapEntry(mc, TmpFileName, ContentType)); ^ metamail.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TryMailcapEntry(mc, SquirrelFile) ^ metamail.c:1202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SaveSquirrelFile(SquirrelFile) ^ int --- mmencode.o --- rm -f mmencode.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. mmencode.c mmencode.c:25:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int mmencode.c:87:13: warning: call to undeclared function 'to64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] to64(fp, fpo, portablenewlines); ^ mmencode.c:89:13: warning: call to undeclared function 'from64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] from64(fp,fpo, (char **) NULL, (int *) 0, portablenewlines); ^ mmencode.c:92:21: warning: call to undeclared function 'toqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (encode) toqp(fp, fpo); else fromqp(fp, fpo, NULL, 0); ^ --- shared.o --- cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. shared.c --- putenv.o --- rm -f putenv.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. putenv.c --- mailto.o --- --- mmencode.o --- mmencode.c:92:41: warning: call to undeclared function 'fromqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (encode) toqp(fp, fpo); else fromqp(fp, fpo, NULL, 0); ^ mmencode.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 6 warnings generated. --- metamail.o --- metamail.c:1220:5: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TranslateInputToOutput(InputFP, outfp, EncodingCode, ContentType); ^ metamail.c:1222:9: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ExitWithError("fclose failed"); ^ metamail.c:1202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SaveSquirrelFile(SquirrelFile) ^ metamail.c:1227:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ExecuteMailcapEntry(mc, TmpFileName, ThisContentType) ^ int --- codes.o --- codes.c:20:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *index(); ^ codes.c:50:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int nextcharin(infile, PortableNewlines) ^ codes.c:73:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] to64(infile, outfile, PortableNewlines) ^ int codes.c:82:13: warning: call to undeclared function 'output64chunk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output64chunk(c1, 0, 0, 2, outfile); ^ --- mailto.o --- rm -f mailto.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. mailto.c --- splitmail.o --- --- metamail.o --- metamail.c:1236:15: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!cmd) ExitWithError(nomem); ^ metamail.c:1238:5: warning: call to undeclared function 'BuildCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] BuildCommand(cmd, PrintingMode ? mc.printcommand : mc.command, TmpFileName, &UsedTmpFileName, &PartsWritten); ^ metamail.c:1256:9: warning: call to undeclared function 'SaveTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SaveTtyState(); ^ metamail.c:1258:10: warning: call to undeclared function 'NeedToAskBeforeExecuting'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!NeedToAskBeforeExecuting(ThisContentType) ^ --- codes.o --- codes.c:86:17: warning: call to undeclared function 'output64chunk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output64chunk(c1, c2, 0, 1, outfile); ^ codes.c:88:17: warning: call to undeclared function 'output64chunk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output64chunk(c1, c2, c3, 0, outfile); ^ codes.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] to64(infile, outfile, PortableNewlines) ^ codes.c:99:1: warning: non-void function does not return a value [-Wreturn-type] } ^ codes.c:101:27: warning: parameter 'pads' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output64chunk(c1, c2, c3, pads, outfile) ^ --- metamail.o --- metamail.c:1259:13: warning: call to undeclared function 'OKToRun'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] || OKToRun(ThisContentType, cmd, mc.label)) { ^ metamail.c:1279:17: warning: call to undeclared function 'strcatquoting'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] strcatquoting(cmd, CParams[j]); ^ metamail.c:1285:13: warning: call to undeclared function 'CreateNewWindowPrefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] CreateNewWindowPrefix(FullCmd); ^ metamail.c:1297:27: warning: call to undeclared function 'WriteTmpFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] isempty = WriteTmpFile(TmpFileName, ThisContentType); ^ --- codes.o --- codes.c:101:23: warning: parameter 'c3' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output64chunk(c1, c2, c3, pads, outfile) ^ codes.c:101:19: warning: parameter 'c2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output64chunk(c1, c2, c3, pads, outfile) ^ codes.c:101:15: warning: parameter 'c1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output64chunk(c1, c2, c3, pads, outfile) ^ codes.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output64chunk(c1, c2, c3, pads, outfile) ^ int codes.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] codes.c:116:1: warning: non-void function does not return a value [-Wreturn-type] } ^ --- splitmail.o --- rm -f splitmail.o --- metamail.o --- metamail.c:1310:21: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetUpEnvironment(); ^ metamail.c:1311:34: warning: call to undeclared function 'ExecuteCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] resultcode = ExecuteCommand(TmpCmd, 1); ^ metamail.c:1314:21: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetUpEnvironment(); ^ metamail.c:1315:34: warning: call to undeclared function 'ExecuteCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] resultcode = ExecuteCommand(FullCmd, 1); ^ --- codes.o --- codes.c:118:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PendingBoundary(s, Boundaries, BoundaryCt) ^ int codes.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] codes.c:144:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] almostputc(c, outfile, PortableNewlines) ^ int codes.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] codes.c:167:1: warning: non-void function does not return a value [-Wreturn-type] } ^ codes.c:178:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] from64(infile, outfile, boundaries, boundaryct, PortableNewlines) ^ int --- metamail.o --- metamail.c:1324:13: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetUpEnvironment(); ^ metamail.c:1325:20: warning: call to undeclared function 'ExecuteCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) ExecuteCommand(FullCmd, 0); ^ metamail.c:1327:13: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TranslateInputToOutput(InputFP, tmpfp, EncodingCode, ThisContentType); ^ metamail.c:1333:13: warning: call to undeclared function 'RestoreTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RestoreTtyState(); ^ --- codes.o --- codes.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] codes.c:248:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ codes.c:279:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] toqp(infile, outfile) ^ int codes.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] codes.c:352:1: warning: non-void function does not return a value [-Wreturn-type] } ^ codes.c:354:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fromqp(infile, outfile, boundaries, boundaryct) ^ int codes.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- metamail.o --- metamail.c:1334:72: warning: call to undeclared function 'PauseForUser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (mc.copiousoutput && MaybePageOutput && BoundaryCt > 0) PauseForUser(); ^ metamail.c:1340:52: warning: call to undeclared function 'PauseForUser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (MaybePageOutput && BoundaryCt > 0) PauseForUser(); ^ metamail.c:1346:13: warning: call to undeclared function 'RestoreTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RestoreTtyState(); ^ metamail.c:1349:45: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- codes.o --- codes.c:435:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 29 warnings generated. --- metamail.o --- if (!PartsWritten) ConsumeRestOfPart(NULL); ^ metamail.c:1368:9: warning: call to undeclared function 'RestoreTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RestoreTtyState(); ^ metamail.c:1227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteMailcapEntry(mc, TmpFileName, ThisContentType) ^ metamail.c:1374:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PassesTest(mc) ^ int metamail.c:1381:5: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MkTmpFileName(TmpFileName); ^ metamail.c:1383:15: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!cmd) ExitWithError(nomem); ^ metamail.c:1384:5: warning: call to undeclared function 'BuildCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] BuildCommand(cmd, mc->testcommand, TmpFileName, NULL, NULL); ^ metamail.c:1374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PassesTest(mc) ^ metamail.c:1402:14: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!s2) ExitWithError(nomem); ^ metamail.c:1396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetCommand(s, t) ^ metamail.c:1427:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] GetMailcapEntry(fp, mc) ^ int metamail.c:1435:19: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!LineBuf) ExitWithError(nomem); ^ metamail.c:1509:3: warning: call to undeclared function 'ExceptionalNewline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ExceptionalNewline(mc->contenttype, atoi(eq)); ^ metamail.c:1427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMailcapEntry(fp, mc) ^ metamail.c:1520:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ExitWithError(txt) ^ int metamail.c:1520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] metamail.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreshHeaderCopy(s) ^ metamail.c:1547:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Read822Prefix(PrintHeads, nestingdepth) ^ int metamail.c:1595:27: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!ContentType && !lc2strncmp(s, "\ncontent-type:", 14)) { ^ metamail.c:1614:17: warning: call to undeclared function 'StripTrailingSpace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StripTrailingSpace(ContentType); ^ metamail.c:1615:39: warning: passing arguments to 'ParseContentParameters' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseContentParameters(ContentType); ^ metamail.c:1616:33: warning: call to undeclared function 'maybephead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (PrintHeads) maybephead(s+1); ^ metamail.c:1619:33: warning: call to undeclared function 'maybephead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (PrintHeads) maybephead(s+1); ^ metamail.c:1621:33: warning: call to undeclared function 'maybephead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (PrintHeads) maybephead(s+1); ^ metamail.c:1624:33: warning: call to undeclared function 'maybephead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (PrintHeads) maybephead(s+1); ^ metamail.c:1627:32: warning: call to undeclared function 'maybephead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(PrintHeads) maybephead(s+1); ^ metamail.c:1645:21: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] phead(s+1); ^ metamail.c:1647:21: warning: call to undeclared function 'maybephead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] maybephead(s+1); ^ metamail.c:1547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Read822Prefix(PrintHeads, nestingdepth) ^ metamail.c:1667:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PrepareMessage() { ^ int metamail.c:1674:9: warning: call to undeclared function 'StripTrailingSpace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StripTrailingSpace(ContentEncoding); ^ metamail.c:1675:14: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!lc2strcmp(ContentEncoding, "base64")) { ^ metamail.c:1679:21: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] } else if (!lc2strncmp (ContentEncoding, "x-uue", 5)) { ^ metamail.c:1698:5: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetUpEnvironment(); ^ metamail.c:1699:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:1701:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SetUpEnvironment() { ^ int metamail.c:1722:5: warning: call to undeclared function 'EliminateNastyChars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EliminateNastyChars(MailSummary); ^ metamail.c:1790:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:1822:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] OKToRun(ctype, progname, label) ^ int metamail.c:1822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] metamail.c:1848:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] EliminateNastyChars(s) ^ int metamail.c:1848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] metamail.c:1860:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:1862:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] StripTrailingSpace(s) ^ int metamail.c:1862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] metamail.c:1867:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:1904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findcolon(hdr) ^ metamail.c:1914:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] maybephead(hdr) ^ int metamail.c:1927:22: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] || !lc2strncmp(hdr, KeyHeadList[numkeys], len)) { ^ metamail.c:1928:17: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!KeyKeep) phead(hdr); ^ metamail.c:1932:15: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (KeyKeep) phead(hdr); ^ metamail.c:1938:8: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] || !lc2strncmp(">from", KeyHeadList[numkeys], 5)) { ^ metamail.c:1939:17: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!KeyKeep) phead(hdr); ^ metamail.c:1943:15: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (KeyKeep) phead(hdr); ^ metamail.c:1914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] maybephead(hdr) ^ metamail.c:1945:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ metamail.c:1948:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] phead(s) ^ int metamail.c:1961:16: warning: passing arguments to 'PrintHeader' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintHeader(s, 1); ^ metamail.c:1948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] phead(s) ^ metamail.c:1964:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:2033:9: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (lc2strcmp(charset, PrevCharset)) { ^ metamail.c:2050:9: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MkTmpFileName(TmpFile); ^ metamail.c:2070:17: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TranslateInputToOutput(fp, stdout, ecode, "text"); ^ metamail.c:1969:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void PrintHeader(s, ShowLeadingWhitespace) ^ metamail.c:196:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void PrintHeader(); ^ metamail.c:2082:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] BuildCommand(Buf, controlstring, TmpFileName, UsedTmpFileName, PartsWritten) ^ int metamail.c:2121:45: warning: passing arguments to 'FindParam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] boundary = FindParam("boundary"); ^ metamail.c:2200:29: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MkTmpFileName(TmpFileNameBuf); ^ metamail.c:2204:29: warning: call to undeclared function 'WriteTmpFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] WriteTmpFile(thispart->fname, thispart->ctype); ^ metamail.c:2223:46: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConsumeRestOfPart(NULL); ^ metamail.c:2264:34: warning: passing arguments to 'FindParam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = FindParam(from); ^ metamail.c:2270:21: warning: call to undeclared function 'strcpynoquotes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] strcpynoquotes(to, p); ^ metamail.c:2082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BuildCommand(Buf, controlstring, TmpFileName, UsedTmpFileName, PartsWritten) ^ metamail.c:2292:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:2294:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] strcpynoquotes(t,f) ^ int metamail.c:2294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] metamail.c:2303:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:2305:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] WriteTmpFile(fname, ctype) ^ int metamail.c:2317:5: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TranslateInputToOutput(InputFP, fpout, EncodingCode, ctype); ^ metamail.c:2305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteTmpFile(fname, ctype) ^ metamail.c:2324:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TranslateInputToOutput(InputFP, OutputFP, Ecode, ctype) ^ int metamail.c:2333:13: warning: call to undeclared function 'from64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] from64(InputFP, OutputFP, InMultipart ? Boundaries : NULL, &BoundaryCt, DoesNeedPortableNewlines(ctype)); ^ metamail.c:2333:85: warning: call to undeclared function 'DoesNeedPortableNewlines'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] from64(InputFP, OutputFP, InMultipart ? Boundaries : NULL, &BoundaryCt, DoesNeedPortableNewlines(ctype)); ^ metamail.c:2336:13: warning: call to undeclared function 'fromqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fromqp(InputFP, OutputFP, InMultipart ? Boundaries : NULL, &BoundaryCt); ^ metamail.c:2339:7: warning: call to undeclared function 'fromuue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fromuue(InputFP, OutputFP, InMultipart ? Boundaries: NULL, &BoundaryCt); ^ metamail.c:2342:30: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConsumeRestOfPart(OutputFP); ^ metamail.c:2324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateInputToOutput(InputFP, OutputFP, Ecode, ctype) ^ metamail.c:2349:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:2351:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] CreateNewWindowPrefix(Prefix) ^ int metamail.c:2351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] metamail.c:2386:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:2397:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SaveTtyState() { ^ int metamail.c:2409:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:2411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RestoreTtyState() { ^ int metamail.c:2425:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:2427:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] NeedToAskBeforeExecuting(type) ^ int metamail.c:2433:13: warning: call to undeclared function 'CtypeMatch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (CtypeMatch(type, nai->type)) return(0); ^ metamail.c:2427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NeedToAskBeforeExecuting(type) ^ metamail.c:2438:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] NeedToBeQuiet(cmd) ^ int metamail.c:2443:14: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!lc2strcmp(nai->type, cmd)) return(1); ^ metamail.c:2438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NeedToBeQuiet(cmd) ^ metamail.c:2448:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] CtypeMatch(ctype, pat) ^ int metamail.c:2454:10: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!lc2strcmp(ctype, pat)) { ^ metamail.c:2466:15: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] && (!lc2strncmp(ctype, pat, len)) ^ metamail.c:2448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CtypeMatch(ctype, pat) ^ metamail.c:2474:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ExecuteCommand(cmd, really) ^ int metamail.c:2474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] metamail.c:2499:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] MkTmpFileName(name) ^ int metamail.c:2499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] metamail.c:2517:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:2562:17: warning: call to undeclared function 'PendingBoundary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] && PendingBoundary(Buf, Boundaries, &BoundaryCt)) { ^ metamail.c:2544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConsumeRestOfPart(outfp) ^ metamail.c:197:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void ConsumeRestOfPart(); ^ metamail.c:2570:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *paramend(s) ^ metamail.c:2592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseContentParameters(ct) ^ metamail.c:198:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void ParseContentParameters(); ^ metamail.c:2634:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *FindParam(s) ^ metamail.c:118:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *FindParam(); ^ metamail.c:2655:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] strcatquoting(s1, s2) ^ int metamail.c:2655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] metamail.c:2668:1: warning: non-void function does not return a value [-Wreturn-type] } ^ metamail.c:2670:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PauseForUser() { ^ int metamail.c:2682:9: warning: call to undeclared function 'StartRawStdin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (StartRawStdin() != -1) { ^ metamail.c:2692:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ metamail.c:2694:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] StartRawStdin() { ^ int metamail.c:2717:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int IsDirectory(fname) ^ 239 warnings generated. --- shared.o --- shared.c:15:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ExceptionalNewline(contenttype, needsportable) ^ int shared.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shared.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] DoesNeedPortableNewlines(ctype) ^ int shared.c:51:14: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!lc2strcmp(ctype, Exceptions[i])) { ^ shared.c:56:10: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!lc2strncmp(ctype, "text", 4)) { ^ shared.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoesNeedPortableNewlines(ctype) ^ shared.c:69:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lc2strncmp(s1, s2, len) ^ int shared.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shared.c:82:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lc2strcmp(s1, s2) ^ int shared.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shared.c:113:9: warning: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] gethostname(hostname, sizeof(hostname)); ^ 11 warnings generated. --- splitmail.o --- cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. splitmail.c --- mailto.o --- mailto.c:56:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *getenv(); ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here char *getenv(const char *); ^ mailto.c:142:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] EightBitCharHelp() { ^ int mailto.c:179:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:184:13: warning: call to undeclared function 'nomemabort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!s) nomemabort(); ^ mailto.c:203:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TildeHelp() { ^ int mailto.c:258:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink(TmpName); ^ mailto.c:260:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:289:33: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] struct passwd *p = getpwuid(getuid()); ^ mailto.c:302:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] InitTerminal() { ^ int mailto.c:314:17: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (term && tgetent(tbuf, term) != 1) { ^ mailto.c:319:13: warning: call to undeclared function 'tgetstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (tgetstr("ks", &dum)) *dum = '\0'; else KS[0] = '\0'; ^ mailto.c:334:23: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] termcolumns = tgetnum("co"); ^ mailto.c:352:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:354:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] FinalizeTerminal() { ^ int mailto.c:355:5: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tfputs(standendbuf); ^ mailto.c:361:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:367:13: warning: call to undeclared function 'nomemabort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!p) nomemabort(); ^ mailto.c:379:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] nomemabort() { ^ int mailto.c:381:5: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:382:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freshcopy(s) ^ mailto.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetLineMalloced(prompt, def) ^ mailto.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EditString(prompt, s) ^ mailto.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddCommasToAddressList(s) ^ mailto.c:435:19: warning: expression result unused [-Wunused-value] if (!ans) nomemabort; ^~~~~~~~~~ mailto.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToList(List, entry, definitelynew) ^ mailto.c:488:6: warning: parameter 'argc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ mailto.c:488:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int mailto.c:503:5: warning: call to undeclared function 'ProcessInitFiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ProcessInitFiles(); ^ mailto.c:504:5: warning: call to undeclared function 'InitSignals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InitSignals(); ^ mailto.c:527:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:546:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:556:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:561:21: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:582:5: warning: call to undeclared function 'ProcessMailcapFiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ProcessMailcapFiles(); ^ mailto.c:599:9: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:622:21: warning: call to undeclared function 'FputsQuotingLT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FputsQuotingLT(LineBuf+1, fpout, CurrentPart, EightBitMode, RightToLeftMode); ^ mailto.c:632:25: warning: call to undeclared function 'TryClosingStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TryClosingStyle("indentright", fpout, CurrentPart); ^ mailto.c:634:25: warning: call to undeclared function 'TryOpeningStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TryOpeningStyle("indent", fpout, CurrentPart, NULL); ^ mailto.c:641:25: warning: call to undeclared function 'TryOpeningStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TryOpeningStyle("indentright", fpout, CurrentPart, NULL); ^ mailto.c:643:25: warning: call to undeclared function 'TryClosingStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TryClosingStyle("indent", fpout, CurrentPart); ^ mailto.c:675:21: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TempCloseStyles(fpout); ^ mailto.c:686:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:688:21: warning: call to undeclared function 'ReopenStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReopenStyles(fpout, CurrentPart); ^ mailto.c:692:21: warning: call to undeclared function 'ToggleStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ToggleStyle("bold", fpout, CurrentPart, BoldOn, BoldOff); ^ mailto.c:715:21: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TempCloseStyles(fpout); ^ mailto.c:727:28: warning: call to undeclared function 'TranslateInputToEncodedOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) TranslateInputToEncodedOutput(fpin, fpout, ENC_NONE, ""); ^ mailto.c:737:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:739:21: warning: call to undeclared function 'ReopenStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReopenStyles(fpout, CurrentPart); ^ mailto.c:743:21: warning: call to undeclared function 'EditCurrentMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EditCurrentMessage(0); ^ mailto.c:778:33: warning: call to undeclared function 'EndStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EndStyle(fpout, "center"); ^ mailto.c:780:33: warning: call to undeclared function 'EndStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EndStyle(fpout, "flushright"); ^ mailto.c:782:33: warning: call to undeclared function 'EndStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EndStyle(fpout, "flushleft"); ^ mailto.c:789:29: warning: call to undeclared function 'StartStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StartStyle(fpout, "center", NULL); ^ mailto.c:791:29: warning: call to undeclared function 'StartStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StartStyle(fpout, "flushright", NULL); ^ mailto.c:793:29: warning: call to undeclared function 'StartStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StartStyle(fpout, "flushleft", NULL); ^ mailto.c:814:21: warning: call to undeclared function 'WriteOutMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] WriteOutMessage(fptmp, ToList, Subject, CCList, FirstPart); ^ mailto.c:815:21: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TempCloseStyles(fptmp); ^ mailto.c:820:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:825:21: warning: call to undeclared function 'RestoreCurrentStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RestoreCurrentStyles(); ^ mailto.c:829:21: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TempCloseStyles(fpout); ^ mailto.c:831:26: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!WriteDeadLetter()) cleanexit(0); ^ mailto.c:831:45: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!WriteDeadLetter()) cleanexit(0); ^ mailto.c:846:36: warning: call to undeclared function 'TranslateInputToEncodedOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EightBitSeen = TranslateInputToEncodedOutput(fpin, fpout, ENC_NONE, ""); ^ mailto.c:853:29: warning: call to undeclared function 'SwitchToEuropean'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SwitchToEuropean(); ^ mailto.c:902:21: warning: call to undeclared function 'WriteOutMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] WriteOutMessage(fptmp, ToList, Subject, CCList, FirstPart); ^ mailto.c:934:21: warning: call to undeclared function 'StartStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] StartStyle(fpout, "signature", NULL); ^ mailto.c:941:29: warning: call to undeclared function 'SwitchToEuropean'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SwitchToEuropean(); ^ mailto.c:945:21: warning: call to undeclared function 'EndStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EndStyle(fpout, "signature"); ^ mailto.c:986:29: warning: call to undeclared function 'SwitchToEuropean'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SwitchToEuropean(); ^ mailto.c:1001:21: warning: call to undeclared function 'ReopenStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ReopenStyles(fpout, CurrentPart); ^ mailto.c:1009:13: warning: call to undeclared function 'FputsQuotingLT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FputsQuotingLT(LineBuf, fpout, CurrentPart, EightBitMode, RightToLeftMode); ^ mailto.c:1012:5: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] TempCloseStyles(fpout); ^ mailto.c:1023:16: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) WriteDeadLetter(); ^ mailto.c:1024:9: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:1026:5: warning: call to undeclared function 'WriteOutMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] WriteOutMessage(fpout, ToList, Subject, CCList, FirstPart); ^ mailto.c:1029:16: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) WriteDeadLetter(); ^ mailto.c:1030:9: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:1032:5: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(0); /* Never returns */ ^ mailto.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ mailto.c:1042:46: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sprintf(idbuf, "<%d_%d_%d_%d@%s>", (int) getuid(), (int) getpid(), (int) time(0), ++ctr, getmyname()); ^ mailto.c:1042:62: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sprintf(idbuf, "<%d_%d_%d_%d@%s>", (int) getuid(), (int) getpid(), (int) time(0), ++ctr, getmyname()); ^ mailto.c:1042:94: warning: call to undeclared function 'getmyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sprintf(idbuf, "<%d_%d_%d_%d@%s>", (int) getuid(), (int) getpid(), (int) time(0), ++ctr, getmyname()); ^ mailto.c:1042:94: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] sprintf(idbuf, "<%d_%d_%d_%d@%s>", (int) getuid(), (int) getpid(), (int) time(0), ++ctr, getmyname()); ~~ ^~~~~~~~~~~ %d mailto.c:1047:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] WriteOutMessage(fp, ToList, Subject, CCList, FirstPart) ^ int mailto.c:1056:9: warning: call to undeclared function 'EmitHeader'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EmitHeader(fp, "In-Reply-To", InReplyTo); ^ mailto.c:1058:5: warning: call to undeclared function 'EmitHeaderWithAliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EmitHeaderWithAliases(fp, "To", ToList); ^ mailto.c:1060:5: warning: call to undeclared function 'EmitHeader'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EmitHeader(fp, "Subject", Subject); ^ mailto.c:1068:37: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] struct passwd *p = getpwuid(getuid()); ^ mailto.c:1085:24: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (int) getuid(), (int) getpid(), getmyname(), (int) time(0), ++ctr); ^ mailto.c:1085:40: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (int) getuid(), (int) getpid(), getmyname(), (int) time(0), ++ctr); ^ mailto.c:1085:50: warning: call to undeclared function 'getmyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (int) getuid(), (int) getpid(), getmyname(), (int) time(0), ++ctr); ^ mailto.c:1085:50: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] (int) getuid(), (int) getpid(), getmyname(), (int) time(0), ++ctr); ^~~~~~~~~~~ mailto.c:1101:13: warning: call to undeclared function 'WriteContentTypeAndEncoding'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] WriteContentTypeAndEncoding(fp, FirstPart); ^ mailto.c:1106:17: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:1108:20: warning: call to undeclared function 'TranslateInputToEncodedOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) TranslateInputToEncodedOutput(fpin, fp, FirstPart->encoding_type_needed, FirstPart->content_type); ^ mailto.c:1114:9: warning: call to undeclared function 'WriteContentTypeAndEncoding'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] WriteContentTypeAndEncoding(fp, FirstPart); ^ mailto.c:1119:13: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cleanexit(-1); ^ mailto.c:1121:16: warning: call to undeclared function 'TranslateInputToEncodedOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) TranslateInputToEncodedOutput(fpin, fp, FirstPart->encoding_type_needed, FirstPart->content_type); ^ mailto.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteOutMessage(fp, ToList, Subject, CCList, FirstPart) ^ mailto.c:1124:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ mailto.c:1126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] WriteContentTypeAndEncoding(fp, part) ^ int mailto.c:1143:13: warning: call to undeclared function 'WriteCtypeNicely'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] WriteCtypeNicely(fp, part->content_type); ^ mailto.c:1153:9: warning: call to undeclared function 'WriteCtypeNicely'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] WriteCtypeNicely(fp, part->content_type); /* fixes some syntactic junk */ ^ mailto.c:1126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteContentTypeAndEncoding(fp, part) ^ mailto.c:1165:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1167:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TranslateInputToEncodedOutput(InputFP, OutputFP, Ecode, ctype) ^ int mailto.c:1176:13: warning: call to undeclared function 'to64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] to64(InputFP, OutputFP, DoesNeedPortableNewlines(ctype)); ^ mailto.c:1176:37: warning: call to undeclared function 'DoesNeedPortableNewlines'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] to64(InputFP, OutputFP, DoesNeedPortableNewlines(ctype)); ^ mailto.c:1179:13: warning: call to undeclared function 'toqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] toqp(InputFP, OutputFP); ^ mailto.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateInputToEncodedOutput(InputFP, OutputFP, Ecode, ctype) ^ mailto.c:1199:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TempCloseStyles(fp) ^ int mailto.c:1206:5: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tfputs(StopUnderline); ^ mailto.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TempCloseStyles(fp) ^ mailto.c:1210:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1212:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RestoreCurrentStyles() { ^ int mailto.c:1216:13: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tfputs(EnvStartStack[i]); ^ mailto.c:1220:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1222:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ReopenStyles(fp, part) ^ int mailto.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:1232:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] richtextreset() ^ int mailto.c:1237:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1239:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] AlreadyInStyle(s) ^ int mailto.c:1239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:1249:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] StartStyle(fp, s, envstartstr) ^ int mailto.c:1249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:1263:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1265:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] EndStyle(fp, s) ^ int mailto.c:1265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:1287:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1289:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ToggleStyle(name, fp, part, turnonstr, turnoffstr) ^ int mailto.c:1298:25: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (turnoffstr) tfputs(turnoffstr); ^ mailto.c:1304:24: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (turnonstr) tfputs(turnonstr); ^ mailto.c:1289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleStyle(name, fp, part, turnonstr, turnoffstr) ^ mailto.c:1306:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1308:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TryOpeningStyle(name, fp, part, envstartstr) ^ int mailto.c:1308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:1320:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1322:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] TryClosingStyle(name, fp, part) ^ int mailto.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:1333:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1335:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] FputsQuotingLT(s, fp, part, EightBitMode, RightToLeftMode) ^ int mailto.c:1388:25: warning: call to undeclared function 'SwitchToEuropean'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SwitchToEuropean(); ^ mailto.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FputsQuotingLT(s, fp, part, EightBitMode, RightToLeftMode) ^ mailto.c:1398:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ mailto.c:1400:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cleanexit(code) ^ int mailto.c:1403:5: warning: call to undeclared function 'finalize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] finalize(); ^ mailto.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cleanexit(code) ^ mailto.c:1407:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] finalize() { ^ int mailto.c:1409:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink(FirstPart->filename); ^ mailto.c:1413:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1424:16: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) WriteDeadLetter(); ^ mailto.c:1431:20: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) WriteDeadLetter(); ^ mailto.c:1439:10: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] kill(getpid(), signum); ^ mailto.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cleanup(signum) ^ mailto.c:1443:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] InitSignals() { ^ int mailto.c:1461:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1463:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] WriteDeadLetter() ^ int mailto.c:1508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetCommand(s, t) ^ mailto.c:1539:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Cleanse(s, dolc) /* no leading or trailing space, all lower case */ ^ mailto.c:1557:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *DeQuote(s) ^ mailto.c:1659:13: warning: call to undeclared function 'ExceptionalNewline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ExceptionalNewline(mc->contenttype, atoi(eq)); ^ mailto.c:1577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMailcapEntry(fp) ^ mailto.c:1669:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcessMailcapFiles() ^ int mailto.c:1682:19: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] int uid = getuid(); ^ mailto.c:1814:112: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (mc->contenttype && index(mc->contenttype, '/') && !index(mc->contenttype, '*') && !lc2strcmp(mc->contenttype, lc)) { ^ mailto.c:1840:36: warning: call to undeclared function 'WhichEncodingForFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] mp->encoding_type_needed = WhichEncodingForFile(mp->filename, mp->content_type); ^ mailto.c:1843:9: warning: call to undeclared function 'SetTextFlags'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetTextFlags(mp); ^ mailto.c:1860:5: warning: call to undeclared function 'BuildCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] BuildCommand(CmdBuf, mc->composecommand ? mc->composecommand : mc->composetypedcommand, mp->filename); ^ mailto.c:1868:9: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (access(mp->filename, R_OK)) { ^ mailto.c:1876:36: warning: call to undeclared function 'WhichEncodingForFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] mp->encoding_type_needed = WhichEncodingForFile(mp->filename, mp->content_type); ^ mailto.c:1956:17: warning: call to undeclared function 'from64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] from64(fp, fpout, NULL, &bct, 0); ^ mailto.c:1959:17: warning: call to undeclared function 'fromqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fromqp(fp, fpout, NULL, &bct); ^ mailto.c:1969:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink(mp->filename); ^ mailto.c:1972:5: warning: call to undeclared function 'SetTextFlags'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetTextFlags(mp); ^ mailto.c:1979:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SetTextFlags(mp) ^ int mailto.c:1982:10: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!lc2strncmp(mp->content_type, "text/", 5)) { ^ mailto.c:1979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTextFlags(mp) ^ mailto.c:1988:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:1990:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] WhichEncodingForFile(fname, ctype) ^ int mailto.c:1990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:2026:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] BuildCommand(Buf, controlstring, TmpFileName) ^ int mailto.c:2026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:2062:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:2064:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] CtypeMatch(ctype, pat) ^ int mailto.c:2064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:2085:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] EditCurrentMessage(UseVisual) ^ int mailto.c:2115:14: warning: call to undeclared function 'ContainsEightBitChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ContainsEightBitChar(FirstPart->filename)) { ^ mailto.c:2162:14: warning: call to undeclared function 'ContainsEightBitChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ContainsEightBitChar(mp->filename)) { ^ mailto.c:2085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EditCurrentMessage(UseVisual) ^ mailto.c:2172:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ mailto.c:2175:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcessInitFiles() { ^ int mailto.c:2181:5: warning: call to undeclared function 'ProcessOneMailRC'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ProcessOneMailRC("/usr/lib/Mail.rc", 0); ^ mailto.c:2187:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:2190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NextAliasLine(LineBuf, LineAlloced, LineCount, fp, IsAndrew) ^ mailto.c:2225:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcessOneMailRC(fname, IsAndrew) ^ int mailto.c:2244:13: warning: call to undeclared function 'HandleAliasCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HandleAliasCommand(LineBuf); ^ mailto.c:2246:13: warning: call to undeclared function 'HandleSetCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HandleSetCommand(LineBuf+4, 1); ^ mailto.c:2248:13: warning: call to undeclared function 'HandleSetCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HandleSetCommand(LineBuf+6, 0); ^ mailto.c:2250:13: warning: call to undeclared function 'HandleAliasCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HandleAliasCommand(LineBuf+6); ^ mailto.c:2225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcessOneMailRC(fname, IsAndrew) ^ mailto.c:2257:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ mailto.c:2259:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] HandleSetCommand(cmd, DoSet) ^ int mailto.c:2259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:2296:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:2303:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] HandleAliasCommand(aliasline) ^ int mailto.c:2303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:2330:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ mailto.c:2332:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] EmitHeader(fp, hdr, body) ^ int mailto.c:2339:5: warning: call to undeclared function 'HeaderFputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HeaderFputs(body, fp, hdr); ^ mailto.c:2332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmitHeader(fp, hdr, body) ^ mailto.c:2342:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:2345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] firstbad(s) ^ mailto.c:2358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] firstgood(s) ^ mailto.c:2370:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] HeaderFputs(s, fp, hdr) ^ int mailto.c:2394:17: warning: call to undeclared function 'PutQP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PutQP(*s, fp); ^ mailto.c:2370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HeaderFputs(s, fp, hdr) ^ mailto.c:2407:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ mailto.c:2411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PutQP(c, fp) ^ int mailto.c:2411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:2418:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:2420:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] EmitHeaderWithAliases(fp, hdr, names) ^ int mailto.c:2427:5: warning: call to undeclared function 'EmitAddresses'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EmitAddresses(fp, names, hdr); ^ mailto.c:2420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmitHeaderWithAliases(fp, hdr, names) ^ mailto.c:2429:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:2431:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] EmitAddresses(fp, names, hdr) ^ int mailto.c:2440:9: warning: call to undeclared function 'DeAlias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] DeAlias(names, fp, hdr); ^ mailto.c:2431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmitAddresses(fp, names, hdr) ^ mailto.c:2447:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:2449:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] DeAlias(name, fp, hdr) ^ int mailto.c:2449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:2472:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ mailto.c:2475:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] WriteCtypeNicely(fp, ct) ^ int mailto.c:2504:13: warning: call to undeclared function 'fputsquoting'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fputsquoting(s, fp); ^ mailto.c:2475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteCtypeNicely(fp, ct) ^ mailto.c:2508:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:2510:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fputsquoting(s, fp) ^ int mailto.c:2510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:2539:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:2579:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] controlputc(c) ^ int mailto.c:2579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:2583:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:2594:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] tfputs(s) ^ int mailto.c:2597:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tputs(s, 1, controlputc); ^ mailto.c:2594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tfputs(s) ^ mailto.c:2598:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mailto.c:2600:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ContainsEightBitChar(fname) ^ int mailto.c:2600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mailto.c:2620:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SwitchToEuropean() { ^ int mailto.c:2629:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 251 warnings generated. --- putenv.o --- putenv.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putenv (string) ^ 1 warning generated. --- splitmail.o --- splitmail.c:45:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *getenv(); ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here char *getenv(const char *); ^ splitmail.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] usageexit() { ^ int splitmail.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] endofheader(s) ^ splitmail.c:72:6: warning: parameter 'argc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ splitmail.c:72:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int splitmail.c:199:6: warning: call to undeclared function 'ShareThisHeader'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (ShareThisHeader(from, SubjectBuf, sizeof(SubjectBuf), &OrigID)) { ^ splitmail.c:213:38: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sprintf(id, "%d.%d.%d.%s", (int) getuid(), (int) getpid(), (int) time(0), getmyname()); ^ splitmail.c:213:54: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sprintf(id, "%d.%d.%d.%s", (int) getuid(), (int) getpid(), (int) time(0), getmyname()); ^ splitmail.c:230:9: warning: call to undeclared function 'HandleOnePart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HandleOnePart(DoDeliver, deliverycmd, prefix, numparts, whichpart, SharedHeaders, SubjectBuf, id, MessageID, bigbuf, OrigID); ^ splitmail.c:237:9: warning: call to undeclared function 'HandleOnePart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] HandleOnePart(DoDeliver, deliverycmd, prefix, numparts, whichpart, SharedHeaders, SubjectBuf, id, MessageID, bigbuf, OrigID); ^ splitmail.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ splitmail.c:243:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] HandleOnePart(DoDeliver, deliverycmd, prefix, numparts, whichpart, SharedHeaders, SubjectBuf, id, MessageID, bigbuf, OrigID) ^ int splitmail.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] splitmail.c:332:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ splitmail.c:344:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ShareThisHeader(s, SubjectBuf, size, OrigID) ^ int splitmail.c:354:10: warning: call to undeclared function 'ULstrcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!ULstrcmp(s, "message-id")) { ^ splitmail.c:372:13: warning: call to undeclared function 'IllegalContentType'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (IllegalContentType(colon+1)) { ^ splitmail.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShareThisHeader(s, SubjectBuf, size, OrigID) ^ splitmail.c:386:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] IllegalContentType(ctype) ^ int splitmail.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] splitmail.c:458:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ULstrcmp(s1, s2) ^ 21 warnings generated. --- splitmail --- rm -f splitmail cc -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -o splitmail splitmail.o shared.o -fstack-protector-strong --- mmencode --- --- mailto --- --- metamail --- --- mmencode --- rm -f mmencode cc -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -o mmencode mmencode.o codes.o -fstack-protector-strong --- mailto --- rm -f mailto cc -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -o mailto mailto.o codes.o shared.o -lncurses -fstack-protector-strong --- metamail --- rm -f metamail cc -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -o metamail metamail.o putenv.o codes.o uue.o shared.o -fstack-protector-strong rm bin/metamail rm: bin/metamail: No such file or directory (cd bin; ln -s ../metamail/metamail metamail) rm bin/mmencode rm: bin/mmencode: No such file or directory (cd bin; ln -s ../metamail/mmencode mmencode) rm bin/mimencode rm: bin/mimencode: No such file or directory (cd bin; ln -s ../metamail/mmencode mimencode) rm man/mimencode.1 rm: man/mimencode.1: No such file or directory (cd man; ln -s ../man/mmencode.1 mimencode.1) rm bin/mailto rm: bin/mailto: No such file or directory (cd bin; ln -s ../metamail/mailto mailto) rm bin/splitmail rm: bin/splitmail: No such file or directory (cd bin; ln -s ../metamail/splitmail splitmail) (cd richmail ; make CONFIGDIR=../. CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. " CC="cc" LDLIBS="-fstack-protector-strong ") --- richtext.o --- --- richlex.o --- --- richset.o --- --- usascii.o --- --- iso2022.o --- --- richtoatk.o --- --- richtext.o --- rm -f richtext.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. richtext.c --- richlex.o --- rm -f richlex.o --- richset.o --- rm -f richset.o --- usascii.o --- rm -f usascii.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. usascii.c --- iso2022.o --- rm -f iso2022.o cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. iso2022.c --- richtext.o --- In file included from richtext.c:21: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextreset(); ~~~~~~ ^ int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); ~~~~~~ ^ int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextencoding( /* int encoding */ ); ~~~~~~ ^ int In file included from richtext.c:22: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetinit ( /* struct charsetproc *charset, char *name */ ); ~~~~~~ ^ int --- richlex.o --- cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. richlex.c --- richtoatk.o --- rm -f richtoatk.o --- richtext.o --- ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetnameinit ( /* char *name */ ); ~~~~~~ ^ int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetpush ( /* struct charsetproc *charset */ ); ~~~~~~ ^ int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetpop ( /* struct charsetproc *charset */ ); ~~~~~~ ^ int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); ~~~~~~ ^ int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, ~~~~~~ ^ int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); ~~~~~~ ^ int richtext.c:25:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *getenv(); ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here char *getenv(const char *); ^ richtext.c:84:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ~~~~~~ ^ int richtext.c:84:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ~~~~~~ ^ int richtext.c:84:34: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ~~~~~~ ^ int richtext.c:84:56: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ~~~~~~ ^ int richtext.c:84:65: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ~~~~~~ ^ int richtext.c:84:85: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ~~~~~~ ^ int richtext.c:84:107: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ~~~~~~ ^ int richtext.c:84:127: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ~~~~~~ ^ int richtext.c:84:140: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ~~~~~~ ^ int richtext.c:126:10: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] kill(getpid(), signum); ^ richtext.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cleanup(signum) ^ richtext.c:130:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static InitSignals() { ~~~~~~ ^ int richtext.c:149:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richtext.c:151:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static nomemabort() { ~~~~~~ ^ int richtext.c:160:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static lc2strcmp(s1, s2) ~~~~~~ ^ int richtext.c:160:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtext.c:178:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int richtext.c:182:8: warning: call to undeclared function 'richtext_main'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(richtext_main(argc, argv)); ^ richtext.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ richtext.c:187:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] richtext_main(argc, argv) ^ int richtext.c:337:23: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (UsePager && (!isatty(0) || !isatty(1) || NotTtyEnv)) { ^ richtext.c:345:17: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (term && tgetent(tbuf, term) != 1) { ^ richtext.c:350:13: warning: call to undeclared function 'tgetstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (tgetstr("ks", &dum)) *dum = '\0'; else KS[0] = '\0'; ^ richtext.c:372:23: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] termcolumns = tgetnum("co"); ^ richtext.c:412:20: warning: passing arguments to 'charsetnameinit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetnameinit(charsetname); ^ richtext.c:415:24: warning: passing arguments to 'richtextcorrect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextcorrect(InputFP,stdout,TextEnriched); ^ richtext.c:418:10: warning: passing arguments to 'FPUTS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FPUTS(KS, stdout); ^ richtext.c:420:27: warning: passing arguments to 'richtextlex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while((c = richtextlex(InputFP,token,TextEnriched, nofill)) != (RCHAR)EOF) { ^ richtext.c:426:25: warning: passing arguments to 'charsetcommand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (charsetcommand (tok,negated)) ^ richtext.c:436:32: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (FakeTerminal) outputstr(BoldOff); ^ richtext.c:437:10: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] else controloutput(BoldOff, 0); ^ richtext.c:442:43: warning: passing arguments to 'ResetTerminalCodes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetTerminalCodes(FakeTerminal, standout, underline, ^ richtext.c:486:39: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!atstart) OUTC('\n'); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:501:32: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (FakeTerminal) outputstr(standendbuf); ^ richtext.c:502:10: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] else controloutput(standendbuf, 0); ^ richtext.c:507:43: warning: passing arguments to 'ResetTerminalCodes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetTerminalCodes(FakeTerminal, standout, underline, bold, ^ richtext.c:523:4: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC('\n'); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:529:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC('<'); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:534:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC('\n'); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:542:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC('\n'); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:543:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC('\014'); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:564:38: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (negated) OUTC('\n'); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:565:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC('\n'); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:570:20: warning: passing arguments to 'richtextlex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = richtextlex(InputFP,token,TextEnriched, nofill); ^ richtext.c:595:39: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!atstart) OUTC('\n'); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:603:32: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (FakeTerminal) outputstr(StopUnderline); ^ richtext.c:604:10: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] else controloutput(StopUnderline,0); ^ richtext.c:609:43: warning: passing arguments to 'ResetTerminalCodes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetTerminalCodes(FakeTerminal, standout, underline, bold, ^ richtext.c:620:5: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC(tempc); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:624:5: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC('<'); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:637:12: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC(token[i]); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:648:3: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC(c); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:650:17: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC(' '); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:654:13: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC(c); ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:659:9: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput(standendbuf, 0); ^ richtext.c:662:5: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OUTC('\n'); /* for good measure */ ^ richtext.c:86:26: note: expanded from macro 'OUTC' #define OUTC(c) (outputc((RCHAR)(c))) ^ richtext.c:663:10: warning: passing arguments to 'FPUTS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FPUTS(KE, stdout); ^ richtext.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtext_main(argc, argv) ^ richtext.c:674:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] controlputc(c) ^ int richtext.c:677:20: warning: passing arguments to 'charmemberctrl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charmemberctrl (&OutputBuf[PendingOutput],(RCHAR)c); ^ richtext.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] controlputc(c) ^ richtext.c:49:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int controlputc(); ^ richtext.c:680:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richtext.c:682:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static immediate_controlputc(c) ~~~~~~ ^ int richtext.c:685:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) (c, stdout); ^ richtext.c:682:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static immediate_controlputc(c) ^ richtext.c:686:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richtext.c:688:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] controloutput(s, immediate) ^ int richtext.c:692:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tputs(s, 1, immediate ? immediate_controlputc : controlputc); ^ richtext.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] controloutput(s, immediate) ^ richtext.c:693:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richtext.c:695:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static folding_point (buf, pos) ~~~~~~ ^ int richtext.c:701:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!charisctrl (buf[i]) && charmemberfold (buf[i])) ^ ./richset.h:162:34: note: expanded from macro 'charmemberfold' ((*((member).charfold)) ((member).ch)) ^ richtext.c:695:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static folding_point (buf, pos) ^ richtext.c:707:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static calc_column (buf, pos) ~~~~~~ ^ int richtext.c:715:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] col += charmemberwidth (*s); ^ ./richset.h:156:35: note: expanded from macro 'charmemberwidth' ((*((member).charwidth)) ((member).ch)) ^ richtext.c:707:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static calc_column (buf, pos) ^ richtext.c:722:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static FlushOut() { ~~~~~~ ^ int richtext.c:752:20: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charmember (&OutputBuf[PendingOutput],(RCHAR)'\n'); ^ richtext.c:771:25: warning: passing arguments to 'fputsmovingright' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fputsmovingright(OutputBuf, stdout); ^ richtext.c:778:25: warning: passing arguments to 'fputsmovingright' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fputsmovingright(s, stdout); ^ richtext.c:787:25: warning: passing arguments to 'fputsmovingright' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fputsmovingright(OutputBuf, stdout); ^ richtext.c:791:25: warning: passing arguments to 'fputsmovingright' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fputsmovingright(OutputBuf, stdout); ^ richtext.c:804:24: warning: passing arguments to 'realoutputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] realoutputc(NewOutputBuf[j], 1); ^ richtext.c:807:23: warning: passing arguments to 'ResetTerminalCodes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetTerminalCodes(FakeTerminal, standout, underline, bold, ^ richtext.c:810:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richtext.c:812:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static outputc(c) ~~~~~~ ^ int richtext.c:816:16: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charmember (&member,c); ^ richtext.c:817:16: warning: passing arguments to 'realoutputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] realoutputc(member, 0); ^ richtext.c:812:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static outputc(c) ^ richtext.c:84:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ^ richtext.c:818:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richtext.c:820:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static realoutputc(c, alreadyformatted) ~~~~~~ ^ int richtext.c:827:17: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charmember (&OutputBuf[PendingOutput],(RCHAR)'\n'); ^ richtext.c:833:21: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charmember (&OutputBuf[PendingOutput],(RCHAR)'\n'); ^ richtext.c:839:25: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charmember (&OutputBuf[PendingOutput],(RCHAR)' '); ^ richtext.c:850:29: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charmember (&OutputBuf[PendingOutput],(RCHAR)'>'); ^ richtext.c:855:29: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charmember (&OutputBuf[PendingOutput],(RCHAR)'+'); ^ richtext.c:860:29: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charmember (&OutputBuf[PendingOutput],(RCHAR)' '); ^ richtext.c:866:25: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charmember (&OutputBuf[PendingOutput],(RCHAR)'_'); ^ richtext.c:871:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] linepos += charmemberwidth (c); ^ ./richset.h:156:35: note: expanded from macro 'charmemberwidth' ((*((member).charwidth)) ((member).ch)) ^ richtext.c:820:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static realoutputc(c, alreadyformatted) ^ richtext.c:84:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ^ richtext.c:890:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richtext.c:892:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static MakeWorkingMargins() { ~~~~~~ ^ int richtext.c:904:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richtext.c:906:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static Pause() ~~~~~~ ^ int richtext.c:915:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ richtext.c:920:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static fputsmovingright(s, fp) ~~~~~~ ^ int richtext.c:932:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) ((int)(s -> ch), fp); ^ richtext.c:934:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charmemberrender (*s, fp); ^ ./richset.h:168:36: note: expanded from macro 'charmemberrender' ((*((member).charrender)) ((member).ch,param)) ^ richtext.c:920:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static fputsmovingright(s, fp) ^ richtext.c:84:65: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ^ richtext.c:938:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ richtext.c:942:38: warning: parameter 'modifiedbold' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] BoldOn, BoldOff, modifiedbold) ^ richtext.c:941:70: warning: parameter 'modifiedunderline' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] modifiedstandout, StartUnderline, StopUnderline, modifiedunderline, ^ richtext.c:941:21: warning: parameter 'modifiedstandout' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] modifiedstandout, StartUnderline, StopUnderline, modifiedunderline, ^ richtext.c:940:62: warning: parameter 'bold' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ResetTerminalCodes(FakeTerminal, standout, underline, bold, standoutbuf, standendbuf, ^ richtext.c:940:51: warning: parameter 'underline' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ResetTerminalCodes(FakeTerminal, standout, underline, bold, standoutbuf, standendbuf, ^ richtext.c:940:41: warning: parameter 'standout' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ResetTerminalCodes(FakeTerminal, standout, underline, bold, standoutbuf, standendbuf, ^ richtext.c:940:27: warning: parameter 'FakeTerminal' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ResetTerminalCodes(FakeTerminal, standout, underline, bold, standoutbuf, standendbuf, ^ richtext.c:940:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ResetTerminalCodes(FakeTerminal, standout, underline, bold, standoutbuf, standendbuf, ~~~~~~ ^ int richtext.c:953:61: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (modifiedstandout && standout == 1) outputstr(standoutbuf); ^ richtext.c:958:53: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (modifiedbold && bold == 1) outputstr(BoldOn); ^ richtext.c:963:63: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (modifiedunderline && underline == 1) outputstr(StartUnderline); ^ richtext.c:940:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static ResetTerminalCodes(FakeTerminal, standout, underline, bold, standoutbuf, standendbuf, ^ richtext.c:84:85: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ^ richtext.c:966:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ richtext.c:968:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static FinalizeTerminal() { ~~~~~~ ^ int richtext.c:969:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] tputs(standendbuf, 1, immediate_controlputc); ^ richtext.c:972:10: warning: passing arguments to 'FPUTS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FPUTS(KE, stdout); ^ richtext.c:973:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richtext.c:975:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static outputstr(s) ~~~~~~ ^ int richtext.c:975:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtext.c:84:127: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ^ richtext.c:979:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richtext.c:997:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static FPUTS(s,fp) ~~~~~~ ^ int richtext.c:1001:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while(*s) (*RichtextPutc)((int)(*s++),fp); ^ richtext.c:997:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static FPUTS(s,fp) ^ richtext.c:84:140: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS(); ^ richtext.c:1002:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richtext.c:1005:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static lc2strncmp(s1, s2, len) ~~~~~~ ^ int richtext.c:1005:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 154 warnings generated. --- richtoatk.o --- cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. richtoatk.c --- iso2022.o --- In file included from iso2022.c:44: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextreset(); ~~~~~~ ^ int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); ~~~~~~ ^ int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextencoding( /* int encoding */ ); ~~~~~~ ^ int In file included from iso2022.c:45: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetinit ( /* struct charsetproc *charset, char *name */ ); ~~~~~~ ^ int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetnameinit ( /* char *name */ ); ~~~~~~ ^ int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetpush ( /* struct charsetproc *charset */ ); ~~~~~~ ^ int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetpop ( /* struct charsetproc *charset */ ); ~~~~~~ ^ int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); ~~~~~~ ^ int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, ~~~~~~ ^ int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); ~~~~~~ ^ int iso2022.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] iso2022_init (name) ^ int iso2022.c:88:10: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!strncmp (name,"iso-2022-jp",11)) ^ iso2022.c:88:10: note: include the header or explicitly provide a declaration for 'strncmp' iso2022.c:89:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding (RICH_ENC_JP_ASCII); ^ iso2022.c:91:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding (RICH_ENC_KR_ASCII); ^ iso2022.c:92:2: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\033$)C",0); ^ iso2022.c:94:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding (RICH_ENC_US_ASCII); ^ iso2022.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iso2022_init (name) ^ iso2022.c:95:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ iso2022.c:105:10: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!strcmp(token,"iso-2022-jp")) { ^ iso2022.c:105:10: note: include the header or explicitly provide a declaration for 'strcmp' iso2022.c:108:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\033(B",0); ^ iso2022.c:110:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpop(&iso2022_charset); ^ iso2022.c:113:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpush(&iso2022_charset); ^ iso2022.c:114:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding(RICH_ENC_US_ASCII); ^ iso2022.c:115:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\033(B",0); ^ iso2022.c:122:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\017",0); ^ iso2022.c:123:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpop(&iso2022_charset); ^ iso2022.c:126:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpush(&iso2022_charset); ^ iso2022.c:127:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding(RICH_ENC_KR_ASCII); ^ iso2022.c:128:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\033$)C\017",0); ^ iso2022.c:134:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\033(B",0); ^ iso2022.c:136:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpop(&iso2022_charset); ^ iso2022.c:139:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpush(&iso2022_charset); ^ iso2022.c:140:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding(RICH_ENC_JP_ASCII); ^ iso2022.c:141:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\033(J",0); ^ iso2022.c:148:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\033(B",0); ^ iso2022.c:150:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpop(&iso2022_charset); ^ iso2022.c:153:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpush(&iso2022_charset); ^ iso2022.c:158:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding((SwToOther == '@' ? RICH_ENC_JIS_1978 : ^ iso2022.c:160:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\033$",0); ^ iso2022.c:161:6: warning: call to undeclared function 'controlputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controlputc(SwToOther); ^ iso2022.c:167:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\017",0); ^ iso2022.c:168:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpop(&iso2022_charset); ^ iso2022.c:171:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpush(&iso2022_charset); ^ iso2022.c:172:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding(RICH_ENC_KSC_5601); ^ iso2022.c:173:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\033$)C\016",0); ^ iso2022.c:183:21: warning: passing arguments to 'charsettop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!charsettop(&iso2022_charset)) ^ iso2022.c:184:19: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpush(&iso2022_charset); ^ iso2022.c:185:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding((swchar == 'J' ? RICH_ENC_JP_ASCII : ^ iso2022.c:187:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\033(",0); ^ iso2022.c:188:6: warning: call to undeclared function 'controlputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controlputc(swchar); ^ iso2022.c:192:21: warning: passing arguments to 'charsettop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!charsettop(&iso2022_charset)) ^ iso2022.c:193:19: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpush(&iso2022_charset); ^ iso2022.c:194:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding((swchar == '@' ? RICH_ENC_JIS_1978 : ^ iso2022.c:196:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\033$",0); ^ iso2022.c:197:6: warning: call to undeclared function 'controlputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controlputc(swchar); ^ iso2022.c:206:21: warning: passing arguments to 'charsettop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!charsettop(&iso2022_charset)) ^ iso2022.c:207:19: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpush(&iso2022_charset); ^ iso2022.c:208:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding(RICH_ENC_KSC_5601); ^ iso2022.c:209:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\016",0); ^ iso2022.c:213:21: warning: passing arguments to 'charsettop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!charsettop(&iso2022_charset)) ^ iso2022.c:214:19: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpush(&iso2022_charset); ^ iso2022.c:215:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding(RICH_ENC_KR_ASCII); ^ iso2022.c:216:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] controloutput("\017",0); ^ iso2022.c:100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int iso2022_command (token,negated) ^ iso2022.c:227:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int iso2022_single (token) ^ iso2022.c:238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int iso2022_width (ch) ^ iso2022.c:247:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int iso2022_fold (ch) ^ iso2022.c:260:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] iso2022_render (ch,param) ^ int iso2022.c:269:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) (033,param); ^ iso2022.c:270:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) ('$',param); ^ iso2022.c:271:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) (SwToOther,param); ^ iso2022.c:273:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) (SO,param); ^ iso2022.c:276:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) ((int)((ch & 0xFF00) >> 8),param); ^ iso2022.c:277:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) ((int)(ch & 0xFF),param); ^ iso2022.c:283:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) (033,param); ^ iso2022.c:284:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) ('(',param); ^ iso2022.c:285:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) (SwToAscii,param); ^ iso2022.c:287:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) (SI,param); ^ iso2022.c:290:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) ((int)(ch & 0xFF),param); ^ iso2022.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iso2022_render (ch,param) ^ iso2022.c:292:1: warning: non-void function does not return a value [-Wreturn-type] } ^ iso2022.c:297:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] iso2022_encoding (newenc) ^ int iso2022.c:301:26: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] case RICH_ENC_US_ASCII: controloutput("\033(B",0); break; ^ iso2022.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iso2022_encoding (newenc) ^ iso2022.c:309:1: warning: non-void function does not return a value [-Wreturn-type] } ^ iso2022.c:328:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int iso2022_fputc (ch,file) ^ iso2022.c:375:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 87 warnings generated. --- richtoatk.o --- In file included from richtoatk.c:17: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextreset(); ~~~~~~ ^ int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); ~~~~~~ ^ int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextencoding( /* int encoding */ ); ~~~~~~ ^ int richtoatk.c:22:10: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!strcmp(t, "fixed")) return("typewriter"); ^ richtoatk.c:22:10: note: include the header or explicitly provide a declaration for 'strcmp' richtoatk.c:19:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *translate(t) ^ richtoatk.c:28:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main() { ^ int richtoatk.c:35:27: warning: passing arguments to 'richtextlex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while((c = richtextlex(stdin,tok + 1, 0, 0)) != (RCHAR)EOF) { ^ richtoatk.c:60:25: warning: call to undeclared function 'ignoretoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] } else if (!ignoretoken(token)) { ^ richtoatk.c:79:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ignoretoken(t) ^ int richtoatk.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtoatk.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] controlputc(c) ^ int richtoatk.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtoatk.c:92:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richtoatk.c:94:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] controloutput(s, immediate) ^ int richtoatk.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtoatk.c:98:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 16 warnings generated. --- usascii.o --- In file included from usascii.c:38: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextreset(); ~~~~~~ ^ int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); ~~~~~~ ^ int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextencoding( /* int encoding */ ); ~~~~~~ ^ int In file included from usascii.c:39: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetinit ( /* struct charsetproc *charset, char *name */ ); ~~~~~~ ^ int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetnameinit ( /* char *name */ ); ~~~~~~ ^ int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetpush ( /* struct charsetproc *charset */ ); ~~~~~~ ^ int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetpop ( /* struct charsetproc *charset */ ); ~~~~~~ ^ int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); ~~~~~~ ^ int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, ~~~~~~ ^ int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); ~~~~~~ ^ int usascii.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] usascii_init (name) ^ int usascii.c:48:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding (RICH_ENC_US_ASCII); ^ usascii.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usascii_init (name) ^ usascii.c:49:1: warning: non-void function does not return a value [-Wreturn-type] } ^ usascii.c:58:10: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!strcmp(token,"us-ascii")) { ^ usascii.c:58:10: note: include the header or explicitly provide a declaration for 'strcmp' usascii.c:60:17: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpop (&usascii_charset); ^ usascii.c:62:18: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpush (&usascii_charset); ^ usascii.c:63:23: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding (RICH_ENC_US_ASCII); ^ usascii.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int usascii_command (token,negated) ^ usascii.c:74:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int usascii_single (token) ^ usascii.c:83:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int usascii_width (ch) ^ usascii.c:92:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int usascii_fold (ch) ^ usascii.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] usascii_render (ch,param) ^ int usascii.c:105:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*RichtextPutc) ((int)ch,param); ^ usascii.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usascii_render (ch,param) ^ usascii.c:106:1: warning: non-void function does not return a value [-Wreturn-type] } ^ usascii.c:111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] usascii_encoding (newenc) ^ int usascii.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usascii.c:115:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 29 warnings generated. --- richset.o --- cc -c -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. richset.c --- richlex.o --- In file included from richlex.c:47: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextreset(); ~~~~~~ ^ int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); ~~~~~~ ^ int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextencoding( /* int encoding */ ); ~~~~~~ ^ int In file included from richlex.c:48: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetinit ( /* struct charsetproc *charset, char *name */ ); ~~~~~~ ^ int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetnameinit ( /* char *name */ ); ~~~~~~ ^ int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetpush ( /* struct charsetproc *charset */ ); ~~~~~~ ^ int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetpop ( /* struct charsetproc *charset */ ); ~~~~~~ ^ int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); ~~~~~~ ^ int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, ~~~~~~ ^ int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); ~~~~~~ ^ int richlex.c:54:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int fgetc (); ^ /usr/include/stdio.h:255:6: note: conflicting prototype is here int fgetc(FILE *); ^ richlex.c:55:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int fputc (); ^ /usr/include/stdio.h:260:6: note: conflicting prototype is here int fputc(int, FILE *); ^ richlex.c:109:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] richtextreset() ^ int richlex.c:121:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richlex.c:127:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void richtextpushback(c) ^ richlex.c:136:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void richtextunget(c) ^ richlex.c:148:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void richtextunget2(c1,c2) ^ richlex.c:195:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static richtextsingle(TextEnriched) ~~~~~~ ^ int richlex.c:198:27: warning: passing arguments to 'charsetsingle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (charsetsingle (NextToken) || ^ richlex.c:195:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static richtextsingle(TextEnriched) ^ richlex.c:256:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = RGET(file); ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:268:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((c = RGET(file)) == EOF) { ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:272:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c2 = RGET(file); ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:282:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c2 = RGET(file); ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:292:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((c = RGET(file)) == '/') { ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:294:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = RGET(file); ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:299:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = RGET(file); ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:304:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = RGET(file); ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:360:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = RGET(file); ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:362:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newc = RGET(file); ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:364:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newc = RGET(file); /* 4-byte ESC-$-)-? sequence */ ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:365:37: warning: data argument not used by format string [-Wformat-extra-args] sprintf(token,ISO2022_CHARSET,newc); ~~~~~~~~~~~~~~~ ^ richlex.c:371:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newc = RGET(file); ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:391:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((newc = RGET(file)) == EOF) { ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:403:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int c2 = RGET(file); ^ richlex.c:81:54: note: expanded from macro 'RGET' #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' #define RGETRAW(f) ((*RichtextGetc)(f)) ^ richlex.c:225:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RCHAR richtextlex(file,token,TextEnriched, nofill) ^ In file included from richlex.c:47: ./richlex.h:118:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern RCHAR richtextlex( /* void *file,char *token,int TextEnriched */ ); ^ richlex.c:420:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static richtextoutstr(str,outparam) ~~~~~~ ^ int richlex.c:425:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RPUT(*str,outparam); ^ richlex.c:82:35: note: expanded from macro 'RPUT' #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) ^ richlex.c:420:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static richtextoutstr(str,outparam) ^ richlex.c:428:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richlex.c:434:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] richtextcorrect(inparam,outparam,TextEnriched) ^ int richlex.c:442:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RPUT('<',outparam); ^ richlex.c:82:35: note: expanded from macro 'RPUT' #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) ^ richlex.c:444:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RPUT('>',outparam); ^ richlex.c:82:35: note: expanded from macro 'RPUT' #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) ^ richlex.c:446:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RPUT('<',outparam); ^ richlex.c:82:35: note: expanded from macro 'RPUT' #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) ^ richlex.c:447:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RPUT('/',outparam); ^ richlex.c:82:35: note: expanded from macro 'RPUT' #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) ^ richlex.c:449:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RPUT('>',outparam); ^ richlex.c:82:35: note: expanded from macro 'RPUT' #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) ^ richlex.c:451:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RPUT(RICHCH2_FIRST(c),outparam); ^ richlex.c:82:35: note: expanded from macro 'RPUT' #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) ^ richlex.c:452:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RPUT(RICHCH2_SECOND(c),outparam); ^ richlex.c:82:35: note: expanded from macro 'RPUT' #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) ^ richlex.c:454:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RPUT(c,outparam); ^ richlex.c:82:35: note: expanded from macro 'RPUT' #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) ^ richlex.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextcorrect(inparam,outparam,TextEnriched) ^ In file included from richlex.c:47: ./richlex.h:126:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); ^ richlex.c:457:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richlex.c:463:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] richtextencoding(encoding) ^ int richlex.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] In file included from richlex.c:47: ./richlex.h:146:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern richtextencoding( /* int encoding */ ); ^ richlex.c:483:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 57 warnings generated. --- richset.o --- In file included from richset.c:38: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextreset(); ~~~~~~ ^ int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); ~~~~~~ ^ int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern richtextencoding( /* int encoding */ ); ~~~~~~ ^ int In file included from richset.c:39: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetinit ( /* struct charsetproc *charset, char *name */ ); ~~~~~~ ^ int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetnameinit ( /* char *name */ ); ~~~~~~ ^ int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetpush ( /* struct charsetproc *charset */ ); ~~~~~~ ^ int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charsetpop ( /* struct charsetproc *charset */ ); ~~~~~~ ^ int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); ~~~~~~ ^ int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, ~~~~~~ ^ int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); ~~~~~~ ^ int richset.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] charsetinit (charset,name) ^ int richset.c:71:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((CharacterSets[temp] == charset ? name : NULL)); ^ richset.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetinit (charset,name) ^ In file included from richset.c:39: ./richset.h:92:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern charsetinit ( /* struct charsetproc *charset, char *name */ ); ^ richset.c:74:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richset.c:80:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] charsetnameinit (name) ^ int richset.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] In file included from richset.c:39: ./richset.h:98:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern charsetnameinit ( /* char *name */ ); ^ richset.c:109:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richset.c:114:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] charsetpush (charset) ^ int richset.c:122:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(CharSets[NumCharSets - 1] -> encoding)) (-1); /* Leave current */ ^ richset.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpush (charset) ^ In file included from richset.c:39: ./richset.h:103:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern charsetpush ( /* struct charsetproc *charset */ ); ^ richset.c:125:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ richset.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] charsetpop (charset) ^ int richset.c:137:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] richtextencoding (CharEncStack[NumCharSets - 1]); ^ richset.c:138:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(CharSets[NumCharSets - 1] -> encoding)) (RichtextCharEncoding); ^ richset.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charsetpop (charset) ^ In file included from richset.c:39: ./richset.h:110:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern charsetpop ( /* struct charsetproc *charset */ ); ^ richset.c:140:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richset.c:146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int charsettop (charset) ^ In file included from richset.c:39: ./richset.h:116:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int charsettop ( /* struct charsetproc *charset */ ); ^ richset.c:160:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] charmember (member,ch) ^ int richset.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] In file included from richset.c:39: ./richset.h:122:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); ^ richset.c:166:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richset.c:171:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] charmemberspec (member,ch,charset) ^ int richset.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] In file included from richset.c:39: ./richset.h:127:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, ^ richset.c:178:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richset.c:183:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] charmemberctrl (member,ch) ^ int richset.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] In file included from richset.c:39: ./richset.h:133:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); ^ richset.c:189:1: warning: non-void function does not return a value [-Wreturn-type] } ^ richset.c:202:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*(CharacterSets[temp] -> command)) (token,negated)) ^ richset.c:196:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int charsetcommand (token,negated) ^ In file included from richset.c:39: ./richset.h:145:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int charsetcommand ( /* char *token, int negated */ ); ^ richset.c:217:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*(CharacterSets[temp] -> single)) (token)) ^ richset.c:212:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int charsetsingle (token) ^ In file included from richset.c:39: ./richset.h:150:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int charsetsingle ( /* char *token */ ); ^ 50 warnings generated. --- richtext --- --- richtoatk --- cc -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -o richtoatk richtoatk.o richlex.o richset.o usascii.o iso2022.o -fstack-protector-strong --- richtext --- cc -I../. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -o richtext richtext.o richlex.o richset.o usascii.o iso2022.o -lncurses -fstack-protector-strong rm bin/richtext rm: bin/richtext: No such file or directory (cd bin; ln -s ../richmail/richtext richtext) rm bin/richtoatk rm: bin/richtoatk: No such file or directory (cd bin; ln -s ../richmail/richtoatk richtoatk) rm bin/shownonascii rm: bin/shownonascii: No such file or directory rm bin/mailto-hebrew rm: bin/mailto-hebrew: No such file or directory =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for metamail-2.7_16 ===> Generating temporary packing list (cd metamail ; make CONFIGDIR=../. CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. " CC="cc" LDLIBS="-fstack-protector-strong ") rm bin/metamail (cd bin; ln -s ../metamail/metamail metamail) rm bin/mmencode (cd bin; ln -s ../metamail/mmencode mmencode) rm bin/mimencode (cd bin; ln -s ../metamail/mmencode mimencode) rm man/mimencode.1 (cd man; ln -s ../man/mmencode.1 mimencode.1) rm bin/mailto (cd bin; ln -s ../metamail/mailto mailto) rm bin/splitmail (cd bin; ln -s ../metamail/splitmail splitmail) (cd richmail ; make CONFIGDIR=../. CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. " CC="cc" LDLIBS="-fstack-protector-strong ") rm bin/richtext (cd bin; ln -s ../richmail/richtext richtext) rm bin/richtoatk (cd bin; ln -s ../richmail/richtoatk richtoatk) rm bin/shownonascii rm: bin/shownonascii: No such file or directory *** Error code 1 (ignored) rm bin/mailto-hebrew rm: bin/mailto-hebrew: No such file or directory installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/audiocompose installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/audiosend installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/extcompose installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/getfilename installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/mailserver installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/mailto installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/metamail installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/metasend installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/mimencode installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/mmencode installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/patch-metamail installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/rcvAppleSingle installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/richtext installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/richtoatk installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showaudio installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showaudio.orig installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showexternal installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showexternal.orig installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showpartial installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showpartial.orig installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showpicture installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/showpicture.orig installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/sndAppleSingle installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/splitmail installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/sun-audio-file installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/sun-message.csh installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/sun-to-mime installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/sun2mime installing binary /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/sun2mime.orig installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/audiocompose.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/audiosend.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/extcompose.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/getfilename.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/mailto-hebrew.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/mailto.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/metamail.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/metasend.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/mime.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/mimencode.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/mmencode.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/patch-metamail.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/richtext.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/showaudio.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/showexternal.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/shownonascii.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/showpartial.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/showpicture.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man1/splitmail.1 installing man page /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/man/man4/mailcap.4 installing file /usr/local/etc/mailcap *** Error code 1 (ignored) cp mailcap /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/etc /bin/mv /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/etc/mailcap /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/etc/mailcap.sample ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for metamail-2.7_16 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for metamail-2.7_16 build of mail/metamail | metamail-2.7_16 ended at Fri Nov 17 01:37:31 CST 2023 build time: 00:00:15