Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 890261 Details for
Bug 929081
net-mail/safecat-1.13 - [slibtool] [clang] prototype is deprecated in all versions of C and is not supported in C23
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-mail:safecat-1.13:20240410-031250.log
net-mail:safecat-1.13:20240410-031250.log (text/plain), 62.92 KB, created by
Toralf Förster
on 2024-04-10 18:04:47 UTC
(
hide
)
Description:
net-mail:safecat-1.13:20240410-031250.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-04-10 18:04:47 UTC
Size:
62.92 KB
patch
obsolete
> * Package: net-mail/safecat-1.13:0 > * Repository: gentoo > * Maintainer: robbat2@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * 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. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> 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 >./find-systype > systype >chmod 755 make-compile >( 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.cgetln2.c::1517::1322:: warning: warning: passingpassing argumentsarguments toto 'getln2''stralloc_ready' withoutwithout aa >prototype prototypeis >is deprecateddeprecated inin allall versionsversions ofof CC andand isis notnot supportedsupported in C23 >in [-Wdeprecated-non-prototype]C23 > > [-Wdeprecated-non-prototype] > 1517 | | iiff (getln(2(ss,s!as,t&rcaolnlto,c&_crleeand,ys(espa), 0=)=) -r1e)t urrent u-r1n; >- 1| ; ^ > > | ^ >getln.c:17:21: warning: passing arguments to 'stralloc_catb' without a prototype > is deprecated getln2.cin: 21all: 22versions: ofwarning: passingC argumentsand tois 'substdio_feed'not withoutsupported ain > C23prototype > is[-Wdeprecated-non-prototype] >deprecated in all versions17 | of Ci fand (is! snott rsupporteda linl oC23c >_ c[-Wdeprecated-non-prototype]a >tb(s a21, | c o n t ,nc l=e ns)u)b srtedtiuor_nf e-e1d;( >s s| ) ^; > > | ^ >getln.c:6:5: warning: a function definition without a prototype is deprecated in > all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] > 6 | int getln(sgetln2.cs:,25s:a17,:m awarning: tpassingc harguments, stoe p'byte_chr') >without | a ^ >prototype is > In file included from deprecatedgetln.c :in4 : >all./getln.h :versions4 :of12 :C warning: anda isfunction notdeclaration supportedwithout ina C23prototype > is[-Wdeprecated-non-prototype] > > deprecated in all25 | versions of Ci and= isb ytreatedt eas_ cah rzero-parameter( >x ,prototypen ,ins eC23,p )conflicting; >with | a ^ >subsequent definition > [-Wdeprecated-non-prototype] > 4 | extern int getln(); > | ^ >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 C23 > [-Wdeprecated-non-prototype] > 27 | 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 C23 > [-Wdeprecated-non-prototype] > 29 | 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 C23 > [-Wdeprecated-non-prototype] > 6 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 5 | extern int getln2(); > | ^ >4 warnings generated. >7 warnings generated. >rm -f tryulong32.o tryulong32 >./compile byte_chr.c >./compile byte_diff.c >./compile byte_copy.c >./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 C23 > [-Wdeprecated-non-prototype] > 3 | void byte_copy(to,n,from) > | ^ >byte_diff.cIn file included from :byte_copy.c3::15: >:./byte.h :warning: 6a: 13function: definitionwarning: awithout functiona declarationprototype withoutis >a deprecatedprototype inis alldeprecated >versions inof allC versionsand ofis Cnot andsupported isin treatedC23 >as [-Wdeprecated-non-prototype]a > zero-parameter prototype in C23,3 > | iconflictingn twith bay tsubsequente _definitiond i[-Wdeprecated-non-prototype]f >f(s, n6, | te)x >t e| r ^n > voiIn file included from dbyte_diff.c :b1y: >t./byte.he_copy():;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 C23, > conflicting with a subsequent definition [-Wdeprecated-non-prototype] > 8 | extern int byte_diff(); > | ^ >byte_chr.c:3:14: warning: a function definition without a prototype is > deprecated in all versions byte_cr.cof C and :is3 :not6 :supported warning: ina C23function > definition[-Wdeprecated-non-prototype] >without a prototype is 3deprecated | >u nins iall gversions of nCe dand isi not supportedn tin C23b >y t[-Wdeprecated-non-prototype]e >_chr( s3, | nv,oci)d > b| y ^t >e_copyrIn file included from (byte_chr.ct:o1,: >n./byte.h,:f4r:o21m:) >warning: a| ^function > declaration without aIn file included from byte_cr.c:1: >./byte.h:7:13: warning: a functionprototype declarationis withoutdeprecated >a inprototype allis versionsdeprecated >of inC alland versionsis oftreated Cas anda iszero-parameter treatedprototype asin aC23, > zero-parameterconflicting prototype in with a subsequent definitionC23, >[-Wdeprecated-non-prototype] >conflicting 4 | e xwitht earn subsequentu nsigdefinitionn e[-Wdeprecated-non-prototype]d i >nt 7b | yetxe_tcehrrn( )v;o > i| d ^ >byte_copyr(); > | ^ >2 warnings generated. >2 warnings generated. >2 warnings generated. >2 warnings generated. >./compile byte_zero.c >./compile stralloc_eady.c >./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 C23 > [-Wdeprecated-non-prototype] > 3 | 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 C23, > conflicting with a subsequent definition [-Wdeprecated-non-prototype] > 9 | 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 C23 > [-Wdeprecated-non-prototype] > 5 | 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' > 11 | 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 C23 > [-Wdeprecated-non-prototype] >./gen_allocdefs.h:15:38: note: expanded from macro 'GEN_ALLOC_ready' > 15 | 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 C23 > [-Wdeprecated-non-prototype] > 5 | 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 a zero-parameter > prototype in C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 8 | extern int stralloc_ready(); > | ^ >stralloc_eady.c:6:1: warning: passing arguments to 'alloc_re' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 6 | GEN_ALLOC_readyplus(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus) > | ^ >./gen_allocdefs.h:24:19: note: expanded from macro 'GEN_ALLOC_readyplus' > 24 | if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \ > | ^ >stralloc_eady.c:6:1: warning: passing arguments to 'alloc' without a prototype > is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] >./gen_allocdefs.h:28:38: note: expanded from macro 'GEN_ALLOC_readyplus' > 28 | return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } > | ^ >stralloc_eady.c:6:52: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 6 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 9 | extern int stralloc_readyplus(); > | ^ >stralloc_copy.c:8:24: warning: passing arguments to 'stralloc_copyb' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 8 | return stralloc_copyb(sato,safrom->s,safrom->len); > | ^ >stralloc_pend.c:5:1: warning: passing stralloc_copy.carguments: 4to: 5'stralloc_readyplus': withoutwarning: >a afunction prototypedefinition iswithout deprecateda inprototype allis >versions deprecatedof inC alland versionsis ofnot Csupported andin isC23 >not [-Wdeprecated-non-prototype]supported > in C23 > [-Wdeprecated-non-prototype] > 5 | G E4N | _iAnLtL OsCt_raaplpleoncd_(csotprya(lslaotco,,cshaafrr,osm,)l >e n| , ^a >,i,n,In file included from xstralloc_copy.c,:320: >,./stralloc.hs:t10r:a12l:l owarning: ca_ rfunctionea ddeclarationy pwithoutl uas ,prototypes tisr >a deprecated in all lversions. .of. >C | and^ >is ./gen_allocdefs.htreated: 32as: 16a: zero-parameternote: >expanded prototypefrom inmacro C23,'GEN_ALLOC_append' >conflicting with a subsequent32 | definition{ > i[-Wdeprecated-non-prototype]f > (! t10a | _erxptleursn( xi,n1t) )s trreatlulronc _0c;o pxy-(>)f;i >e l| d ^[ >x->len++] = *i; return 1; } > | ^ >stralloc_pend.c:5:68: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 5 | GEN_ALLOC_append(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus,stral... > | ^ >In file included from stralloc_pend.c:2: >./stralloc.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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 16 | extern int stralloc_append(); /* beware: this takes a pointer to 1 char */ > | ^ >2 warnings generated. >3 warnings generated. >3 warnings generated. >./compile stralloc_opys.c >8 warnings generated. >./compile stralloc_opyb.c >./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 C23 > [-Wdeprecated-non-prototype] > 8 | returstralloc_opys.cn: 9s:t24r:a lwarning: lpassingo carguments_ ctoa t'stralloc_copyb'b (withouts aat >o ,prototypes aisf rdeprecatedo min- >alls ,versionss aoff rCo mand- >isl enotn )supported; >in | C23 ^ > > [-Wdeprecated-non-prototype] > 9 | return stralloc_copyb(sa,s,str_len(s)); > | ^ >stralloc_cat.c:4:5: warning: a function definitionstralloc_opys.c :without5 a prototype: 5is: > warning: deprecateda infunction alldefinition versionswithout ofa Cprototype andis >is deprecatednot insupported allin versionsC23 of > C[-Wdeprecated-non-prototype] >and is not 4supported | iinn tC23 >s t[-Wdeprecated-non-prototype]r >all o5c | _icnatt (sstartaol,lsoacf_rcoomp)y >s (| s ^a >,s) >In file included from stralloc_cat.c| : ^2 >: >./stralloc.h:11In file included from :stralloc_opys.c12::3 : >warning: ./stralloc.ha: 12function: 12declaration: withoutwarning: aa functionprototype declarationis >without deprecateda inprototype allis >versions deprecatedof inC alland versionsis oftreated Cas anda iszero-parameter >treated prototypeas ina C23,zero-parameter >conflicting prototypewith ina C23,subsequent conflictingdefinition >with [-Wdeprecated-non-prototype]a > subsequent definition >11 | [-Wdeprecated-non-prototype]e >xter n12 | ienxtt esrtnr ailnlto cs_tcraatl(l)o;c >_ c| o ^p >ys(); > | ^ >stralloc_opyb.c:9:22: warning: passing arguments to 'stralloc_ready' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 9 | if (!sstralloc_cats.ctra:l9:l23:o warning: c_repassing adargumentsy(s toa 'stralloc_catb',n +without 1 ))a ret > prototype urnis 0;deprecated > in| ^ all > versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 9 | return stralloc_catb(sa,stralloc_opyb.cs:,10s:t12r:_ lwarning: epassingn (argumentss )to) ;'byte_copy' > without| ^a > > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 10 | bystralloc_cats.c:5:5:t ewarning: _ac ofunctionp ydefinition( swithouta -a> sprototype, nis, >s )deprecated; >in | all ^ >versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 5 | 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 stralloc_opyb.cC: 4and: 5is: treatedwarning: aas functiona definitionzero-parameter >without prototypea inprototype C23,is >conflicting deprecatedwith ina allsubsequent versionsdefinition >of [-Wdeprecated-non-prototype]C > and is13 | note xsupportedt einr nC23 >i n[-Wdeprecated-non-prototype]t > str a4l | lionct_ csattrsa(l)l;o >c _| c ^o >pyb(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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 14 | extern int stralloc_copyb(); > | ^ >33 warning warningss generated generated. >. >3 warnings generated. >4 warnings generated. >./compile stralloc_catb.c >./compile stralloc_arts.c >./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_catb.c:9:36: warning: passing arguments to 'stralloc_copyb' without a > prototype is deprecated in all versions of Cstralloc_arts.c :and11 :is30 :not warning: supportedpassing inarguments C23to > 'byte_diff'[-Wdeprecated-non-prototype] >without a > prototype is deprecated 9in | all iversionsf of( !Cs aand- >iss )not rsupportede tinu rn stralloc_copyb(sa,s,n); > | ^ >stralloc_catb.c:10:26: warning: passing arguments to 'stralloc_readyplus' > without a prototype is deprecated in all versions of C and is not > supported in C23 [-Wdeprecated-non-prototype] > 10 | if (!stralloc_readyplus(sa,n + 1)) return 0; > | ^ >C23 > [-Wdeprecated-non-prototype] > 11 | returstralloc_catb.cn: 11(:s12a:- >warning: lpassinge narguments >to= 'byte_copy'l ewithoutn )a >& &prototype bisy tdeprecatede _ine qallu aversionsl (ofs ,Cl eandn ,iss anot- >supporteds )in; >C23 >| ^[-Wdeprecated-non-prototype] > >./byte.h :1111 | : 38 :b ynote: texpandede _fromc omacrop y'byte_equal'( >sa-> s11 | +# dseaf-i>nlee nb,ynt,es_)e;q >u a| l ^( >s,n,t) (!byte_diff((s),(n),(t))) > | ^ >stralloc_catb.c:4:5:stralloc_arts.c :warning: 5a: 5function: definitionwarning: awithout functiona definitionprototype withoutis >a deprecatedprototype in all versionsis >of deprecatedC inand allis versionsnot ofsupported Cin andC23 >is [-Wdeprecated-non-prototype]not > supported in 4C23 | >i n[-Wdeprecated-non-prototype]t > str a5l | lionct_ csattrba(lslao,cs_,snt)a >r t| s ^( >sa,s)In file included from >stralloc_catb.c :| 1 ^: > >In file included from ./stralloc.hstralloc_arts.c::153:: >12./stralloc.h:: 17warning: :a12 :function warning: declarationa withoutfunction adeclaration prototypewithout isa > prototypedeprecated isin > alldeprecated versionsin ofall Cversions andof isC treatedand asis atreated zero-parameteras > aprototype zero-parameterin > C23,prototype conflictingin withC23, aconflicting subsequentwith definitiona > subsequent[-Wdeprecated-non-prototype] >definition > [-Wdeprecated-non-prototype] >15stralloc_num.c | :e17x | t17extere:n26 :ir nnwarning: t passing i snttargumentsr atosltl roac'stralloc_readyplus'l_ls otca_rctaswithoutt(b) >(;) > ; >| ^| > ^a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 17 | 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 C23 > [-Wdeprecated-non-prototype] > 3 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 21 | extern int stralloc_catulong0(); > | ^ >stralloc_num.c:31:25: warning: passing arguments to 'stralloc_append' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 31 | 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 C23 > [-Wdeprecated-non-prototype] > 25 | int stralloc_catlong0(sa,l,n) > | ^ >In file included from stralloc_num.c:1: >./stralloc.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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 22 | extern int stralloc_catlong0(); > | ^ >3 warnings generated. >5 warnings generated. >./compile strerr_die.c >./compile substdio.c >rm -f tryerrno.o tryerrno >./compile subfderr.c >6 warnings generated. >./compile subfdout.c >substdio.c:3:6: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 3 | void substdio_fdbuf(s,op,fd,buf,len) > | ^ >In file included from substdio.c:1: >./substdio.h:14:13: warning: a function declaration without astrerr_die.c :prototype12 :is24 >: deprecatedwarning: passingin argumentsall toversions of C and 'substdio_puts'is withouttreated aas > aprototype zero-parameteris > deprecatedprototype inin allC23, versionsconflicting ofwith Ca andsubsequent isdefinition >not [-Wdeprecated-non-prototype]supported > in C23 >14 | [-Wdeprecated-non-prototype]e >xtern v12o | i d isfu b(sxt1d)i os_ufbdsbtudfi(o)_;p >u t| s ^( >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 C23 > [-Wdeprecated-non-prototype] > 13 | 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 C23 > [-Wdeprecated-non-prototype] > 14 | 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 C23 > [-Wdeprecated-non-prototype] > 15 | 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 C23 > [-Wdeprecated-non-prototype] > 16 | if (x5) substdio_puts(subfderr,x5); > | ^ >strerr_die.c:17:24: warning: passing arguments to 'substdio_puts' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 17 | 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 C23 > [-Wdeprecated-non-prototype] > 20 | 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 C23 > [-Wdeprecated-non-prototype] > 21 | 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 C23 > [-Wdeprecated-non-prototype] > 22 | 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 C23 > [-Wdeprecated-non-prototype] > 26 | 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 C23 > [-Wdeprecated-non-prototype] > 27 | substdio_flush(subfderr); > | ^ >strerr_die.c:6:6: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 6 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 17 | 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 C23 > [-Wdeprecated-non-prototype] > 30 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 18 | extern void strerr_die(); > | ^ >2 warnings generated. >15 warnings generated. >./compile subfdouts.c >./compile subfdin.c >./compile subfdins.c >./compile substdio_copy.c >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 C23 > [-Wdeprecated-non-prototype] > 7 | 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 C23 > [-Wdeprecated-non-prototype] > 8 | 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 C23 > [-Wdeprecated-non-prototype] > 5 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 13 | extern int subfd_readsmall(); > | ^ >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 C23 > [-Wdeprecated-non-prototype] > 7 | 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 C23 > [-Wdeprecated-non-prototype] > 8 | 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 C23 > [-Wdeprecated-non-prototype] > 5 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 12 | extern int subfd_read(); > | ^ >./compile alloc.c >4 warnings generated. >4 warnings generated. >./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 C23 > [-Wdeprecated-non-prototype] > 11 | 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 C23 > [-Wdeprecated-non-prototype] > 15 | 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 C23 > [-Wdeprecated-non-prototype] > 3 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 45 | extern int substdio_copy(); > | ^ >4 warnings generated. >alloc.c:3:14: warning: incompatible redeclaration of library function 'malloc' > [-Wincompatible-library-redeclaration] > 3 | extern char *malloc(); > | ^ >alloc.c:3:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' >alloc.c:20:13: warning: passing arguments to 'malloc' without a prototype is > deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 20 | 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 C23 > [-Wdeprecated-non-prototype] > 14 | /*@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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 4 | extern /*@null@*//*@out@*/char *alloc(); > | ^ >alloc.c:25:6: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 25 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 5 | extern void alloc_free(); > | ^ >./compile error.c >alloc_re.c:11:12: warning: passing arguments to 'alloc' without a prototype is > deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 11 | 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 C23 > [-Wdeprecated-non-prototype] > 13 | 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 C23 > [-Wdeprecated-non-prototype] > 14 | 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 C23 > [-Wdeprecated-non-prototype] > 4 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 6 | extern int alloc_re(); > | ^ >6 warnings generated. >5 warnings generated. >./compile error_str.c >envread.c:4:24: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 4 | 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 C23, > conflicting with a subsequent definition [-Wdeprecated-non-prototype] > 10 | extern /*@null@*/char *env_get(); > | ^ >envread.c:23:14: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 23 | ( ( ./compile tryulong64.c && ./load tryulong64 && \ >./tryulong64 ) >/dev/null 2>&1 \ >&& cat uint64.h2 || cat uint64.h1 ) > uint64.h >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 C23, > conflicting with a subsequent definition [-Wdeprecated-non-prototype] > 13 | extern char *env_findeq(); > | ^ >4 warnings generated. >./compile hostname.c >( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \ >2>&1 \ >&& echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h >rm -f tryulong64.o tryulong64 >./compile stat_dir.c >./compile str_diffn.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 C23 > [-Wdeprecated-non-prototype] > 11 | strerr_die1sys(111, "safecat: fatal: can't determine hostname: "); > | ^ >./strerr.h:65:11: note: expanded from macro 'strerr_die1sys' > 65 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *... > | ^ >1 warning generated. >./compile taia_fmtfrac.c >str_diffn.c:3:5: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 3 | int str_diffn(s,t,len) > | ^ >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 C23 > [-Wdeprecated-non-prototype] > 13 | strerr_die2sys(111,"safecat: fatal: ","could not stat directory: "); > | ^ >./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' > 63 | 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 C23 > [-Wdeprecated-non-prototype] > 16 | strerr_die2x(111, "safecat: fatal: ","not a directory"); > | ^ >./strerr.h:76:11: note: expanded from macro 'strerr_die2x' > 76 | 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 C23 > [-Wdeprecated-non-prototype] > 19 | strerr_die2x(111, "safecat: fatal: ","directory not writable"); > | ^ >./strerr.h:76:11: note: expanded from macro 'strerr_die2x' > 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... > | ^ >1 warning generated. >3 warnings generated. >./compile taia_now.c >./compile taia_tai.c >taia_fmtfrac.c:3:14: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 3 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 29 | extern unsigned int taia_fmtfrac(); > | ^ >2 warnings generated. >./compile tempfile.c >taia_now.c:7:6: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 7 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 14 | extern void taia_now(); > | ^ >rm -f trysgact.o trysgact >./compile writefile.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 C23 > [-Wdeprecated-non-prototype] > 3 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 12 | extern void taia_tai(); > | ^ >2 warnings generated. >2 warnings generated. >./compile safecat.c >./makelib getln.a getln.o getln2.o >./makelib str.a str_len.o byte_chr.o byte_diff.o \ >byte_copy.o byte_cr.o byte_zero.o >./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 >writefile.c:23:17: warning: passing arguments to 'substdio_fdbuf' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 23 | substdio_fdbuf(&ssin,read,0,inbuf,sizeof(inbuf)); > | ^ >writefile.c:24:17: warning: passing arguments to 'substdio_fdbuf' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 24 | 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 and is not supported in C23 > [-Wdeprecated-non-prototype] > 27 | dtline = env_get("DTLINE"); > | ^ >writefile.c:28:19: warning: passing arguments to 'env_get' without a prototype > is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 28 | rpline = env_get("RPLINE"); > | ^ >writefile.c:30:21: warning: passing arguments to 'substdio_puts' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 30 | if(substdio_puts(&ssout,rpline) == -1) goto fail; > | ^ >writefile.c:31:21: warning: passing arguments to 'substdio_puts' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 31 | if(substdio_puts(&ssout,dtline) == -1) goto fail; > | ^ >writefile.c:35:20: warning: passing arguments to 'substdio_copy' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 35 | if (substdio_copy(&ssout,&ssin) < 0) goto fail; > | ^ >writefile.c:36:21: warning: passing arguments to 'substdio_flush' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 36 | if (substdio_flush(&ssout) == -1) goto fail; > | ^ >writefile.c:43:3: warning: passing arguments to 'strerr_die' without a prototype > is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 43 | strerr_die2x(111,"safecat: fatal: ","unable to copy standard input"); > | ^ >./strerr.h:76:11: note: expanded from macro 'strerr_die2x' > 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... > | ^ >tempfile.c:12:20: warning: passing arguments to 'strerr_die' without a prototype > is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 12 | void die_nomem() { strerr_die2x(111,"safecat: fatal: ","out of memory"); } > | ^ >./strerr.h:76:11: note: expanded from macro 'strerr_die2x' > 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... > | ^ >tempfile.c:25:11: warning: passing arguments to 'taia_now' without a prototype > is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 25 | taia_now(&now); > | ^ >tempfile.c:26:11: warning: passing arguments to 'taia_tai' without a prototype > is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 26 | taia_tai(&now,&sec); > | ^ >tempfile.c:29:20: warning: passing arguments to 'fmt_uint64' without a prototype > is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 29 | secbuf[fmt_uint64(secbuf,(uint64) sec.x - 4611686018427387904)] = '\0'; > | ^ >tempfile.c:30:21: warning: passing arguments to 'stralloc_cats' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 30 | if (!stralloc_cats(tmpf, secbuf)) die_nomem(); > | ^ >tempfile.c:33:21: warning: passing arguments to 'stralloc_cats' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 33 | if (!stralloc_cats(tmpf, ".M")) die_nomem(); > | ^ >tempfile.c:34:15: warning: passing arguments to 'taia_fmtfrac' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 34 | 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 is not supported in C23 > [-Wdeprecated-non-prototype] > 36 | if (!stralloc_cats(tmpf, atto)) die_nomem(); > | ^ >tempfile.c:39:23: warning: passing arguments to 'stralloc_append' without a > prototype is deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 39 | if (!stralloc_append(tmpf, "P")) die_nomem(); > | ^ >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 C23 > [-Wdeprecated-non-prototype] > 40 | 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 C23 > [-Wdeprecated-non-prototype] > 41 | 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 C23 > [-Wdeprecated-non-prototype] > 44 | 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 C23 > [-Wdeprecated-non-prototype] > 46 | 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 C23 > [-Wdeprecated-non-prototype] > 47 | if (!stralloc_0(tmpf)) die_nomem(); > | ^ >./stralloc.h:19:39: note: expanded from macro 'stralloc_0' > 19 | #define stralloc_0(sa) stralloc_append(sa,"") > | ^ >9 warnings generated. >./compile strerr_sys.c >./compile substdi.c >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 C23 > [-Wdeprecated-non-prototype] > 37 | void die_nomem() { strerr_die2x(111,"safecat: fatal: ","out of memory"); } > | ^ >./strerr.h:76:11: note: expanded from macro 'strerr_die2x' > 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... > | ^ >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 C23 > [-Wdeprecated-non-prototype] > 53 | strerr_die2x(100, "safecat: usage: ","safecat <tempdir> <destdir>"); > | ^ >./strerr.h:76:11: note: expanded from macro 'strerr_die2x' > 76 | 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 C23 > [-Wdeprecated-non-prototype] > 72 | 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 C23 > [-Wdeprecated-non-prototype] > 73 | 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 C23 > [-Wdeprecated-non-prototype] > 74 | 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 C23 > [-Wdeprecated-non-prototype] > 76 | 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 C23 > [-Wdeprecated-non-prototype] > 77 | 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 C23 > [-Wdeprecated-non-prototype] > 78 | 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 C23 > [-Wdeprecated-non-prototype] > 80 | 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 C23 > [-Wdeprecated-non-prototype] > 81 | 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 C23 > [-Wdeprecated-non-prototype] > 82 | 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 C23 > [-Wdeprecated-non-prototype] > 88 | strerr_die2x(111, "safecat: fatal: ","could not stat temporary file"); > | ^ >./strerr.h:76:11: note: expanded from macro 'strerr_die2x' > 76 | 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 C23 > [-Wdeprecated-non-prototype] > 92 | 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 C23 > [-Wdeprecated-non-prototype] > 93 | 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 C23 > [-Wdeprecated-non-prototype] > 101 | strerr_die2sys(111,"safecat: fatal: ","couldn't create output file: "); > | ^ >./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' > 63 | 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 C23 > [-Wdeprecated-non-prototype] > 110 | strerr_die2sys(111,"safecat: fatal: ","can't fsync/close output file: "); > | ^ >./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' > 63 | 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 C23 > [-Wdeprecated-non-prototype] > 116 | strerr_die2sys(111,"safecat: fatal: ","can't link output file: "); > | ^ >./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' > 63 | 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 C23 > [-Wdeprecated-non-prototype] > 124 | 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 C23 > [-Wdeprecated-non-prototype] > 125 | 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 C23 > [-Wdeprecated-non-prototype] > 126 | substdio_flush(subfdoutsmall); > | ^ >./compile substdo.c >20 warnings generated. >./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 C23 > [-Wdeprecated-non-prototype] > 14 | 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 C23 > [-Wdeprecated-non-prototype] > 5 | 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 C23 > [-Wdeprecated-non-prototype] > 31 | 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 C23 > [-Wdeprecated-non-prototype] > 20 | 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 C23 > [-Wdeprecated-non-prototype] > 49 | 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 C23 > [-Wdeprecated-non-prototype] > 36 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 26 | 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 C23 > [-Wdeprecated-non-prototype] > 53 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 25 | 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 C23 > [-Wdeprecated-non-prototype] > 66 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 24 | extern int substdio_get(); > | ^ >substdi.c:79:7: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 79 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 28 | 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 C23 > [-Wdeprecated-non-prototype] > 85 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 29 | extern void substdio_seek(); > | ^ >./compile sig.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 C23 > [-Wdeprecated-non-prototype] > 15 | w = op(fd,buf,len); > | ^ >substdo.c:20:17: warning: if statement has empty body [-Wempty-body] > 20 | 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 C23 > [-Wdeprecated-non-prototype] > 6 | 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 C23 > [-Wdeprecated-non-prototype] > 27 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 16 | extern int substdio_flush(); > | ^ >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 C23 > [-Wdeprecated-non-prototype] > 46 | 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 C23 > [-Wdeprecated-non-prototype] > 50 | 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 C23 > [-Wdeprecated-non-prototype] > 38 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 18 | 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 C23 > [-Wdeprecated-non-prototype] > 75 | 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 C23 > [-Wdeprecated-non-prototype] > 55 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 17 | 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 C23 > [-Wdeprecated-non-prototype] > 80 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 19 | 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 C23 > [-Wdeprecated-non-prototype] > 89 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 21 | 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 C23 > [-Wdeprecated-non-prototype] > 96 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 20 | 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 C23 > [-Wdeprecated-non-prototype] > 103 | 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 C23, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > 22 | extern int substdio_putsflush(); > | ^ >15 warnings generated. >fmt_uint64.c:4:14: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C23 > [-Wdeprecated-non-prototype] > 4 | 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 C23, > conflicting with a subsequent definition [-Wdeprecated-non-prototype] > 7 | extern unsigned int fmt_uint64(); > | ^ >./makelib strerr.a strerr_sys.o strerr_die.o >2 warnings generated. >20 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 C23 > [-Wdeprecated-non-prototype] > 13 | strerr_die2x(111,"safecat: fatal: ","Timer has expired; giving up"); > | ^ >./strerr.h:76:11: note: expanded from macro 'strerr_die2x' > 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... > | ^ >./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 >ld.lld: error: duplicate symbol: str_len >>>> defined at str_len.c >>>> str_len.o:(str_len) in archive str.a >>>> defined at str_len.c >>>> str_len.o:(.text+0x0) > >ld.lld: error: duplicate symbol: byte_copy >>>> defined at byte_copy.c >>>> byte_copy.o:(byte_copy) in archive str.a >>>> defined at byte_copy.c >>>> byte_copy.o:(.text+0x0) >clang-18: 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:20240410-031250.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' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 929081
:
890256
|
890257
|
890258
|
890259
|
890260
| 890261 |
890262
|
890263