* Package: net-mail/safecat-1.13:0 * Repository: gentoo * Maintainer: robbat2@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking safecat-1.13.tar.gz to /var/tmp/portage/net-mail/safecat-1.13/work >>> Source unpacked in /var/tmp/portage/net-mail/safecat-1.13/work >>> Preparing source in /var/tmp/portage/net-mail/safecat-1.13/work/safecat-1.13 ... * Applying safecat-1.11-gentoo.patch ... [ ok ] * Applying safecat-1.13-makefile.patch ... [ ok ] * Applying safecat-1.13-head-tail-POSIX.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-mail/safecat-1.13/work/safecat-1.13 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-mail/safecat-1.13/work/safecat-1.13 ... make -j4 cat warn-auto.sh maildir.sh \ | sed s}HOME}"`head -n 1 conf-root`"}g \ > maildir ( cat warn-auto.sh; \ echo CC=\'`head -n 1 conf-cc`\'; \ echo LD=\'`head -n 1 conf-ld`\'; \ ) > auto-ccld.sh nroff -man safecat.1 > safecat.0 chmod 755 maildir nroff -man maildir.1 > maildir.0 cat auto-ccld.sh make-load.sh > make-load cat auto-ccld.sh find-systype.sh > find-systype chmod 755 make-load cat auto-ccld.sh make-compile.sh > make-compile chmod 755 find-systype chmod 755 make-compile ./find-systype > systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \ compile ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo 'rm -f "$main"'; \ echo 'ar cr "$main" ${1+"$@"}'; \ case "`cat systype`" in \ sunos-5.*) ;; \ unix_sv*) ;; \ irix64-*) ;; \ irix-*) ;; \ dgux-*) ;; \ hp-ux-*) ;; \ sco*) ;; \ *) echo 'ranlib "$main"' ;; \ esac \ ) > makelib chmod 755 makelib chmod 755 load chmod 755 compile ( ( ./compile tryulong32.c && ./load tryulong32 && \ ./tryulong32 ) >/dev/null 2>&1 \ && cat uint32.h2 || cat uint32.h1 ) > uint32.h ./compile getln.c ./compile getln2.c ./compile str_len.c getln.c:15:13: warning: passing arguments to 'getln2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getln2(ss,sa,&cont,&clen,sep) == -1) return -1; ^ getln.c:17:21: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_catb(sa,cont,clen)) return -1; ^ getln.c:6: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 getln(ss,sa,match,sep) ^ In file included from getln.c:4: ./getln.h:4: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 getln(); ^ getln2.c:17:22: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_ready(sa,0)) return -1; ^ getln2.c:21:22: warning: passing arguments to 'substdio_feed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = substdio_feed(ss); ^ getln2.c:25:17: warning: passing arguments to 'byte_chr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = byte_chr(x,n,sep); ^ getln2.c:27:28: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_readyplus(sa,n)) return -1; ^ getln2.c:29:31: warning: passing arguments to 'substdio_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sa->len = i + substdio_get(ss,sa->s + i,n); ^ getln2.c:6: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 getln2(ss,sa,cont,clen,sep) ^ In file included from getln2.c:4: ./getln.h:5: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 getln2(); ^ 4 warnings generated. rm -f tryulong32.o tryulong32 ./compile byte_chr.c ./compile byte_diff.c ./compile byte_copy.c 7 warnings generated. ./compile byte_cr.c byte_copy.c:3: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 byte_copy(to,n,from) ^ In file included from byte_copy.c:1: ./byte.h:6:13: 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 void byte_copy(); ^ byte_chr.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned int byte_chr(s,n,c) ^ In file included from byte_chr.c:1: ./byte.h:4:21: 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 unsigned int byte_chr(); ^ byte_diff.c:3: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 byte_diff(s,n,t) ^ In file included from byte_diff.c:1: ./byte.h:8: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 byte_diff(); ^ 2 warnings generated. byte_cr.c:3: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 byte_copyr(to,n,from) ^ In file included from byte_cr.c:1: ./byte.h:7:13: 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 void byte_copyr(); ^ 2 warnings generated. ./compile byte_zero.c ./compile stralloc_eady.c 2 warnings generated. 2 warnings generated. ./compile stralloc_pend.c ./compile stralloc_copy.c byte_zero.c:3: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 byte_zero(s,n) ^ In file included from byte_zero.c:1: ./byte.h:9:13: 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 void byte_zero(); ^ stralloc_eady.c:5:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GEN_ALLOC_ready(stralloc,char,s,len,a,i,n,x,30,stralloc_ready) ^ ./gen_allocdefs.h:11:19: note: expanded from macro 'GEN_ALLOC_ready' if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \ ^ stralloc_eady.c:5:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./gen_allocdefs.h:15:38: note: expanded from macro 'GEN_ALLOC_ready' return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } ^ stralloc_eady.c:5:48: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GEN_ALLOC_ready(stralloc,char,s,len,a,i,n,x,30,stralloc_ready) ^ In file included from stralloc_eady.c:2: ./stralloc.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a2 warningzero-parameters generated . prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int stralloc_ready(); ^ stralloc_pend.c:5:1: stralloc_copy.cwarning: :passing8 :arguments24 :to warning: 'stralloc_readyplus'passing withoutarguments toa 'stralloc_copyb'prototype withoutis adeprecated inprototype allis versionsdeprecated ofin Call andversions isof notC supportedand inis C2xnot supported[-Wdeprecated-non-prototype] in C2x [-Wdeprecated-non-prototype] stralloc_eady.c:6:GEN_ALLOC_append(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus,stral...1 return stralloc_copyb(sato,safrom->s,safrom->len); : ^ ^warning: ./gen_allocdefs.hpassing: 32arguments: 16to: 'alloc_re'note: expandedwithout froma macro prototype'GEN_ALLOC_append' { if (!ta_rplus(x,1)) return 0; x->field[x->len++] = *i; return 1; } is ^ deprecated in all versions of C and is notstralloc_copy.c :supported4 :in5: C2xwarning: a [-Wdeprecated-non-prototype]function definition without a prototype is GEN_ALLOC_readyplus(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus)deprecated ^in ./gen_allocdefs.hall: 24versions: 19of: Cnote: expandedand fromis macronot 'GEN_ALLOC_readyplus'supported in C2x [-Wdeprecated-non-prototype] stralloc_pend.c:5:68: int stralloc_copy(sato,safrom)warning: if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \ a ^ ^ function In file included from definitionstralloc_copy.c :without2 : a./stralloc.h :prototype10 :is12 : deprecatedwarning: ain functionall declarationversions withoutof aC prototypeand isis notdeprecated supportedin inall C2xversions of[-Wdeprecated-non-prototype] C and stralloc_eady.cis: 6treated: GEN_ALLOC_append(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus,stral...1as : ^ a warning: zero-parameterpassingIn file included from stralloc_pend.c arguments:prototype 2 to: in ./stralloc.h 'alloc':C2x, 16 conflictingwithout: 12 with: a awarning: asubsequentprototype functiondefinition isdeclaration [-Wdeprecated-non-prototype]without deprecateda extern int stralloc_copy(); in prototype ^ allis versions deprecatedof inC alland versionsis ofnot Csupported andin isC2x treated [-Wdeprecated-non-prototype]as a zero-parameter./gen_allocdefs.h : 28prototype: 38in: C2x,note: expandedconflicting fromwith macroa 'GEN_ALLOC_readyplus'subsequent definition [-Wdeprecated-non-prototype] return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } ^ extern int stralloc_append(); /* beware: this takes a pointer to 1 char */ ^ stralloc_eady.c:6:52: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GEN_ALLOC_readyplus(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus) ^ In file included from stralloc_eady.c:2: ./stralloc.h:9: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 stralloc_readyplus(); ^ 3 warnings generated. ./compile stralloc_opys.c ./compile stralloc_opyb.c 8 warnings generated. 3 warnings generated. ./compile stralloc_cat.c ./compile stralloc_cats.c stralloc_cat.c:8:23: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return stralloc_catb(sato,safrom->s,safrom->len); ^ stralloc_opyb.c:9:22: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in stralloc_cat.c:4:5: warning: alla versions of C and function definition is not without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int stralloc_cat(sato,safrom) ^ In file included from stralloc_cat.c:2: ./stralloc.h:11: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 stralloc_cat(); ^ stralloc_opys.c:9:24: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return stralloc_copyb(sa,s,str_len(s)); ^ stralloc_opys.c:5: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 stralloc_copys(sa,s) ^ In file included from stralloc_opys.c:3: ./stralloc.h:12: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 stralloc_copys(); ^ 3 warnings generated. supported in C2x 3 warnings generated. [-Wdeprecated-non-prototype] if (!stralloc_ready(sa,n + 1)) return 0; ^ stralloc_opyb.c:10:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte_copy(sa->s,n,s); ^ stralloc_opyb.c:4:5: warning: stralloc_cats.c:9:23: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return stralloc_catb(sa,s,str_len(s)); ^ stralloc_cats.c:5: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 stralloc_cats(sa,s) ^ In file included from stralloc_cats.c:3: ./stralloc.h:13: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 stralloc_cats(); ^ a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int stralloc_copyb(sa,s,n) ^ In file included from stralloc_opyb.c:1: ./stralloc.h:14: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 stralloc_copyb(); ^ ./compile stralloc_catb.c ./compile stralloc_arts.c 3 warnings generated. 4 warnings generated. ./compile stralloc_num.c ( ( ./compile tryerrno.c && ./load tryerrno && \ ./tryerrno ) >/dev/null 2>&1 \ && cat error_no.h1 || cat error_no.h2 ) > error_no.h stralloc_arts.c:11:30: warning: passing arguments to 'byte_diff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (sa->len >= len) && byte_equal(s,len,sa->s); ^ ./byte.h:11:38: note: expanded from macro 'byte_equal' #define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))stralloc_catb.c: 9:36: ^ warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!sa->s) return stralloc_copyb(sa,s,n); ^ stralloc_arts.c:5:5: warning: a function definition without a prototype is deprecated in all versions of Cstralloc_catb.c: 10:26: warning: passingand argumentsis to 'stralloc_readyplus' without a not prototype is supported deprecated inin all versions of C and is C2x not [-Wdeprecated-non-prototype] supportedint stralloc_starts(sa,s) ^ inIn file included from stralloc_arts.c:3 C2x : [-Wdeprecated-non-prototype]./stralloc.h:17: 12: warning: a function if (!stralloc_readyplus(sa,n + 1)) return 0; ^ declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter stralloc_catb.c:11:12prototype : inwarning: passing arguments C2x,to 'byte_copy' without conflicting with aa prototype is subsequent deprecated in all versions definitionof C and is not [-Wdeprecated-non-prototype] supportedextern int stralloc_starts(); ^ in C2x [-Wdeprecated-non-prototype] byte_copy(sa->s + sa->len,n,s); ^ stralloc_catb.c:4: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 stralloc_catb(sa,s,n) ^ In file included from stralloc_catb.c:1: ./stralloc.h:15: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 stralloc_catb(); ^ stralloc_num.c:17:26: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_readyplus(sa,len)) return 0; ^ stralloc_num.c:3: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 stralloc_catulong0(sa,u,n) ^ In file included from stralloc_num.c:1: ./stralloc.h:21: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 stralloc_catulong0(); ^ stralloc_num.c:31:25: warning: passing arguments to 'stralloc_append' without a 3 warnings generated. prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_append(sa,"-")) return 0; ^ stralloc_num.c:25: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 stralloc_catlong0(sa,l,n) ^ In file included from stralloc_num.c:1: ./stralloc.h:5 warnings generated. 22: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 stralloc_catlong0(); ^ ./compile strerr_die.c ./compile substdio.c rm -f tryerrno.o tryerrno ./compile subfderr.c 6 warnings generated. strerr_die.c:12:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (x1) substdio_puts(subfderr,x1); ^ strerr_die.c:13:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (x2) substdio_puts(subfderr,x2); ^ strerr_die.c:14:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (x3) substdio_puts(subfderr,x3); ^ strerr_die.c:15:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (x4) substdio_puts(subfderr,x4); ^ strerr_die.c:16:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (x5) substdio_puts(subfderr,x5); ^ strerr_die.c:17:24: warning: substdio.c:3: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 substdio_fdbuf(s,op,fd,buf,len) ^ In file included from substdio.c:1: ./substdio.h:14:13: 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 void substdio_fdbuf(); ^ passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (x6) substdio_puts(subfderr,x6); ^ strerr_die.c:20:29: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (se->x) substdio_puts(subfderr,se->x); ^ strerr_die.c:21:29: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (se->y) substdio_puts(subfderr,se->y); ^ strerr_die.c:22:29: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (se->z) substdio_puts(subfderr,se->z); ^ strerr_die.c:26:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_puts(subfderr,"\n"); ^ strerr_die.c:27:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_flush(subfderr); ^ strerr_die.c:6:6: warning: a function definition without a prototype is deprecated in ./compile subfdout.c all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void strerr_warn(x1,x2,x3,x4,x5,x6,se) ^ In file included from strerr_die.c:4: ./strerr.h:17:13: 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 void strerr_warn(); ^ strerr_die.c:30: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 strerr_die(e,x1,x2,x3,x4,x5,x6,se) ^ In file included from strerr_die.c:4: ./strerr.h:18:13: 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 void strerr_die(); ^ 2 warnings generated. ./compile subfdouts.c 15 warnings generated. ./compile subfdin.c ./compile subfdins.c ./compile substdio_copy.c subfdin.c:7:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (substdio_flush(subfdout) == -1) return -1; ^ subfdin.c:8:14: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return read(fd,buf,len); ^ subfdin.c:5: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 subfd_read(fd,buf,len) int fd; char *buf; int len; ^ In file included from subfdin.c:3: ./subfd.h:12: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 subfd_read(); ^ subfdins.c:7:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (substdio_flush(subfdoutsmall) == -1) return -1; ^ subfdins.c:8:14: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return read(fd,buf,len); ^ subfdins.c:5: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 subfd_readsmall(fd,buf,len) int fd; char *buf; int len; ^ In file included from subfdins.c:3: ./subfd.h:13: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 subfd_readsmall(); ^ 4 warnings generated. 4 warnings generated. ./compile alloc.c ./compile alloc_re.c ./compile envread.c substdio_copy.c:11:22: warning: passing arguments to 'substdio_feed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = substdio_feed(ssin); ^ substdio_copy.c:15:21: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (substdio_put(ssout,x,n) == -1) return -3; ^ substdio_copy.c:3: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 substdio_copy(ssout,ssin) ^ In file included from substdio_copy.c:1: ./substdio.h:45: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 substdio_copy(); ^ 4 warnings generated. alloc.c:3:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ alloc.c:3:14: note: 'malloc' is a alloc_re.c:11:12: warning: passing arguments to 'alloc' builtinwithout awith prototype is deprecated typein all'void *(unsigned long)' versions of C and is not supported in C2x [-Wdeprecated-non-prototype] y = alloc(n); ^ alloc_re.c:13:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte_copy(y,m,*x); ^ alloc_re.c:14:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_free(*x); ^ alloc_re.c:4: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 alloc_re(x,m,n) ^ In file included from alloc_re.c:1: ./alloc.h:6: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 alloc_re(); ^ envread.c:4:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern /*@null@*/char *env_get(s) ^ In file included from envread.c:1: ./env.h:10:24: 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 /*@null@*/char *env_get(); ^ alloc.c:20:13: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x = malloc(n); ^ alloc.c:14:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /*@null@*//*@out@*/char *alloc(n) ^ In file included from alloc.c:1: ./alloc.h:4:33: 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 /*@null@*//*@out@*/char *alloc(); ^ envread.c:23:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern char *env_findeq(s) ^ In file included from envread.c:1: ./env.h:13: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 char *env_findeq(); ^ alloc.c:25: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 alloc_free(x) ^ In file included from alloc.c:1: ./alloc.h:5:13: 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 void alloc_free(); ^ ./compile error.c 5 warnings generated. 6 warnings generated. 4 warnings generated. ./compile error_str.c ( ( ./compile tryulong64.c && ./load tryulong64 && \ ./tryulong64 ) >/dev/null 2>&1 \ && cat uint64.h2 || cat uint64.h1 ) > uint64.h ./compile hostname.c hostname.c:11:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die1sys(111, "safecat: fatal: can't determine hostname: "); ^ ./strerr.h:65:11: note: expanded from macro 'strerr_die1sys' strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *... ^ ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \ 2>&1 \ && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h 1 warning generated. ./compile stat_dir.c rm -f tryulong64.o tryulong64 ./compile str_diffn.c ./compile taia_fmtfrac.c stat_dir.c:13:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2sys(111,"safecat: fatal: ","could not stat directory: "); ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ stat_dir.c:16:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2x(111, "safecat: fatal: ","not a directory"); ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... ^ stat_dir.c:19:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2x(111, "safecat: fatal: ","directory not writable"); ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... ^ 3 warnings generated. str_diffn.c:3: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 str_diffn(s,t,len) ^ taia_fmtfrac.c:3:14:./compile taia_now.c warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned int taia_fmtfrac(s,t) ^ In file included from taia_fmtfrac.c:1: ./taia.h:29:21: 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 unsigned int taia_fmtfrac(); ^ 1 warning generated. ./compile taia_tai.c 2 warnings generated. rm -f trysgact.o trysgact taia_now.c:7: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 taia_now(t) ^ In file included from taia_now.c:3: ./taia.h:14:13: 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 void taia_now(); ^ ./compile tempfile.c ./compile writefile.c 2 warnings generated. ./compile safecat.c taia_tai.c:3: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 taia_tai(ta,t) ^ In file included from taia_tai.c:1: ./taia.h:12:13: 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 void taia_tai(); ^ writefile.c:23:17: warning: passing arguments to 'substdio_fdbuf' without atempfile.c: 12prototype: 20:is warning: deprecatedpassing in argumentsall toversions 'strerr_die'of Cwithout anda isprototype not is supporteddeprecated inin C2xall versions[-Wdeprecated-non-prototype] of substdio_fdbuf(&ssin,read,0,inbuf,sizeof(inbuf)); C and is not supported in ^C2x writefile.c[-Wdeprecated-non-prototype] void die_nomem() { strerr_die2x(111,"safecat: fatal: ","out of memory"); } ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... ^ tempfile.c:24:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_fdbuf(&ssout,write,fd,outbuf,sizeof(outbuf)); ^ writefile.c:27:19: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of :C 25and: 11is: notwarning: passingsupported arguments into C2x'taia_now' without[-Wdeprecated-non-prototype] dtline = env_get("DTLINE");a prototype is ^deprecated writefile.cin all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] taia_now(&now);:28 : ^19: tempfile.cwarning: passing arguments to 'env_get' without a prototype is: 26deprecated: 11in :all warning: versionspassing ofarguments C toand 'taia_tai'is withoutnot asupported prototypein C2xis deprecated[-Wdeprecated-non-prototype] in rpline = env_get("RPLINE"); all versions of ^C writefile.cand is not supported in C2x [-Wdeprecated-non-prototype] taia_tai(&now,&sec); ^ tempfile.c:30:21: warning: passing arguments to 'substdio_puts' without a prototype is deprecated :in29 :all20 :versions ofwarning: passingC argumentsand tois 'fmt_uint64'not withoutsupported ain prototypeC2x is[-Wdeprecated-non-prototype] deprecated if(substdio_puts(&ssout,rpline) == -1) goto fail; in all versions of C ^ andwritefile.c is not supported in C2x [-Wdeprecated-non-prototype] secbuf[fmt_uint64(secbuf,(uint64) sec.x - 4611686018427387904)] = '\0'; ^ tempfile.c:31:21: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions: 30of: 21C: andwarning: passingis argumentsnot supportedto in'stralloc_cats' C2xwithout a[-Wdeprecated-non-prototype] if(substdio_puts(&ssout,dtline) == -1) goto fail;prototype is deprecated in all ^ versionswritefile.c of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cats(tmpf, secbuf)) die_nomem(); ^ :tempfile.c35:20: warning: passing arguments to 'substdio_copy' without a prototype is deprecated :in 33all: 21versions: ofwarning: passingC argumentsand tois 'stralloc_cats'not withoutsupported ina C2x prototype [-Wdeprecated-non-prototype]is if (substdio_copy(&ssout,&ssin) < 0) goto fail;deprecated in all versions of ^C writefile.cand is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cats(tmpf, ".M")) die_nomem(); : ^ 36tempfile.c:21: warning: passing arguments to 'substdio_flush' without a prototype is: deprecated34 :in15 :all warning: versionspassing of argumentsC toand 'taia_fmtfrac'is withoutnot asupported inprototype C2xis deprecated[-Wdeprecated-non-prototype] in if (substdio_flush(&ssout) == -1) goto fail; all versions of C ^ andwritefile.c is not supported in C2x [-Wdeprecated-non-prototype] taia_fmtfrac(atto,&now); ^ tempfile.c:36:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and: is43 :not3 :supported warning: inpassing C2x arguments to[-Wdeprecated-non-prototype] 'strerr_die' if (!stralloc_cats(tmpf, atto)) die_nomem(); without a prototype is ^deprecated tempfile.cin all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]: 39 strerr_die2x(111,"safecat: fatal: ","unable to copy standard input");:23: warning: passing arguments to ^'stralloc_append' ./strerr.hwithout a prototype :is76 :deprecated 11in: allnote: expandedversions fromof macroC 'strerr_die2x'and strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st...is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_append(tmpf, "P")) die_nomem(); ^ 2 warnings generated. ^ tempfile.c:40:20: warning: passing arguments to 'fmt_uint64' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pidbuf[fmt_uint64(pidbuf, pid)] = '\0'; ^ tempfile.c:41:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cats(tmpf, pidbuf)) die_nomem(); ^ tempfile.c:44:23: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_append(tmpf, ".")) die_nomem(); ^ tempfile.c:46:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cats(tmpf, host)) die_nomem(); ^ tempfile.c:47:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_0(tmpf)) die_nomem(); ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' #define stralloc_0(sa) stralloc_append(sa,"") ^ ./makelib getln.a getln.o getln2.o 9 warnings generated. 14 warnings generated. safecat.c:37:20: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void die_nomem() { strerr_die2x(111,"safecat: fatal: ","out of memory"); } ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... ^ ./makelib str.a str_len.o byte_chr.o byte_diff.o \ byte_copy.o byte_cr.o byte_zero.o safecat.c:53:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2x(100, "safecat: usage: ","safecat "); ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... ^ safecat.c:72:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cats(&outpath,tempdir)) die_nomem(); ^ safecat.c:73:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_append(&outpath, "/")) die_nomem(); ^ safecat.c:74:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cat(&outpath,&outfile)) die_nomem(); ^ safecat.c:76:25: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cats(&dstpath, destdir)) die_nomem(); ^ safecat.c:77:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_append(&dstpath, "/")) die_nomem(); ^ safecat.c:78:24: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cat(&dstpath,&outfile)) die_nomem(); ^ safecat.c:80:25: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cats(&tmppath, tempdir)) die_nomem(); ^ safecat.c:81:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_append(&tmppath, "/")) die_nomem(); ^ safecat.c:82:24: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cat(&tmppath,&outfile)) die_nomem(); ^ safecat.c:88:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2x(111, "safecat: fatal: ","could not stat temporary file"); ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... ^ safecat.c:92:19: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stralloc_copys(&outfile,""); ^ safecat.c:93:19: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stralloc_copys(&outpath,""); ^ safecat.c:101:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2sys(111,"safecat: fatal: ","couldn't create output file: "); ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ safecat.c:110:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2sys(111,"safecat: fatal: ","can't fsync/close output file: "); ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ safecat.c:116:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2sys(111,"safecat: fatal: ","can't link output file: "); ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ safecat.c:124:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_puts(subfdoutsmall,outfile.s); ^ safecat.c:125:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_puts(subfdoutsmall,"\n"); ^ safecat.c:126:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_flush(subfdoutsmall); ^ ./makelib stralloc.a stralloc_eady.o stralloc_pend.o \ stralloc_copy.o stralloc_opys.o stralloc_opyb.o \ stralloc_cat.o stralloc_cats.o stralloc_catb.o \ stralloc_arts.o stralloc_num.o 20 warnings generated. ./compile strerr_sys.c ./compile substdi.c ./compile substdo.c ./compile fmt_uint64.c substdi.c:14: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] r = op(fd,buf,len); ^ substdi.c:5:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int oneread(op,fd,buf,len) ^ substdi.c:31:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte_copy(buf,r,s->x + s->n); ^ substdi.c:20:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int getthis(s,buf,len) ^ substdi.c:49:48: warning: passing arguments to 'byte_copyr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (q > 0) /* damn, gotta shift */ byte_copyr(s->x + q,r,s->x); ^ substdi.c:36: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 substdio_feed(s) ^ In file included from substdi.c:1: ./substdio.h:26: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 substdio_feed(); ^ substdi.c:53: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 substdio_bget(s,buf,len) ^ In file included from substdi.c:1: ./substdio.h:25: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 substdio_bget(); ^ substdi.c:66: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 substdio_get(s,buf,len) ^ In file included from substdi.c:1: ./substdio.h:24:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int substdio_get(); ^ ./compile sig.c substdi.c:79: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 *substdio_peek(s) ^ In file included from substdi.c:1: ./substdio.h:28: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 char *substdio_peek(); ^ substdi.c:85: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 substdio_seek(s,len) ^ In file included from substdi.c:1: ./substdio.h:29:13: 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 void substdio_seek(); ^ fmt_uint64.c:substdo.c:15: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] w = op(fd,buf,len); ^ substdo.c:20:17: warning: if statement has empty body [-Wempty-body] if (w == 0) ; /* luser's fault */ ^ substdo.c:20:17: note: put the semicolon on a separate line to silence this warning substdo.c:6:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int allwrite(op,fd,buf,len) ^ substdo.c:27: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 substdio_flush(s) ^ In file included from substdo.c:1: ./substdio.h:16: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 substdio_flush(); ^ 4:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned int fmt_uint64(s,u) register char *s; register uint64 u; ^ In file included from fmt_uint64.c:1: ./fmt.h:7:21: 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 unsigned int fmt_uint64(); ^ substdo.c:46:14: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte_copy(s->x + s->p,n,buf); s->p += n; buf += n; len -= n; ^ substdo.c:50:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte_copy(s->x + s->p,len,buf); ^ substdo.c:38: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 substdio_bput(s,buf,len) ^ In file included from substdo.c:1: ./substdio.h:18: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 substdio_bput(); ^ substdo.c:75:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte_copy(s->x + s->p,len,buf); ^ substdo.c:55: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 substdio_put(s,buf,len) ^ In file included from substdo.c:1: ./substdio.h:17: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 substdio_put(); ^ substdo.c:80: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 substdio_putflush(s,buf,len) ^ In file included from substdo.c:1: ./substdio.h:19: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 substdio_putflush(); ^ substdo.c:89: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 substdio_bputs(s,buf) ^ In file included from substdo.c:1: ./substdio.h:21: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 substdio_bputs(); ^ substdo.c:96: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 substdio_puts(s,buf) ^ In file included from substdo.c:1: ./substdio.h:20: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 substdio_puts(); ^ substdo.c:103: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 substdio_putsflush(s,buf) ^ In file included from substdo.c:1: ./substdio.h:22: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 substdio_putsflush(); ^ 2 warnings generated. ./makelib strerr.a strerr_sys.o strerr_die.o 15 warnings generated. sig.c:13:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2x(111,"safecat: fatal: ","Timer has expired; giving up"); ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... ^ 20 warnings generated. ./makelib substdio.a substdio.o substdi.o substdo.o \ subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o \ substdio_copy.o 1 warning generated. ./load safecat getln.a str.a stralloc.a strerr.a substdio.a \ alloc.o alloc_re.o byte_copy.o byte_cr.o envread.o error.o \ error_str.o fmt_uint64.o hostname.o sig.o stat_dir.o str_diffn.o \ str_len.o substdi.o substdio.o substdio_copy.o taia_fmtfrac.o \ taia_now.o taia_tai.o tempfile.o writefile.o /usr/bin/x86_64-pc-linux-gnu-ld: errno: TLS definition in /lib64/libc.so.6 section .tbss mismatches non-TLS reference in strerr.a(strerr_sys.o) /usr/bin/x86_64-pc-linux-gnu-ld: /lib64/libc.so.6: error adding symbols: bad value clang-15: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:226: safecat] Error 1 * ERROR: net-mail/safecat-1.13::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-mail/safecat-1.13::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-mail/safecat-1.13::gentoo'`. * The complete build log is located at '/var/log/portage/net-mail:safecat-1.13:20220918-134833.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-mail/safecat-1.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/safecat-1.13/temp/environment'. * Working directory: '/var/tmp/portage/net-mail/safecat-1.13/work/safecat-1.13' * S: '/var/tmp/portage/net-mail/safecat-1.13/work/safecat-1.13'