=>> Building converters/aish build started at Sun Mar 31 19:54:57 BST 2024 port directory: /usr/ports/converters/aish package name: aish-1.13 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 719 Jun 13 2023 /usr/ports/converters/aish/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 03ddc450f6 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 03 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for aish-1.13: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/converters/aish/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/converters/aish/work XDG_CACHE_HOME=/wrkdirs/usr/ports/converters/aish/work/.cache HOME=/wrkdirs/usr/ports/converters/aish/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/converters/aish/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/converters/aish/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/converters/aish/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/converters/aish/work XDG_CACHE_HOME=/wrkdirs/usr/ports/converters/aish/work/.cache HOME=/wrkdirs/usr/ports/converters/aish/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/converters/aish/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/converters/aish/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/aish" EXAMPLESDIR="share/examples/aish" DATADIR="share/aish" WWWDIR="www/aish" ETCDIR="etc/aish" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/aish DOCSDIR=/usr/local/share/doc/aish EXAMPLESDIR=/usr/local/share/examples/aish WWWDIR=/usr/local/www/aish ETCDIR=/usr/local/etc/aish --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The aish port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> aish-1.13 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> aish-1.13 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of aish-1.13 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The aish 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 aish-1.13 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The aish 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 aish-1.13 for building => SHA256 Checksum OK for aish113u.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The aish 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 aish-1.13 for building ===> Extracting for aish-1.13 => SHA256 Checksum OK for aish113u.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for aish-1.13 ===> Applying FreeBSD patches for aish-1.13 from /usr/ports/converters/aish/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for aish-1.13 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for aish-1.13 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_crc.c -o ai_crc.o ai_crc.c:39:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] crc_check( crc, ptr, len ) ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_blk2.c -o ai_blk2.o ai_blk2.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] crc_set( str, len ) ^ ai_blk2.c:12:23: warning: implicit declaration of function 'crc_check' is invalid in C99 [-Wimplicit-function-declaration] unsigned short crc= ~crc_check( 0xffff, str, len ); ^ ai_blk2.c:15:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_blk2.c:54:2: warning: implicit declaration of function 'Mputs' is invalid in C99 [-Wimplicit-function-declaration] Mputs( &fmo, "--- " ); ^ ai_blk2.c:58:3: warning: implicit declaration of function 'strnum' is invalid in C99 [-Wimplicit-function-declaration] strnum( buf, hp->vol ); ^ ai_blk2.c:65:2: warning: implicit declaration of function 'strnum' is invalid in C99 [-Wimplicit-function-declaration] strnum( buf, hp->cline ); ^ ai_blk2.c:79:2: warning: implicit declaration of function 'Mputs' is invalid in C99 [-Wimplicit-function-declaration] Mputs( &fmo, str ); ^ ai_blk2.c:91:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] encblock( hp ) ^ ai_blk2.c:101:10: warning: implicit declaration of function 'uuencode' is invalid in C99 [-Wimplicit-function-declaration] return uuencode( hp ); ^ ai_blk2.c:105:8: warning: implicit declaration of function 'Mopen' is invalid in C99 [-Wimplicit-function-declaration] if( !Mopen( &fm, hp->fname ) ){ ^ ai_blk2.c:106:4: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( "open error\r\n" ); ^ ai_blk2.c:109:24: warning: implicit declaration of function 'ishname' is invalid in C99 [-Wimplicit-function-declaration] ptr= (unsigned char*)ishname( str, hp->fname ); ^ ai_blk2.c:109:8: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ptr= (unsigned char*)ishname( str, hp->fname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai_blk2.c:110:3: warning: implicit declaration of function 'p_strcpy' is invalid in C99 [-Wimplicit-function-declaration] p_strcpy( hp->fname, str ); ^ ai_blk2.c:122:3: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( str ); ^ ai_blk2.c:123:3: warning: implicit declaration of function 'Merrch' is invalid in C99 [-Wimplicit-function-declaration] Merrch( ':' ); ^ ai_blk2.c:124:8: warning: implicit declaration of function 'Mcreate' is invalid in C99 [-Wimplicit-function-declaration] if( !Mcreate( &fmo, str ) ){ ^ ai_blk2.c:125:4: warning: implicit declaration of function 'Mclose' is invalid in C99 [-Wimplicit-function-declaration] Mclose( &fm ); ^ ai_blk2.c:135:14: warning: implicit declaration of function 'filesize' is invalid in C99 [-Wimplicit-function-declaration] hp->fsize= filesize( fm.fn ); ^ ai_blk2.c:136:13: warning: implicit declaration of function 'filedate' is invalid in C99 [-Wimplicit-function-declaration] hp->date= filedate( fm.fn ); ^ ai_blk2.c:140:3: warning: implicit declaration of function 'Mputs' is invalid in C99 [-Wimplicit-function-declaration] Mputs( &fmo, "<<< " ); ^ ai_blk2.c:144:4: warning: implicit declaration of function 'strnum' is invalid in C99 [-Wimplicit-function-declaration] strnum( str, hp->vol ); ^ ai_blk2.c:151:3: warning: implicit declaration of function 'strnum' is invalid in C99 [-Wimplicit-function-declaration] strnum( str, hp->fsize ); ^ ai_blk2.c:178:3: warning: implicit declaration of function 'writehead' is invalid in C99 [-Wimplicit-function-declaration] writehead( hp, buf ); ^ ai_blk2.c:180:3: warning: implicit declaration of function 'encline_7' is invalid in C99 [-Wimplicit-function-declaration] encline_7( str, buf, 63 /*jis7*/ ); ^ ai_blk2.c:194:4: warning: implicit declaration of function 'memclr' is invalid in C99 [-Wimplicit-function-declaration] memclr( hp->byte-2, buf+2 ); ^ ai_blk2.c:198:23: warning: implicit declaration of function 'Mread' is invalid in C99 [-Wimplicit-function-declaration] unsigned int byte= Mread( &fm, buf+1, hp->body ); ^ ai_blk2.c:199:9: warning: implicit declaration of function 'crc_check' is invalid in C99 [-Wimplicit-function-declaration] crc= crc_check( crc, buf+1, byte ); ^ ai_blk2.c:205:6: warning: implicit declaration of function 'memclr' is invalid in C99 [-Wimplicit-function-declaration] memclr( len, buf+byte+3 ); ^ ai_blk2.c:212:4: warning: implicit declaration of function 'memclr' is invalid in C99 [-Wimplicit-function-declaration] memclr( DBUF, sumh ); ^ ai_blk2.c:249:4: warning: implicit declaration of function 'Merrch' is invalid in C99 [-Wimplicit-function-declaration] Merrch( 'o' ); ^ ai_blk2.c:253:5: warning: implicit declaration of function 'Mflush' is invalid in C99 [-Wimplicit-function-declaration] Mflush( &fmo ); ^ ai_blk2.c:254:5: warning: implicit declaration of function 'Mclose' is invalid in C99 [-Wimplicit-function-declaration] Mclose( &fmo ); ^ ai_blk2.c:255:5: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( "\r\n" ); ^ 34 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_fio.c -o ai_fio.o ai_fio.c:255:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mprint( ptr ) ^ ai_fio.c:259:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_fio.c:261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Merr( ptr ) ^ ai_fio.c:265:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_fio.c:267:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mopen( fm, name ) ^ ai_fio.c:275:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] }else if( fm->fp= fopen( name, BROPEN ) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ai_fio.c:275:18: note: place parentheses around the assignment to silence this warning }else if( fm->fp= fopen( name, BROPEN ) ){ ^ ( ) ai_fio.c:275:18: note: use '==' to turn this assignment into an equality comparison }else if( fm->fp= fopen( name, BROPEN ) ){ ^ == ai_fio.c:282:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mcreate( fm, name ) ^ ai_fio.c:291:27: warning: implicit declaration of function 'getfname' is invalid in C99 [-Wimplicit-function-declaration] }else if( fm->fp= fopen( getfname(name), BWOPEN ) ){ ^ ai_fio.c:291:27: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] }else if( fm->fp= fopen( getfname(name), BWOPEN ) ){ ^~~~~~~~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ ai_fio.c:291:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] }else if( fm->fp= fopen( getfname(name), BWOPEN ) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai_fio.c:291:18: note: place parentheses around the assignment to silence this warning }else if( fm->fp= fopen( getfname(name), BWOPEN ) ){ ^ ( ) ai_fio.c:291:18: note: use '==' to turn this assignment into an equality comparison }else if( fm->fp= fopen( getfname(name), BWOPEN ) ){ ^ == ai_fio.c:301:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mappend( fm, name ) ^ ai_fio.c:305:6: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if( access( name, 0 /*F_OK*/ ) < 0 ) ^ ai_fio.c:307:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fm->fp= fopen( name, BRWOPEN ) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ai_fio.c:307:12: note: place parentheses around the assignment to silence this warning if( fm->fp= fopen( name, BRWOPEN ) ){ ^ ( ) ai_fio.c:307:12: note: use '==' to turn this assignment into an equality comparison if( fm->fp= fopen( name, BRWOPEN ) ){ ^ == ai_fio.c:314:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mclose( fm ) ^ ai_fio.c:319:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ai_fio.c:321:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mread( fm, buf, len ) ^ ai_fio.c:330:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mgets( fm, buf, len ) ^ ai_fio.c:335:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( fgets( readbuf, RDBUFSIZE, fm->fp ) ){ ^~~~~~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ ai_fio.c:345:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] return strlen( buf )+1; ^ ai_fio.c:345:10: note: include the header or explicitly provide a declaration for 'strlen' ai_fio.c:345:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return strlen( buf )+1; ^~~ ai_fio.c:350:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mwrite( fm, ptr, len ) ^ ai_fio.c:357:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mputs( fm, ptr ) ^ ai_fio.c:372:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mflush( fm ) ^ ai_fio.c:376:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_fio.c:378:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mseek( fm, pos, mode ) ^ ai_fio.c:382:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_fio.c:384:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Misfile( fm ) ^ ai_fio.c:391:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Maccess( name ) ^ ai_fio.c:393:10: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] return !access( name, 0 ); ^ 29 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_fcrc.c -o ai_fcrc.o ai_fcrc.c:16:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] filecrc( name, c16 ) ^ ai_fcrc.c:26:6: warning: implicit declaration of function 'Mopen' is invalid in C99 [-Wimplicit-function-declaration] if( Mopen( &fmo, name ) ){ ^ ai_fcrc.c:29:10: warning: implicit declaration of function 'Mread' is invalid in C99 [-Wimplicit-function-declaration] size= Mread( &fmo, buf, BUFSIZE ); ^ ai_fcrc.c:30:27: warning: implicit declaration of function 'crc_check' is invalid in C99 [-Wimplicit-function-declaration] crc16= (unsigned short)crc_check( crc16, buf, size ); ^ ai_fcrc.c:35:3: warning: implicit declaration of function 'Mclose' is invalid in C99 [-Wimplicit-function-declaration] Mclose( &fmo ); ^ ai_fcrc.c:37:3: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( "file not found\r\n" ); ^ 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_7.c -o ai_7.o ai_7.c:48:8: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] len+= (int)ptr; ^~~~~~~~ ai_7.c:53:23: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] for( i= 0, ptr+= 2 ; (int)ptr < len ; i++ ){ ^~~~~~~~ ai_7.c:66:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_7.c:93:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bit= sftmap[i&7] ) ~~~^~~~~~~~~~~~~ ai_7.c:93:11: note: place parentheses around the assignment to silence this warning if( bit= sftmap[i&7] ) ^ ( ) ai_7.c:93:11: note: use '==' to turn this assignment into an equality comparison if( bit= sftmap[i&7] ) ^ == 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_8.c -o ai_8.o ai_8.c:55:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] encline_8( str, ptr, len ) ^ ai_8.c:60:13: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] for( len+= (int)ptr, ptr--, i= 0 ; (int)ptr < len ; i++ ){ ^~~~~~~~ ai_8.c:60:37: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] for( len+= (int)ptr, ptr--, i= 0 ; (int)ptr < len ; i++ ){ ^~~~~~~~ ai_8.c:76:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_8.c:78:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] decline_8( buf, ptr, len ) ^ 5 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_s.c -o ai_s.o ai_s.c:89:33: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] for( i= 1, kanji= FALSE, len+= (int)ptr-1 ; (int)ptr < len ; i++ ){ ^~~~~~~~ ai_s.c:89:46: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] for( i= 1, kanji= FALSE, len+= (int)ptr-1 ; (int)ptr < len ; i++ ){ ^~~~~~~~ ai_s.c:123:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_s.c:245:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bit= (i&7) ) ~~~^~~~~~~ ai_s.c:245:10: note: place parentheses around the assignment to silence this warning if( bit= (i&7) ) ^ ( ) ai_s.c:245:10: note: use '==' to turn this assignment into an equality comparison if( bit= (i&7) ) ^ == 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_n.c -o ai_n.o ai_n.c:88:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_n.c:102:19: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] for( i= 0, len+= (int)ptr ; (int)ptr < len-3 ; i+= 2 ){ ^~~~~~~~ ai_n.c:102:30: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] for( i= 0, len+= (int)ptr ; (int)ptr < len-3 ; i+= 2 ){ ^~~~~~~~ ai_n.c:120:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bit= (i&7) ) ~~~^~~~~~~ ai_n.c:120:10: note: place parentheses around the assignment to silence this warning if( bit= (i&7) ) ^ ( ) ai_n.c:120:10: note: use '==' to turn this assignment into an equality comparison if( bit= (i&7) ) ^ == ai_n.c:126:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bit= (((++i)+1)&7) ) ~~~^~~~~~~~~~~~~~~ ai_n.c:126:11: note: place parentheses around the assignment to silence this warning if( bit= (((++i)+1)&7) ) ^ ( ) ai_n.c:126:11: note: use '==' to turn this assignment into an equality comparison if( bit= (((++i)+1)&7) ) ^ == ai_n.c:132:6: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] if( (int)ptr < len ){ ^~~~~~~~ ai_n.c:134:7: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] if( (int)ptr == len-1 ){ ^~~~~~~~ ai_n.c:136:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bit= (i&7) ) ~~~^~~~~~~ ai_n.c:136:11: note: place parentheses around the assignment to silence this warning if( bit= (i&7) ) ^ ( ) ai_n.c:136:11: note: use '==' to turn this assignment into an equality comparison if( bit= (i&7) ) ^ == ai_n.c:141:13: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] }else if( (int)ptr == len-2 ){ ^~~~~~~~ ai_n.c:143:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bit= (i&7) ) ~~~^~~~~~~ ai_n.c:143:11: note: place parentheses around the assignment to silence this warning if( bit= (i&7) ) ^ ( ) ai_n.c:143:11: note: use '==' to turn this assignment into an equality comparison if( bit= (i&7) ) ^ == 10 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_hed.c -o ai_hed.o ai_hed.c:54:2: warning: implicit declaration of function 'memclr' is invalid in C99 [-Wimplicit-function-declaration] memclr( sizeof(T_HD)-NAMES, hp ); ^ ai_hed.c:56:23: warning: implicit declaration of function 'getword' is invalid in C99 [-Wimplicit-function-declaration] ptr= (unsigned char*)getword( hp->fname, ptr ); ^ ai_hed.c:56:7: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ptr= (unsigned char*)getword( hp->fname, ptr ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai_hed.c:58:8: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ptr= (unsigned char*)getword( hp->fname, ptr ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai_hed.c:59:13: warning: implicit declaration of function 'num7str' is invalid in C99 [-Wimplicit-function-declaration] hp->perm= num7str( hp->fname ); ^ ai_hed.c:61:9: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ptr= (unsigned char*)getword( hp->fname, ptr ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai_hed.c:63:5: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( hp->fname ); ^ ai_hed.c:64:5: warning: implicit declaration of function 'Merrch' is invalid in C99 [-Wimplicit-function-declaration] Merrch( ' ' ); ^ ai_hed.c:66:5: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] Mprint( hp->fname ); ^ ai_hed.c:84:2: warning: implicit declaration of function 'strnum' is invalid in C99 [-Wimplicit-function-declaration] strnum( buf, i ); ^ ai_hed.c:85:2: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( buf ); ^ ai_hed.c:92:2: warning: implicit declaration of function 'strnum' is invalid in C99 [-Wimplicit-function-declaration] strnum( buf, i ); ^ ai_hed.c:93:2: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] Mprint( buf ); ^ ai_hed.c:105:18: warning: implicit declaration of function 'crc_check' is invalid in C99 [-Wimplicit-function-declaration] if( len > 60 && crc_check( 0xffff, &hd, len ) == 0x1d0f ){ ^ ai_hed.c:109:3: warning: implicit declaration of function 'timecpy' is invalid in C99 [-Wimplicit-function-declaration] timecpy( &hp->fsize, hd.fs ); ^ ai_hed.c:110:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp->vol= hd.volume ){ ~~~~~~~^~~~~~~~~~~ ai_hed.c:110:14: note: place parentheses around the assignment to silence this warning if( hp->vol= hd.volume ){ ^ ( ) ai_hed.c:110:14: note: use '==' to turn this assignment into an equality comparison if( hp->vol= hd.volume ){ ^ == ai_hed.c:139:5: warning: implicit declaration of function 'p_strcpy' is invalid in C99 [-Wimplicit-function-declaration] p_strcpy( hp->fname, hp->adjname ); ^ ai_hed.c:145:5: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( hp->fname ); ^ ai_hed.c:146:5: warning: implicit declaration of function 'Merrch' is invalid in C99 [-Wimplicit-function-declaration] Merrch( '(' ); ^ ai_hed.c:155:5: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] Mprint( hp->fname ); ^ ai_hed.c:156:5: warning: implicit declaration of function 'Mputchar' is invalid in C99 [-Wimplicit-function-declaration] Mputchar( ' ' ); ^ ai_hed.c:165:5: warning: implicit declaration of function 'DATESTR' is invalid in C99 [-Wimplicit-function-declaration] DATESTR( ^ ai_hed.c:173:5: warning: implicit declaration of function 'TIMESTR' is invalid in C99 [-Wimplicit-function-declaration] TIMESTR( ^ ai_hed.c:212:21: warning: implicit declaration of function 'p_strmatch' is invalid in C99 [-Wimplicit-function-declaration] *ptr == 'b' && !p_strmatch( ptr, "begin " ) ){ ^ ai_hed.c:226:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writehead( hp, hd ) ^ ai_hed.c:232:2: warning: implicit declaration of function 'memclr' is invalid in C99 [-Wimplicit-function-declaration] memclr( sizeof(struct headline), hd ); ^ ai_hed.c:235:3: warning: implicit declaration of function 'timecpy' is invalid in C99 [-Wimplicit-function-declaration] timecpy( hd->fs, &hp->volsize ); ^ ai_hed.c:246:3: warning: implicit declaration of function 'timecpy' is invalid in C99 [-Wimplicit-function-declaration] timecpy( hd->fs, &hp->fsize ); ^ ai_hed.c:255:23: warning: implicit declaration of function 'ishname' is invalid in C99 [-Wimplicit-function-declaration] ptr= (unsigned char*)ishname( buf, hp->fname ); ^ ai_hed.c:255:7: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ptr= (unsigned char*)ishname( buf, hp->fname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai_hed.c:267:2: warning: implicit declaration of function 'timecpy' is invalid in C99 [-Wimplicit-function-declaration] timecpy( hd->date, &hp->date ); ^ ai_hed.c:268:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 32 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_ish.c -o ai_ish.o ai_ish.c:14:29: warning: implicit declaration of function 'Maccess' is invalid in C99 [-Wimplicit-function-declaration] if( (hp.mode & mOWRITE) && Maccess( name ) ){ ^ ai_ish.c:22:5: warning: implicit declaration of function 'p_strcpy' is invalid in C99 [-Wimplicit-function-declaration] p_strcpy( s, name ); ^ ai_ish.c:36:3: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( " -> " ); ^ ai_ish.c:76:2: warning: implicit declaration of function 'Mflush' is invalid in C99 [-Wimplicit-function-declaration] Mflush( &fmo ); ^ ai_ish.c:85:6: warning: implicit declaration of function 'Misfile' is invalid in C99 [-Wimplicit-function-declaration] if( Misfile( &fmo ) ){ ^ ai_ish.c:87:4: warning: implicit declaration of function 'fchmod' is invalid in C99 [-Wimplicit-function-declaration] fchmod( fmo.fn, hp.perm ); ^ ai_ish.c:88:3: warning: implicit declaration of function 'Mclose' is invalid in C99 [-Wimplicit-function-declaration] Mclose( &fmo ); ^ ai_ish.c:90:4: warning: implicit declaration of function 'filesetdate' is invalid in C99 [-Wimplicit-function-declaration] filesetdate( hp.fname, hp.date ); ^ ai_ish.c:103:3: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( " -- multi volume " ); ^ ai_ish.c:104:7: warning: implicit declaration of function 'filecrc' is invalid in C99 [-Wimplicit-function-declaration] if( filecrc( hp.fname, hp.tcrc ) ){ ^ ai_ish.c:121:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ai_decode( ptr, len ) ^ ai_ish.c:128:7: warning: implicit declaration of function 'checkhead' is invalid in C99 [-Wimplicit-function-declaration] if( checkhead( &hp, ptr, len ) ){ ^ ai_ish.c:131:34: warning: implicit declaration of function 'ckname' is invalid in C99 [-Wimplicit-function-declaration] hp.outname : (unsigned char*)ckname(hp.fname); ^ ai_ish.c:131:18: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] hp.outname : (unsigned char*)ckname(hp.fname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai_ish.c:136:6: warning: implicit declaration of function 'p_strcmp' is invalid in C99 [-Wimplicit-function-declaration] p_strcmp( hp.fname, hp.skipname ) ){ ^ ai_ish.c:137:5: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( " skip\r\n" ); ^ ai_ish.c:141:17: warning: implicit declaration of function 'Mappend' is invalid in C99 [-Wimplicit-function-declaration] if( nodec= !Mappend( &fmo, name ) ) ^ ai_ish.c:141:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nodec= !Mappend( &fmo, name ) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ai_ish.c:141:14: note: place parentheses around the assignment to silence this warning if( nodec= !Mappend( &fmo, name ) ) ^ ( ) ai_ish.c:141:14: note: use '==' to turn this assignment into an equality comparison if( nodec= !Mappend( &fmo, name ) ) ^ == ai_ish.c:142:6: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( "append error\r\n" ); ^ ai_ish.c:144:6: warning: implicit declaration of function 'Mseek' is invalid in C99 [-Wimplicit-function-declaration] Mseek( &fmo, hp.volsize*(hp.vol-1), 0 ); ^ ai_ish.c:146:17: warning: implicit declaration of function 'Mcreate' is invalid in C99 [-Wimplicit-function-declaration] if( nodec= !Mcreate( &fmo, name ) ) ^ ai_ish.c:146:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nodec= !Mcreate( &fmo, name ) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ai_ish.c:146:14: note: place parentheses around the assignment to silence this warning if( nodec= !Mcreate( &fmo, name ) ) ^ ( ) ai_ish.c:146:14: note: use '==' to turn this assignment into an equality comparison if( nodec= !Mcreate( &fmo, name ) ) ^ == ai_ish.c:147:6: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( "create error\r\n" ); ^ ai_ish.c:173:13: warning: implicit declaration of function 'decblock' is invalid in C99 [-Wimplicit-function-declaration] if( (ret= decblock( &hp, ptr, len )) != TRUE ){ ^ ai_ish.c:185:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ai_decode_lastchance() ^ ai_ish.c:188:6: warning: implicit declaration of function 'decblock' is invalid in C99 [-Wimplicit-function-declaration] if( decblock( &hp, 0, 0 ) != EOISH ) ^ ai_ish.c:189:3: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( " eof error\r\n" ); ^ ai_ish.c:191:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 28 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_blk.c -o ai_blk.o ai_blk.c:13:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ecc( hp, err, decbuf ) ^ ai_blk.c:31:3: warning: implicit declaration of function 'memclr' is invalid in C99 [-Wimplicit-function-declaration] memclr( hp->byte-2-1, decbuf[e2]+1 ); ^ ai_blk.c:40:2: warning: implicit declaration of function 'memclr' is invalid in C99 [-Wimplicit-function-declaration] memclr( hp->byte, decbuf[hp->byte-1] ); ^ ai_blk.c:56:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] crc_ad( hp, decbuf ) ^ ai_blk.c:70:4: warning: implicit declaration of function 'memclr' is invalid in C99 [-Wimplicit-function-declaration] memclr( hp->byte-2-1, decbuf[i]+1 ); ^ ai_blk.c:80:3: warning: implicit declaration of function 'Merrch' is invalid in C99 [-Wimplicit-function-declaration] Merrch( 'e' ); UFLUSH(); ^ ai_blk.c:82:4: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( " too many error\r\n" ); ^ ai_blk.c:87:3: warning: implicit declaration of function 'Merrch' is invalid in C99 [-Wimplicit-function-declaration] Merrch( 'o' ); UFLUSH(); ^ ai_blk.c:91:9: warning: implicit declaration of function 'crc_check' is invalid in C99 [-Wimplicit-function-declaration] crc= crc_check( crc, decbuf[i]+1, tic ); ^ ai_blk.c:92:9: warning: implicit declaration of function 'Mwrite' is invalid in C99 [-Wimplicit-function-declaration] if( !Mwrite( &fmo, decbuf[i]+1, tic ) ){ ^ ai_blk.c:93:5: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( " write error\r\n" ); ^ ai_blk.c:98:9: warning: implicit declaration of function 'crc_check' is invalid in C99 [-Wimplicit-function-declaration] crc= crc_check( crc, decbuf[i]+1, tic-1 ); ^ ai_blk.c:99:9: warning: implicit declaration of function 'Mwrite' is invalid in C99 [-Wimplicit-function-declaration] if( !Mwrite( &fmo, decbuf[i]+1, tic-1 ) ){ ^ ai_blk.c:100:5: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( " write error\r\n" ); ^ ai_blk.c:108:11: warning: implicit declaration of function 'crc_check' is invalid in C99 [-Wimplicit-function-declaration] crc= crc_check(crc,decbuf[i]+1,tic-2); ^ ai_blk.c:109:11: warning: implicit declaration of function 'Mwrite' is invalid in C99 [-Wimplicit-function-declaration] if( !Mwrite( &fmo, decbuf[i]+1, tic-2 ) ){ ^ ai_blk.c:110:7: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( " write error\r\n" ); ^ ai_blk.c:129:4: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( "CRC error\r\n" ); ^ ai_blk.c:133:3: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( "\r\n" ); ^ ai_blk.c:146:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] decblock( hp, ptr, slen ) ^ ai_blk.c:157:10: warning: implicit declaration of function 'uudecode' is invalid in C99 [-Wimplicit-function-declaration] return uudecode( hp, ptr, slen ); ^ ai_blk.c:170:4: warning: implicit declaration of function 'crc_check' is invalid in C99 [-Wimplicit-function-declaration] crc_check( 0xffff, dpbuf[0], len ) != 0x1d0f || ^ 22 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_nam.c -o ai_nam.o ai_nam.c:13:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( *str++= *ptr++ ); ~~~~~~^~~~~~~~ ai_nam.c:13:15: note: place parentheses around the assignment to silence this warning while( *str++= *ptr++ ); ^ ( ) ai_nam.c:13:15: note: use '==' to turn this assignment into an equality comparison while( *str++= *ptr++ ); ^ == ai_nam.c:19:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] p_strcmp( str, ptr ) ^ ai_nam.c:27:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] p_strmatch( str, ptr ) ^ ai_nam.c:34:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] num7str( ptr ) ^ ai_nam.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strnum( str, i ) ^ ai_nam.c:57:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; *str++= *ptr++ ; i++ ); ~~~~~~^~~~~~~~ ai_nam.c:57:14: note: place parentheses around the assignment to silence this warning for(; *str++= *ptr++ ; i++ ); ^ ( ) ai_nam.c:57:14: note: use '==' to turn this assignment into an equality comparison for(; *str++= *ptr++ ; i++ ); ^ == ai_nam.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] numstr( ptr ) ^ 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c aish.c -o aish.o aish.c:18:2: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] Mprint( "\ ^ aish.c:41:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MMgets( fm, ptr, len ) ^ aish.c:47:26: warning: implicit declaration of function 'p_strcpy' is invalid in C99 [-Wimplicit-function-declaration] return (unsigned char*)p_strcpy( ptr, PreBuf )-ptr; ^ aish.c:47:10: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return (unsigned char*)p_strcpy( ptr, PreBuf )-ptr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aish.c:49:9: warning: implicit declaration of function 'Mgets' is invalid in C99 [-Wimplicit-function-declaration] return Mgets( fm, ptr, len ); ^ aish.c:54:2: warning: implicit declaration of function 'Mgets' is invalid in C99 [-Wimplicit-function-declaration] Mgets( &fm, PreBuf, RBSIZE-8 ); ^ aish.c:65:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ aish.c:65:1: note: change return type to 'int' void ^~~~ int aish.c:72:2: warning: implicit declaration of function 'memclr' is invalid in C99 [-Wimplicit-function-declaration] memclr( sizeof(T_HD), &hp ); ^ aish.c:82:19: warning: implicit declaration of function 'p_strcpy' is invalid in C99 [-Wimplicit-function-declaration] for(; --argc && (p_strcpy( ptr, *++argv ),1) ;) ^ aish.c:119:19: warning: implicit declaration of function 'numstr' is invalid in C99 [-Wimplicit-function-declaration] hp.stepline= numstr( p+1 ); ^ aish.c:127:20: warning: implicit declaration of function 'numstr' is invalid in C99 [-Wimplicit-function-declaration] hp.stepline= numstr( *++argv ); ^ aish.c:135:17: warning: implicit declaration of function 'numstr' is invalid in C99 [-Wimplicit-function-declaration] hp.volsize= numstr( p+1 ); ^ aish.c:234:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit( 1 ); ^ aish.c:234:5: note: include the header or explicitly provide a declaration for 'exit' aish.c:239:8: warning: implicit declaration of function 'Mopen' is invalid in C99 [-Wimplicit-function-declaration] if( Mopen( &fm, ptr ) ){ ^ aish.c:243:6: warning: implicit declaration of function 'MimeDec' is invalid in C99 [-Wimplicit-function-declaration] MimeDec( &fm ); ^ aish.c:247:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; len= MMgets( &fm, ptr, RBSIZE-8 ) ;){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aish.c:247:14: note: place parentheses around the assignment to silence this warning for(; len= MMgets( &fm, ptr, RBSIZE-8 ) ;){ ^ ( ) aish.c:247:14: note: use '==' to turn this assignment into an equality comparison for(; len= MMgets( &fm, ptr, RBSIZE-8 ) ;){ ^ == aish.c:249:7: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] Mprint( ptr ), ^ aish.c:254:13: warning: implicit declaration of function 'ai_decode' is invalid in C99 [-Wimplicit-function-declaration] nodec= ai_decode( ptr, len ); ^ aish.c:257:6: warning: implicit declaration of function 'ai_decode_lastchance' is invalid in C99 [-Wimplicit-function-declaration] ai_decode_lastchance(); ^ aish.c:259:5: warning: implicit declaration of function 'Mclose' is invalid in C99 [-Wimplicit-function-declaration] Mclose( &fm ); ^ aish.c:261:5: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( "open error\r\n" ); ^ aish.c:263:8: warning: implicit declaration of function 'Mopen' is invalid in C99 [-Wimplicit-function-declaration] if( Mopen( &fm, ptr ) ){ ^ aish.c:265:25: warning: implicit declaration of function 'Mgets' is invalid in C99 [-Wimplicit-function-declaration] for( line= 1 ; len= Mgets( &fm, ptr, RBSIZE-8 ) ; line++ ){ ^ aish.c:265:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( line= 1 ; len= Mgets( &fm, ptr, RBSIZE-8 ) ; line++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aish.c:265:23: note: place parentheses around the assignment to silence this warning for( line= 1 ; len= Mgets( &fm, ptr, RBSIZE-8 ) ; line++ ){ ^ ( ) aish.c:265:23: note: use '==' to turn this assignment into an equality comparison for( line= 1 ; len= Mgets( &fm, ptr, RBSIZE-8 ) ; line++ ){ ^ == aish.c:266:10: warning: implicit declaration of function 'checkhead' is invalid in C99 [-Wimplicit-function-declaration] if( checkhead( &hp, ptr, len-1 ) ){ ^ aish.c:267:7: warning: implicit declaration of function 'Numput' is invalid in C99 [-Wimplicit-function-declaration] Numput( line ); ^ aish.c:268:7: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] Mprint( "\r\n" ); ^ aish.c:271:5: warning: implicit declaration of function 'Mclose' is invalid in C99 [-Wimplicit-function-declaration] Mclose( &fm ); ^ aish.c:273:5: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( "open error\r\n" ); ^ aish.c:277:11: warning: implicit declaration of function 'encblock' is invalid in C99 [-Wimplicit-function-declaration] while( encblock( &hp ) == TRUE ); ^ 30 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_uue.c -o ai_uue.o ai_uue.c:52:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DecodeLine( str, ptr, slen, uulength ) ^ ai_uue.c:109:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] uudecode( hp, ptr, slen ) ^ ai_uue.c:121:29: warning: implicit declaration of function 'PreRead' is invalid in C99 [-Wimplicit-function-declaration] unsigned char *p= (void*)PreRead(); ^ ai_uue.c:121:22: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] unsigned char *p= (void*)PreRead(); ^~~~~~~~~~~~~~~~ ai_uue.c:123:5: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( " (" ); ^ ai_uue.c:124:5: warning: implicit declaration of function 'Numerr' is invalid in C99 [-Wimplicit-function-declaration] Numerr( hp->fsize ); ^ ai_uue.c:125:5: warning: implicit declaration of function 'Merrch' is invalid in C99 [-Wimplicit-function-declaration] Merrch( ')' ); ^ ai_uue.c:126:8: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] p= (void*)PreRead(); ^~~~~~~~~~~~~~~~ ai_uue.c:127:10: warning: implicit declaration of function 'p_strmatch' is invalid in C99 [-Wimplicit-function-declaration] if( !p_strmatch( p, "size " ) ){ ^ ai_uue.c:128:23: warning: implicit declaration of function 'numstr' is invalid in C99 [-Wimplicit-function-declaration] if( hp->fsize != numstr( p+5 ) ){ ^ ai_uue.c:144:4: warning: implicit declaration of function 'Merrch' is invalid in C99 [-Wimplicit-function-declaration] Merrch( 'o' ); ^ ai_uue.c:147:3: warning: implicit declaration of function 'Mwrite' is invalid in C99 [-Wimplicit-function-declaration] Mwrite( &fmo, str, hp->uulength= byte ); ^ ai_uue.c:150:6: warning: implicit declaration of function 'p_strmatch' is invalid in C99 [-Wimplicit-function-declaration] !p_strmatch( ptr, "begin " ) ){ ^ ai_uue.c:152:3: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( " -- error\r\n" ); ^ ai_uue.c:159:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] uuencode( hp ) ^ ai_uue.c:166:8: warning: implicit declaration of function 'Mopen' is invalid in C99 [-Wimplicit-function-declaration] if( !Mopen( &fm, hp->fname ) ){ ^ ai_uue.c:167:4: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( "open error\r\n" ); ^ ai_uue.c:172:24: warning: implicit declaration of function 'ishname' is invalid in C99 [-Wimplicit-function-declaration] ptr= (unsigned char*)ishname( str, hp->fname ); ^ ai_uue.c:172:8: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ptr= (unsigned char*)ishname( str, hp->fname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ai_uue.c:173:3: warning: implicit declaration of function 'p_strcpy' is invalid in C99 [-Wimplicit-function-declaration] p_strcpy( hp->fname, str ); ^ ai_uue.c:185:3: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( str ); ^ ai_uue.c:186:8: warning: implicit declaration of function 'Mcreate' is invalid in C99 [-Wimplicit-function-declaration] if( !Mcreate( &fmo, str ) ){ ^ ai_uue.c:187:4: warning: implicit declaration of function 'Mclose' is invalid in C99 [-Wimplicit-function-declaration] Mclose( &fm ); ^ ai_uue.c:192:7: warning: implicit declaration of function 'Misfile' is invalid in C99 [-Wimplicit-function-declaration] if( Misfile( &fm ) ){ ^ ai_uue.c:193:33: warning: implicit declaration of function 'fileperm' is invalid in C99 [-Wimplicit-function-declaration] sprintf( buf, "begin %03o ", fileperm( fm.fn ) ); ^ ai_uue.c:193:13: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf( buf, "begin %03o ", fileperm( fm.fn ) ); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ ai_uue.c:194:4: warning: implicit declaration of function 'Mputs' is invalid in C99 [-Wimplicit-function-declaration] Mputs( &fmo, buf ); ^ ai_uue.c:196:4: warning: implicit declaration of function 'Mputs' is invalid in C99 [-Wimplicit-function-declaration] Mputs( &fmo, "begin 644 " ); ^ ai_uue.c:204:3: warning: implicit declaration of function 'Mputs' is invalid in C99 [-Wimplicit-function-declaration] Mputs( &fmo, *hp->skipname ? hp->skipname : hp->fname ); ^ ai_uue.c:208:22: warning: implicit declaration of function 'Mread' is invalid in C99 [-Wimplicit-function-declaration] unsigned int byte= Mread( &fm, buf, hp->stepline ); ^ ai_uue.c:211:3: warning: implicit declaration of function 'Mputs' is invalid in C99 [-Wimplicit-function-declaration] Mputs( &fmo, str ); ^ ai_uue.c:215:4: warning: implicit declaration of function 'strnum' is invalid in C99 [-Wimplicit-function-declaration] strnum( buf, hp->fsize ); ^ ai_uue.c:218:4: warning: implicit declaration of function 'Mflush' is invalid in C99 [-Wimplicit-function-declaration] Mflush( &fmo ); ^ ai_uue.c:219:4: warning: implicit declaration of function 'Mclose' is invalid in C99 [-Wimplicit-function-declaration] Mclose( &fmo ); ^ ai_uue.c:220:4: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( "\r\n" ); ^ 35 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c mimedec.c -o mimedec.o mimedec.c:74:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ISalnum( ch ) ^ mimedec.c:83:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strcmpi( str, ptr ) ^ mimedec.c:144:17: warning: passing 'char[60]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr= get_word( content_type, ptr ); ^~~~~~~~~~~~ mimedec.c:146:18: warning: passing 'char[60]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr= get_word( content_name, ptr+1 ); ^~~~~~~~~~~~ mimedec.c:149:22: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( !strcmpi( buf, "charset" ) ){ ^~~~~~~~~ mimedec.c:151:20: warning: passing 'char[60]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr= get_tkn2( charset, ptr+1, '"' ); ^~~~~~~ mimedec.c:152:28: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] }else if( !strcmpi( buf, "name" ) ){ ^~~~~~ mimedec.c:154:20: warning: passing 'char[255]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr= get_tkn2( file_outname, ptr+1, '"' ); ^~~~~~~~~~~~ mimedec.c:155:28: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] }else if( !strcmpi( buf, "boundary" ) ){ ^~~~~~~~~~ mimedec.c:157:20: warning: passing 'char[255]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr= get_tkn2( file_boundary, ptr+1, '"' ); ^~~~~~~~~~~~~ mimedec.c:162:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] line_decode( ptr ) ^ mimedec.c:170:31: warning: passing 'char[60]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( *p && !strcmpi( chset, charset ) ){ ^~~~~~~ mimedec.c:175:5: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] PutLine( obuf ); ^ mimedec.c:15:21: note: expanded from macro 'PutLine' #define PutLine(a) Mprint( a ) ^ mimedec.c:178:4: warning: implicit declaration of function 'Mputchar' is invalid in C99 [-Wimplicit-function-declaration] PutChar( *ptr ); ^ mimedec.c:16:21: note: expanded from macro 'PutChar' #define PutChar(a) Mputchar( a ) ^ mimedec.c:180:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mimedec.c:186:8: warning: implicit declaration of function 'Mgets' is invalid in C99 [-Wimplicit-function-declaration] for(; Mgets( fm, ibuf, IOBUF ) ;){ ^ mimedec.c:187:3: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] PutLine( ibuf ); ^ mimedec.c:15:21: note: expanded from macro 'PutLine' #define PutLine(a) Mprint( a ) ^ mimedec.c:202:13: warning: implicit declaration of function 'p_strcpy' is invalid in C99 [-Wimplicit-function-declaration] s= (void*)p_strcpy( name, content_type ); ^ mimedec.c:202:6: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] s= (void*)p_strcpy( name, content_type ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mimedec.c:204:6: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] s= (void*)p_strcpy( s, content_name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mimedec.c:206:3: warning: implicit declaration of function 'strnum' is invalid in C99 [-Wimplicit-function-declaration] strnum( s, TmpNumber++ ); ^ mimedec.c:208:3: warning: implicit declaration of function 'p_strcpy' is invalid in C99 [-Wimplicit-function-declaration] p_strcpy( name, file_outname ); ^ mimedec.c:210:6: warning: implicit declaration of function 'Mcreate' is invalid in C99 [-Wimplicit-function-declaration] if( Mcreate( &fo, name ) ){ ^ mimedec.c:211:9: warning: implicit declaration of function 'Mgets' is invalid in C99 [-Wimplicit-function-declaration] for(; Mgets( fm, ibuf, IOBUF ) ;){ ^ mimedec.c:214:5: warning: implicit declaration of function 'Mwrite' is invalid in C99 [-Wimplicit-function-declaration] Mwrite( &fo, obuf, p-obuf ); ^ mimedec.c:216:5: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] PutLine( ibuf ); ^ mimedec.c:15:21: note: expanded from macro 'PutLine' #define PutLine(a) Mprint( a ) ^ mimedec.c:221:3: warning: implicit declaration of function 'Mflush' is invalid in C99 [-Wimplicit-function-declaration] Mflush( &fo ); ^ mimedec.c:222:3: warning: implicit declaration of function 'Mclose' is invalid in C99 [-Wimplicit-function-declaration] Mclose( &fo ); ^ mimedec.c:226:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MimeDec( fm ) ^ mimedec.c:230:8: warning: implicit declaration of function 'Mgets' is invalid in C99 [-Wimplicit-function-declaration] for(; Mgets( fm, ibuf, IOBUF ) ;){ ^ mimedec.c:231:8: warning: implicit declaration of function 'p_strmatch' is invalid in C99 [-Wimplicit-function-declaration] if( !p_strmatch( ibuf, "Content-Type: " ) ){ ^ mimedec.c:232:4: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] PutLine( ibuf ); ^ mimedec.c:15:21: note: expanded from macro 'PutLine' #define PutLine(a) Mprint( a ) ^ mimedec.c:236:4: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] PutLine( ibuf ); ^ mimedec.c:15:21: note: expanded from macro 'PutLine' #define PutLine(a) Mprint( a ) ^ mimedec.c:238:14: warning: passing 'char[60]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_word( encoding_name, ibuf+27 ); ^~~~~~~~~~~~~ mimedec.c:240:18: warning: passing 'char[60]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( !strcmpi( encoding_name, ENCODING ) ) ^~~~~~~~~~~~~ mimedec.c:240:33: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( !strcmpi( encoding_name, ENCODING ) ) ^~~~~~~~ mimedec.c:9:19: note: expanded from macro 'ENCODING' #define ENCODING "Base64" ^~~~~~~~ mimedec.c:244:4: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] PutLine( "\r\n" ); ^ mimedec.c:15:21: note: expanded from macro 'PutLine' #define PutLine(a) Mprint( a ) ^ mimedec.c:247:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 38 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -c ai_unix.c -o ai_unix.o ai_unix.c:14:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] memclr( len, ptr ) ^ ai_unix.c:18:2: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero( ptr, len ); ^ ai_unix.c:18:2: note: include the header or explicitly provide a declaration for 'bzero' ai_unix.c:22:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_unix.c:24:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] timecpy( dst, src ) ^ ai_unix.c:38:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_unix.c:40:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DATESTR( date, str ) ^ ai_unix.c:46:2: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] sprintf( str, "%02d-%02d-%02d", year-1900, month, mday ); ^ ai_unix.c:46:2: note: include the header or explicitly provide a declaration for 'sprintf' ai_unix.c:47:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_unix.c:49:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] TIMESTR( time, str ) ^ ai_unix.c:56:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_unix.c:68:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] filesize( fn ) ^ ai_unix.c:101:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] filesetdate( name, date ) ^ ai_unix.c:145:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if( (!(year+2)&3) && mon < 2 ) ^ ~ ai_unix.c:145:7: note: add parentheses after the '!' to evaluate the bitwise operator first if( (!(year+2)&3) && mon < 2 ) ^ ( ) ai_unix.c:145:7: note: add parentheses around left hand side expression to silence this warning if( (!(year+2)&3) && mon < 2 ) ^ ( ) ai_unix.c:161:2: warning: implicit declaration of function 'utime' is invalid in C99 [-Wimplicit-function-declaration] utime( name, tim ); ^ ai_unix.c:162:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_unix.c:177:14: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf( new, "aish_8bit_name.%03d", count++ ); ^~~ ai_unix.c:178:12: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] }while( access( new, 0 /*F_OK*/ ) >= 0 ); ^ ai_unix.c:179:4: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( " rename -> " ); ^ 18 warnings generated. cc ai_crc.o ai_blk2.o ai_fio.o ai_fcrc.o ai_7.o ai_8.o ai_s.o ai_n.o ai_hed.o ai_ish.o ai_blk.o ai_nam.o aish.o ai_uue.o mimedec.o ai_unix.o -o aish cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -DMVOLENC=1 -c aishmv.c aishmv.c:77:2: warning: implicit declaration of function 'Mprint' is invalid in C99 [-Wimplicit-function-declaration] Mprint( "\ ^ aishmv.c:87:2: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( msg1 ); ^ aishmv.c:96:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; *s++= *p++ ;); ~~~~^~~~~~ aishmv.c:96:12: note: place parentheses around the assignment to silence this warning for(; *s++= *p++ ;); ^ ( ) aishmv.c:96:12: note: use '==' to turn this assignment into an equality comparison for(; *s++= *p++ ;); ^ == aishmv.c:112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fgetdate( fn ) ^ aishmv.c:121:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fsetdate( name, date ) ^ aishmv.c:126:2: warning: implicit declaration of function 'utime' is invalid in C99 [-Wimplicit-function-declaration] utime( name, tim ); ^ aishmv.c:127:1: warning: non-void function does not return a value [-Wreturn-type] } ^ aishmv.c:140:7: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] if( !fork() ){ ^ aishmv.c:141:3: warning: implicit declaration of function 'execvp' is invalid in C99 [-Wimplicit-function-declaration] execvp( *buf, buf ); ^ aishmv.c:143:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit( 0 ); ^ aishmv.c:143:3: note: include the header or explicitly provide a declaration for 'exit' aishmv.c:145:2: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] wait( 0 ); ^ aishmv.c:201:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] filecrc() ^ aishmv.c:207:17: warning: implicit declaration of function 'Mread' is invalid in C99 [-Wimplicit-function-declaration] total+= size= Mread( &fm, buf, BUFSIZE ); ^ aishmv.c:208:26: warning: implicit declaration of function 'crc_check' is invalid in C99 [-Wimplicit-function-declaration] crc16= (unsigned short)crc_check( crc16, buf, size ); ^ aishmv.c:209:24: warning: implicit declaration of function 'crc_check32' is invalid in C99 [-Wimplicit-function-declaration] crc32= (unsigned int)crc_check32( crc32, buf, size ); ^ aishmv.c:230:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] aish() ^ aishmv.c:238:10: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mverr( fname, ":can't split" ); ^~~~~ aishmv.c:241:6: warning: implicit declaration of function 'Mcreate' is invalid in C99 [-Wimplicit-function-declaration] if( Mcreate( &fmo, tmpnm ) ){ ^ aishmv.c:246:10: warning: implicit declaration of function 'Mread' is invalid in C99 [-Wimplicit-function-declaration] size= Mread( &fm, buf, rsize ); ^ aishmv.c:248:8: warning: implicit declaration of function 'Mwrite' is invalid in C99 [-Wimplicit-function-declaration] if( Mwrite( &fmo, buf, size ) < 0 ) ^ aishmv.c:249:12: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mverr( tmpnm, ":tmp write err" ); ^~~~~ aishmv.c:255:3: warning: implicit declaration of function 'Mclose' is invalid in C99 [-Wimplicit-function-declaration] Mclose( &fmo ); ^ aishmv.c:257:13: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fsetdate( tmpnm, fdate ); ^~~~~ aishmv.c:259:3: warning: implicit declaration of function 'ishname' is invalid in C99 [-Wimplicit-function-declaration] ishname( ifname, fname ); ^ aishmv.c:260:8: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ptr= (unsigned char*)ishname( ofname, *sname ? sname : fname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aishmv.c:271:24: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str= pp_strcpy( str, AISH ); ^~~~ aishmv.c:25:15: note: expanded from macro 'AISH' #define AISH "aish" ^~~~~~ aishmv.c:275:9: warning: implicit declaration of function 'strnum' is invalid in C99 [-Wimplicit-function-declaration] str+= strnum( str, (volume<<16)+(volmax<<8)+(os&255) ); ^ aishmv.c:317:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] qexec( cmd ); ^~~ aishmv.c:318:3: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink( tmpnm ); ^ aishmv.c:320:11: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mverr( fname, ":too many volumes" ); ^~~~~ aishmv.c:324:10: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mverr( tmpnm, ":create error" ); ^~~~~ aishmv.c:341:2: warning: implicit declaration of function 'p_strcpy' is invalid in C99 [-Wimplicit-function-declaration] p_strcpy( ptr, TMPNM ); ^ aishmv.c:349:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ aishmv.c:349:1: note: change return type to 'int' void ^~~~ int aishmv.c:360:19: warning: implicit declaration of function 'p_strcpy' is invalid in C99 [-Wimplicit-function-declaration] for(; --argc && (p_strcpy( ptr, *++argv ),1) ;) ^ aishmv.c:374:12: warning: implicit declaration of function 'numstr' is invalid in C99 [-Wimplicit-function-declaration] line= numstr( p ); ^ aishmv.c:382:13: warning: implicit declaration of function 'numstr' is invalid in C99 [-Wimplicit-function-declaration] line= numstr( *++argv ); ^ aishmv.c:400:13: warning: implicit declaration of function 'numstr' is invalid in C99 [-Wimplicit-function-declaration] title= numstr( p ); ^ aishmv.c:408:14: warning: implicit declaration of function 'numstr' is invalid in C99 [-Wimplicit-function-declaration] title= numstr( *++argv ); ^ aishmv.c:415:10: warning: implicit declaration of function 'numstr' is invalid in C99 [-Wimplicit-function-declaration] os= numstr( p ); ^ aishmv.c:423:11: warning: implicit declaration of function 'numstr' is invalid in C99 [-Wimplicit-function-declaration] os= numstr( *++argv ); ^ aishmv.c:467:8: warning: implicit declaration of function 'Mopen' is invalid in C99 [-Wimplicit-function-declaration] if( Mopen( &fm, fname ) ){ ^ aishmv.c:474:5: warning: implicit declaration of function 'Merr' is invalid in C99 [-Wimplicit-function-declaration] Merr( "crc check.." ); ^ aishmv.c:476:5: warning: implicit declaration of function 'Mseek' is invalid in C99 [-Wimplicit-function-declaration] Mseek( &fm, 0, 0 ); ^ aishmv.c:479:5: warning: implicit declaration of function 'Mclose' is invalid in C99 [-Wimplicit-function-declaration] Mclose( &fm ); ^ aishmv.c:481:12: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mverr( fname, ":open error" ); ^~~~~ 45 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -DMVOLENC=1 -c ai_crc32.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -DMVOLENC=1 -c ai_crc.c -o ai_crcmv.o ai_crc.c:39:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] crc_check( crc, ptr, len ) ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUNIX=1 -DUUENCODE=1 -DMIMEDEC=1 -DMVOLENC=1 -c ai_fio.c -o ai_fiomv.o ai_fio.c:255:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mprint( ptr ) ^ ai_fio.c:259:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_fio.c:261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Merr( ptr ) ^ ai_fio.c:265:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_fio.c:267:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mopen( fm, name ) ^ ai_fio.c:275:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] }else if( fm->fp= fopen( name, BROPEN ) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ai_fio.c:275:18: note: place parentheses around the assignment to silence this warning }else if( fm->fp= fopen( name, BROPEN ) ){ ^ ( ) ai_fio.c:275:18: note: use '==' to turn this assignment into an equality comparison }else if( fm->fp= fopen( name, BROPEN ) ){ ^ == ai_fio.c:282:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mcreate( fm, name ) ^ ai_fio.c:293:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] }else if( fm->fp= fopen( name, BWOPEN ) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ai_fio.c:293:18: note: place parentheses around the assignment to silence this warning }else if( fm->fp= fopen( name, BWOPEN ) ){ ^ ( ) ai_fio.c:293:18: note: use '==' to turn this assignment into an equality comparison }else if( fm->fp= fopen( name, BWOPEN ) ){ ^ == ai_fio.c:301:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mappend( fm, name ) ^ ai_fio.c:305:6: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if( access( name, 0 /*F_OK*/ ) < 0 ) ^ ai_fio.c:307:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fm->fp= fopen( name, BRWOPEN ) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ai_fio.c:307:12: note: place parentheses around the assignment to silence this warning if( fm->fp= fopen( name, BRWOPEN ) ){ ^ ( ) ai_fio.c:307:12: note: use '==' to turn this assignment into an equality comparison if( fm->fp= fopen( name, BRWOPEN ) ){ ^ == ai_fio.c:314:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mclose( fm ) ^ ai_fio.c:319:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ai_fio.c:321:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mread( fm, buf, len ) ^ ai_fio.c:330:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mgets( fm, buf, len ) ^ ai_fio.c:335:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( fgets( readbuf, RDBUFSIZE, fm->fp ) ){ ^~~~~~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ ai_fio.c:345:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] return strlen( buf )+1; ^ ai_fio.c:345:10: note: include the header or explicitly provide a declaration for 'strlen' ai_fio.c:345:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return strlen( buf )+1; ^~~ ai_fio.c:350:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mwrite( fm, ptr, len ) ^ ai_fio.c:357:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mputs( fm, ptr ) ^ ai_fio.c:372:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mflush( fm ) ^ ai_fio.c:376:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_fio.c:378:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Mseek( fm, pos, mode ) ^ ai_fio.c:382:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ai_fio.c:384:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Misfile( fm ) ^ 25 warnings generated. cc aishmv.o ai_crc32.o ai_crcmv.o ai_fiomv.o ai_nam.o ai_unix.o -o aishmv =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for aish-1.13 ===> Generating temporary packing list install -s -m 555 aish /wrkdirs/usr/ports/converters/aish/work/stage/usr/local/bin install -s -m 555 aishmv /wrkdirs/usr/ports/converters/aish/work/stage/usr/local/bin install -m 555 ishcat /wrkdirs/usr/ports/converters/aish/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/converters/aish/work/aish113u/aish.txt /wrkdirs/usr/ports/converters/aish/work/stage/usr/local/share/doc/ja/aish ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-03-31T18:54:57+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=03ddc450f6' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for aish-1.13 ===> Building aish-1.13 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for aish-1.13 build of converters/aish | aish-1.13 ended at Sun Mar 31 19:55:08 BST 2024 build time: 00:00:13