* Package: app-arch/arc-5.21p:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking arc-5.21p.tar.gz to /var/tmp/portage/app-arch/arc-5.21p/work >>> Source unpacked in /var/tmp/portage/app-arch/arc-5.21p/work >>> Preparing source in /var/tmp/portage/app-arch/arc-5.21p/work/arc-5.21p ... * Applying arc-5.21m-darwin.patch ... [ ok ] * Applying arc-5.21m-gentoo-fbsd.patch ... patching file tmclock.c patch unexpectedly ends in middle of line Hunk #1 succeeded at 18 with fuzz 2. [ ok ] * Applying arc-5.21o-interix.patch ... [ ok ] * Applying arc-5.21p-fno-common.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-arch/arc-5.21p/work/arc-5.21p ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-arch/arc-5.21p/work/arc-5.21p ... make -j4 CC=clang 'OPT=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arc.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcadd.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arccode.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arccvt.c arccode.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] codebuf(buf, len) /* encrypt a buffer */ ^ arc.c:118:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *envfind(); /* environment searcher */arcadd.c : ^99 :15: warning: passing arguments to 'dir'./arc.h :without28 :a17 :prototype note: isexpanded fromdeprecated macroin 'envfind'all versions of#define envfind getenv C ^ and is not supported /usr/include/stdlib.hin: 641C2x: 14 :[-Wdeprecated-non-prototype] note: conflicting prototype is here for (d = dir(arg[n]); d; d = dir(NULL)) { ^ extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; ^ arcadd.c:99:35: warning: passing arguments to 'dir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (d = dir(arg[n]); d; d = dir(NULL)) { ^ arcadd.c:127:20: warning: passing arguments to 'addbunch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nfiles = addbunch(nfiles, path, name, move, update, fresh); ^ arcadd.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addarc(num, arg, move, update, fresh) /* add files to archive */ ^ arc.c:260:7: warning: passing arguments to 'upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] upper(arg[1]); /* convert to uppercase */ ^ arc.c:274:12: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makefnam(arg[2],".arc",arcname); ^ arc.c:278:11: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makefnam(arg[2],".arc",arcname); ^ arc.c:284:10: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makefnam(".BAK", arcname, bakname); ^ arc.c:295:11: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Cannot mix %c and %c", opt, *a); ^ arc.c:339:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("%c is an unknown command", *a); ^ arc.c:343:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("I have nothing to do!"); ^ arc.c:355:13: warning: passing arguments to 'expandlst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] expandlst(n); ^ arc.c:378:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Not enough memory for input buffer."); ^ arcadd.c:170:15: warning: passing arguments to 'izadir' without a prototype is deprecated in allarc.c :versions380 :of9 :C warning: andpassing isarguments notto supported'arcdie' inwithout C2xa prototype[-Wdeprecated-non-prototype] is deprecated in all ||izadir(path[n]) /* or a directory */versions ^of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Not enough memory for output buffer."); ^ arc.c:382:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Not enough memory for packing buffer."); ^ arcadd.c:188:14: warning: passing arguments to 'izadir' without a prototype is deprecated in all versions of C and is not supported inarc.c :C2x393 : 9[-Wdeprecated-non-prototype]: warning: passing arguments to ||izadir(path[n]) 'addarc' ^ without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addarc(lnum, lst, (opt == 'M'), (opt == 'U'), (opt == 'F')); ^ arc.c:397:9: warning: passing arguments to 'delarc' without a prototype is deprecated in all versions of C and is not supported in C2x arcadd.c[-Wdeprecated-non-prototype]: 201:10: warning: delarc(lnum, lst);passing ^arguments to 'arcdie' without a prototype is deprecated in all versions of C andarc.c :is403 :not9 :supported warning: inpassing C2xarguments to[-Wdeprecated-non-prototype] 'extarc' without a prototype is deprecated in arcdie("Duplicate filenames:\n %s\n %s", path[... all ^ versions of C and is not supported in arcadd.cC2x: 203 :[-Wdeprecated-non-prototype]9 : warning: passing arguments extarc(lnum, lst, (opt == 'P'));to ^'openarc' without a prototype is deprecated in all versions of C and is not supported in C2xarc.c : 409[-Wdeprecated-non-prototype]: 9: warning: passing arguments to openarc(1); /* open archive for changes */'lstarc' ^without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lstarc(lnum, lst);arcadd.c : ^206 :14: warning: passing arguments to 'addfile'arc.c :without417 :a9 :prototype warning: ispassing argumentsdeprecated toin 'cvtarc'all withoutversions aof prototypeC isand isdeprecated notin supportedall inversions C2xof C[-Wdeprecated-non-prototype] and is not supported in C2x [-Wdeprecated-non-prototype] if (addfile(path[n], name[n], update, fresh) < 0) { ^ cvtarc(lnum, lst); ^ arc.c:421:9: warning: passing arguments to 'runarc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] runarc(lnum, lst); ^ arc.c:425:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in arcadd.cC2x: 219 :[-Wdeprecated-non-prototype]16 : warning: passing arcdie("I don't know how to do %c yet!", opt);arguments ^to 'readhdr' without a prototype is deprecated in all versions of Carc.c :and111 :is1 :not warning: supporteda infunction C2xdefinition without[-Wdeprecated-non-prototype] a prototype is deprecated in all versions of while (readhdr(&hdr, arc)) { /* while more entries to copy */ C ^ and is not supported in C2x [-Wdeprecated-non-prototype] main(num, arg) /* system entry point */ ^ arcadd.c:220:11: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(&hdr, new); ^ arcadd.c:221:11: warning: passing arguments to 'filecopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filecopy(arc, new, hdr.size); ^ arcadd.c:224:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(&hdr, new); /* write out our end marker */ ^ arcadd.c:225:10: warning: passing arguments to 'closearc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] closearc(1); /* close archive after changes */ ^ arcadd.c:230:14: warning: passing arguments to 'unlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (unlink(path[n]) && warn) { ^ arcadd.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addbunch(nfiles, path, name, move, update, fresh) /* add a bunch o... ^ arcadd.c:248:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] FILE *f, *fopen(); /* file to add, opener */ ^ arcadd.c:249:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] arc.c:437: long starts, ftell(); /* file locations */20 : ^ warning: a function declaration without a/usr/include/stdio.h :prototype718 :is17 :deprecated note: conflictingin prototypeall isversions hereof C and is treated as extern long int ftell (FILE *__stream) __wur;a ^zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] FILE *lf, *fopen(); /* list file, opener */ ^ arc.c:443:11: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makefnam(p, ".CMD", buf); ^ arc.c:445:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Cannot read list of files in %s", buf); ^ arc.c:455:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("too many file references"); ^ arcadd.c:302:10: warning: passing arguments to 'getstamp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getstamp(f, &nhdr.date, &nhdr.time); ^ arc.c:434:1: warning: a function definition without a prototype is deprecated in all versions ofarcadd.c :C322 :and17 :is warning: notpassing supportedarguments into C2x'readhdr' [-Wdeprecated-non-prototype]without a prototype is expandlst(n) /* expand an indirect reference */deprecated ^in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (readhdr(&ohdr, arc)) { /* while more files to check */ ^ arcadd.c:338:12: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(&ohdr, new); /* entry preceeds update; ^ arcadd.c:340:12: warning: passing arguments to 'filecopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filecopy(arc, new, ohdr.size); ^ arcadd.c:373:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(&nhdr, new); /* write out header skeleton */ ^ arcadd.c:377:6: warning: passing arguments to 'pack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pack(f, new, &nhdr); /* pack file into archive */ ^ arcadd.c:379:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(&nhdr, new); /* write out real header */ ^ arcadd.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addfile(path, name, update, fresh) /* add named file to archive */ ^ 1 warning generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcdata.c arccvt.c:42:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] FILE *fopen();/* file opener */ ^ arccvt.c:47:11: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makefnam("$ARCTEMP.CVT", arcname, tempname); ^ arccvt.c:52:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openarc(1); /* open archive for changes */ ^ arccvt.c:56:9: warning: passing arguments to 'rempath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rempath(num, arg); /* strip off paths */ ^ arccvt.c:59:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (readhdr(&hdr, arc)) { /* while more files to check */ ^ arccvt.c:63:14: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (match(hdr.name, arg[n])) { ^ arccvt.c:71:12: warning: passing arguments to 'cvtfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cvtfile(&hdr); /* then do it */ ^ arccvt.c:73:13: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(&hdr, new); ^ arccvt.c:74:13: warning: passing arguments to 'filecopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filecopy(arc, new, hdr.size); ^ arccvt.c:78:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (readhdr(&hdr, arc)) /* else convert all files */ ^ arccvt.c:79:11: warning: passing arguments to 'cvtfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cvtfile(&hdr); ^ arccvt.c:82:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(&hdr, new); /* write out our end marker */ ^ arccvt.c:83:10: warning: passing arguments to 'closearc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] closearc(1); /* close archive after changes */ ^ arccvt.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cvtarc(num, arg) /* convert archive */ ^ arccvt.c:99:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] long starts, ftell(); /* where the file goes */ ^ /usr/include/stdio.h:718:17: note: conflicting prototype is here extern long int ftell (FILE *__stream) __wur; ^ arccvt.c:100: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 previous declaration [-Wdeprecated-non-prototype] FILE *tmp, *fopen(); /* temporary file */ ^ arccvt.c:103:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Unable to create temporary file %s", tempname); ^ arccvt.c:109:8: warning: passing arguments to 'unpack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unpack(arc, tmp, hdr); /* unpack the entry */ ^ arccvt.c:114:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(hdr, new); /* write out header skeleton */ ^ arccvt.c:118:6: warning: passing arguments to 'pack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pack(tmp, new, hdr); /* pack file into archive */ ^ arccvt.c:120:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(hdr, new); /* write out real header */ ^ arccvt.c:123:12: warning: passing arguments to 'unlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (unlink(tempname) && warn) { ^ arccvt.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cvtfile(hdr) /* convert a file */ ^ 23 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcdel.c 25 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcdos.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcext.c arcdel.c:36:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("You must tell me which files to delete!"); ^ arcdel.c:40:9: warning: passing arguments to 'rempath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rempath(num, arg); /* strip off paths */ ^ arcdel.c:42:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openarc(1); /* open archive for changes */ ^ arcdel.c:44:16: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (readhdr(&hdr, arc)) { /* while more entries in archive */ ^ arcdel.c:47:13: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (match(hdr.name, arg[n])) { ^ arcdel.c:59:12: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(&hdr, new); /* write out header and file */ ^ arcdel.c:60:12: warning: passing arguments to 'filecopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filecopy(arc, new, hdr.size); ^ arcdel.c:65:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(&hdr, new); /* write out archive end marker */ ^ arcdel.c:66:10: warning: passing arguments to 'closearc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] closearc(1); /* close archive after changes */ ^ arcdel.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delarc(num, arg) /* remove files from archive */ ^ 10 warnings generated. 26 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcio.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arclst.c arcext.c:74:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openarc(0); /* open archive for reading */ ^ arcext.c:77:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (readhdr(&hdr, arc)) { /* while more files to check */ ^ arcext.c:81:14: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (match(hdr.name, name[n])) { ^ arcext.c:89:12: warning: passing arguments to 'extfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extfile(&hdr, arg[n], prt); ^ arcext.c:94:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (readhdr(&hdr, arc)) /* else extract all files */ ^ arcext.c:95:11: warning: passing arguments to 'extfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extfile(&hdr, "", prt); ^ arcext.c:97:10: warning: passing arguments to 'closearc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] closearc(0); /* close archive after reading */ ^ arcext.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extarc(num, arg, prt) /* extract files from archive */ ^ arcext.c:116:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] FILE *f, *fopen(); /* extracted file, opener */ ^ arcext.c:122:9: warning: passing arguments to 'unpack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unpack(arc, stdout, hdr); /* unpack file from archive */ ^ arcext.c:204:8: warning: passing arguments to 'unpack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unpack(arc, f, hdr); /* unpack file from archive */ ^ arcext.c:207:10: warning: passing arguments to 'setstamp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setstamp(fix, hdr->date, hdr->time); /* use filename for stamp */ ^ arcext.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extfile(hdr, path, prt) /* extract a file */ ^ arcdos.c:87: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 previous declaration [-Wdeprecated-non-prototype] struct tm *localtime(), *t; ^ /usr/include/time.h:136:19: note: conflicting prototype is here extern struct tm *localtime (const time_t *__timer) __THROW; ^ arcdos.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getstamp(f, date, time) /* get a file's date/time stamp */ ^ arcdos.c:185:25: warning: passing arguments to 'tmclock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tvp[0].tv_sec = tmclock(&tm); ^ arcdos.c:188:8: warning: passing arguments to 'utimes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utimes(f, tvp); ^ arcdos.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setstamp(f, date, time) /* set a file's date/time stamp */ ^ 13 warnings generated. arcdos.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] izadir(filename) /* Is filename a directory? */ ^ arclst.c:42:9: warning: passing arguments to 'rempath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rempath(num, arg); /* strip off paths */ ^ arclst.c:61:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openarc(0); /* open archive for reading */ ^ arclst.c:64:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (readhdr(&hdr, arc)) { /* process all archive files */ ^ arclst.c:68:14: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (match(hdr.name, arg[n])) { ^ arclst.c:77:13: warning: passing arguments to 'lstfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lstfile(&hdr); /* then tell about it */ ^ arclst.c:85:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (readhdr(&hdr, arc)) { /* else report on all files */ ^ arclst.c:87:12: warning: passing arguments to 'lstfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lstfile(&hdr); ^ arclst.c:94:10: warning: passing arguments to 'closearc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] closearc(0); /* close archive after reading */ ^ arclst.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lstarc(num, arg) /* list files in archive */ ^ arclst.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lstfile(hdr) /* tell about a file */ ^ clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arclzw.c arcio.c:68:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("%s is not an archive", arcname); ^ arcio.c:71:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("%s is corrupted -- changes disallowed", ... ^ arcio.c:81:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Invalid header in archive %s", arcname); ^ arcio.c:86:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("%s was truncated", arcname); ^ arcio.c:99:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("%s was truncated", arcname); ^ arcio.c:109:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("%s was truncated", arcname); ^ arcio.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readhdr(hdr, f) /* read a header from an archive */ ^ arcio.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_int(number, f) /* write a 2 byte integer */ ^ arcio.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_long(number, f) /* write a 4 byte integer */ ^ arcio.c:167:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("%s out of space", arcname); ^ arcio.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(hdr, f) /* write a header to an archive */ ^ arcio.c:261:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Write fail (no space?)"); ^ arcio.c:266:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Unexpected EOF copying archive"); ^ arcio.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filecopy(f, t, size) /* bulk file copier */ ^ 6 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcmatch.c 10 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcpack.c 14 warnings generated. arcmatch.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] match(n, t) /* test name against template */ ^ arclzw.c:175:10: warning: passing arguments to 'putcode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putcode(CLEAR, t); ^ arclzw.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_block(t) /* table clear for block compress */ ^ arcmatch.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rempath(nargs, arg) /* remove paths from filenames */ ^ arclzw.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putcode(code, t) /* output a code */ ^ arclzw.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getcode(f) /* get a code */ ^ arclzw.c:357:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Not enough memory for crunch table."); ^ arclzw.c:359:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Not enough memory for crunch code table."); ^ arclzw.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_cm(buf) /* initialize for compression */ ^ arclzw.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lzw_buf(buf, len, t) /* compress a character */ ^ arclzw.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pred_cm(t) /* report compressed size */ ^ arclzw.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flsh_cm(t) /* flush compressed file */ ^ arclzw.c:520:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("File packed with %d bits, I can only handle %d", ^ arclzw.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] decomp(squash, f, t) /* decompress a file */ ^ arclzw.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] oldh(pred, foll) /* old hash function */ ^ arclzw.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newh(pred, foll) /* new hash function */ ^ arclzw.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eolist(index) /* find last duplicate */ ^ arclzw.c:687:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local = (*h) (pred, foll); /* get initial hash value */ ^ arclzw.c:680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hash(pred, foll) /* find spot in the string table */ ^ arclzw.c:736:10: warning: passing arguments to 'upd_tab' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] upd_tab(NO_PRED, i); ^ arclzw.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] upd_tab(pred, foll) /* add an entry to the table */ ^ arclzw.c:137:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID upd_tab(); ^ clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcrun.c arclzw.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_ucr(new, f) /* get set for uncrunching */ ^ arclzw.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getb_ucr(f) /* get next uncrunched byte */ ^ arclzw.c:834:4: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUSH(finchar); ^ arclzw.c:775:9: note: expanded from macro 'PUSH' arcdie("Stack overflow\n"); \ ^ arclzw.c:837:4: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUSH(ep->follower); /* decode string backwards */ ^ arclzw.c:775:9: note: expanded from macro 'PUSH' arcdie("Stack overflow\n"); \ ^ arclzw.c:842:3: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUSH(finchar = ep->follower); /* save first character also */ ^ arclzw.c:775:9: note: expanded from macro 'PUSH' arcdie("Stack overflow\n"); \ ^ arclzw.c:856:14: warning: implicit conversion from 'int' to 'u_char' (aka 'unsigned char') changes value from 65535 to 255 [-Wconstant-conversion] *outbeg++ = POP(); ~ ^~~~~ arclzw.c:779:47: note: expanded from macro 'POP' #define POP() ((sp > 0) ? (int) stack[--sp] : EMPTY) ^~~~~ arclzw.c:56:18: note: expanded from macro 'EMPTY' #define EMPTY 0xFFFF ^~~~~~ arcpack.c:30:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int crcbuf(); ^ ./proto.h:12:6: note: conflicting prototype is here int crcbuf PROTO ((int, u_int, u_char *)); ^ arcpack.c:64:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] long tloc, ftell(); /* start of output */ ^ /usr/include/stdio.h:718:17: note: conflicting prototype is here extern long int ftell (FILE *__stream) __wur; ^ arcpack.c:86:11: warning: passing arguments to 'init_cm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_cm(pinbuf); ^ arcpack.c:89:23: warning: passing arguments to 'ncr_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pakbytes = ncr_buf(inbytes); ^ arcpack.c:99:20: warning: passing arguments to 'pred_cm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lzwlen = pred_cm(t); ^ arcpack.c:150:23: warning: passing arguments to 'ncr_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pakbytes = ncr_buf(inbytes); ^ arcpack.c:166:23: warning: passing arguments to 'ncr_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pakbytes = ncr_buf(inbytes); ^ arcpack.c:167:22: warning: passing arguments to 'huf_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] huflen += huf_buf(pakbuf, pakbytes, inbytes, t); ^ arcpack.c:170:21: warning: passing arguments to 'huf_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] huflen += huf_buf(pakbuf, pakbytes, 0, t); ^ arcpack.c:176:10: warning: passing arguments to 'flsh_cm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flsh_cm(t); ^ arcpack.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pack(f, t, hdr) /* pack file into an archive */ ^ 2 warnings generated. arcpack.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ncr_buf(inbytes) ^ arcpack.c:31:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] u_int ncr_buf(); ^ arcpack.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getbuf(f) ^ arcpack.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putb_pak(buf, len, f) ^ arcpack.c:296:11: warning: passing arguments to 'codebuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] codebuf(buf, len); ^ arcpack.c:299:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Write failed"); ^ clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcsq.c arcsq.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hufb_tab(buf, len) /* add a byte to the tables */ ^ arcsq.c:131:8: warning: passing arguments to 'scale' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scale(ceiling); ^ arcsq.c:151:7: warning: passing arguments to 'heap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] heap(btlist, listlen); ^ arcsq.c:155:11: warning: passing arguments to 'bld_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bld_tree(btlist, listlen); ^ arcsq.c:165:19: warning: passing arguments to 'buildenc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } while (buildenc(0, dctreehd) == ERROR); ^ arcsq.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scale(ceil) ^ arcsq.c:248:9: warning: passing arguments to 'adjust' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjust(list, i, length - 1); ^ arcsq.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] heap(list, length) ^ arcsq.c:263:29: warning: passing arguments to 'cmptrees' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (k < bottom && cmptrees(list[k], list[k + 1])) ^ arcsq.c:269:15: warning: passing arguments to 'cmptrees' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cmptrees(temp, list[k])) { ^ arcsq.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjust(list, top, bottom) ^ arcsq.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmptrees(a, b) ^ arcsq.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bld_tree(list, len) ^ arcsq.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buildenc(level, root) ^ arcsq.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] huf_buf(pbuf, plen, len, ob) ^ arcrun.c:42:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] FILE *fopen();/* file opener */ ^ arcrun.c:47:9: warning: passing arguments to 'rempath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rempath(num, arg); /* strip off paths */ ^ arcrun.c:49:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openarc(0); /* open archive for reading */ ^ arcrun.c:52:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (readhdr(&hdr, arc)) { /* while more files to check */ ^ arcrun.c:53:32: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (match(hdr.name, makefnam(arg[0], ".*", buf))) ^ arcrun.c:53:13: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (match(hdr.name, makefnam(arg[0], ".*", buf))) ^ arcrun.c:54:12: warning: passing arguments to 'runfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] runfile(&hdr, num, arg); ^ arcrun.c:59:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (readhdr(&hdr, arc)) /* else run all files */ ^ arcrun.c:60:11: warning: passing arguments to 'runfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] runfile(&hdr, 1, dummy); ^ arcrun.c:62:10: warning: passing arguments to 'closearc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] closearc(0); /* close archive after changes */ ^ arcrun.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] runarc(num, arg) /* run file from archive */ ^ arcrun.c:71: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 previous declaration [-Wdeprecated-non-prototype] FILE *tmp, *fopen(); /* temporary file */ ^ arcrun.c:127:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Temporary file %s already exists", buf); ^ arcrun.c:128:21: warning: passing arguments to 'tmpopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(tmp = tmpopen(buf))) ^ arcrun.c:129:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Unable to create temporary file %s", buf); ^ arcrun.c:134:8: warning: passing arguments to 'unpack' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unpack(arc, tmp, hdr); /* unpack the entry */ ^ arcrun.c:147:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Execution failed for %s", buf); ^ arcrun.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] runfile(hdr, num, arg) /* run a file */ ^ 18 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcsvc.c 17 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arctst.c arcsvc.c:37:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] FILE *fopen();/* file opener */ ^ arcsvc.c:45:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Archive not found: %s", arcname); ^ arcsvc.c:61:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Cannot create archive copy: %s", newname); ^ arcsvc.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openarc(chg) /* open archive */ ^ arcsvc.c:75:12: warning: passing arguments to 'setstamp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setstamp(arcname, olddate, oldtime); ^ arcsvc.c:97:11: warning: passing arguments to 'unlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unlink(bakname); /* erase any ol... ^ arcsvc.c:99:12: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Cannot rename %s to %s"... ^ arcsvc.c:101:21: warning: passing arguments to 'unlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (unlink(arcname)) ^ arcsvc.c:102:11: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Cannot delete old archive: %s", ... ^ arcsvc.c:105:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Cannot move %s to %s", newname, arcname); ^ arcsvc.c:107:11: warning: passing arguments to 'setstamp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setstamp(arcname, arcdate, arctime); ^ arcsvc.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] closearc(chg) /* close an archive */ ^ arcsvc.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] crcbuf(crc, len, buf) ^ 26 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcunp.c 13 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcusq.c arctst.c:28:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] long arcsize, ftell(); /* archive size */ ^ /usr/include/stdio.h:718:17: note: conflicting prototype is here extern long int ftell (FILE *__stream) __wur; ^ arctst.c:30:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcunp.c:83:11: warning: passing arguments to 'init_usq' without a prototype is openarc(0); /* open archive for reading */ deprecated ^ in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_usq(f); ^ arctst.c:35:16: warning: passing arguments to 'readhdr' without a prototype is deprecated in allarcunp.c :versions91 :11:of warning: Cpassing andarguments isto not'init_ucr' supportedwithout ina C2xprototype is [-Wdeprecated-non-prototype] deprecated in all while (readhdr(&hdr, arc)) { versions ^ of C and is not supported in C2x [-Wdeprecated-non-prototype] init_ucr(0, f); ^ arcunp.c:99:11: warning: passing arguments to 'init_ucr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_ucr(0, f); ^ arctst.c:43:14: warning: passing arguments to 'unpack' without arcunp.ca: 107prototype: 11is: warning: deprecatedpassing inarguments allto 'init_ucr'versions withoutof aC prototypeand isis notdeprecated supportedin inall C2xversions of[-Wdeprecated-non-prototype] C and is if (unpack(arc, NULL, &hdr))not ^supported in C2x [-Wdeprecated-non-prototype] init_ucr(1, f); ^ arcunp.c:115:9: warning: passing arguments to 'decomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] decomp(0, f, t); ^ arcunp.c:119:9: warning: passing arguments to 'decomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] decomp(1, f, t); ^ arcunp.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unpack(f, t, hdr) /* unpack an archive entry */ ^ arcunp.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putb_unp(buf, len, t) ^ arcunp.c:185:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Write fail"); ^ arcunp.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putb_ncr(buf, len, t) /* put NCR coded bytes */ ^ arcunp.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getb_unp(f) ^ arcunp.c:248:11: warning: passing arguments to 'codebuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] codebuf(pinbuf, len); ^ 15 warnings generated. 4 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c arcmisc.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c tmclock.c arcusq.c:70:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("File has an invalid decode tree"); ^ arcusq.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_usq(f) /* initialize Huffman unsqueezing */ ^ arcusq.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getb_usq(f) /* get byte from squeezed file */ ^ 12 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV=1 -c marc.c tmclock.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmjuliandate( tm ) ^ tmclock.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmsubdayclock( tm ) ^ tmclock.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmclock( tm ) ^ 3 warnings generated. arcmisc.c:69:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int rename(), unlink(); ^ /usr/include/stdio.h:154:12: note: conflicting prototype is here extern int rename (const char *__old, const char *__new) __THROW; ^ arcmisc.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpopen(path) ^ arcmisc.c:111:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] FILE *fopen(), *old, *new; ^ arcmisc.c:131:11: warning: passing arguments to 'filecopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filecopy(old, new, oldstat.st_size); ^ arcmisc.c:132:16: warning: passing arguments to 'unlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(unlink(oldnam)); ^ arcmisc.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move(oldnam, newnam) ^ arcmisc.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _makefn(source, dest) ^ arcmisc.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makefnam(rawfn, template, result) ^ arcmisc.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] upper(string) ^ arcmisc.c:226:23: error: parameter 'arg3' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] arcdie(s, arg1, arg2, arg3) ^ arcmisc.c:226:17: error: parameter 'arg2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] arcdie(s, arg1, arg2, arg3) ^ arcmisc.c:226:11: error: parameter 'arg1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] arcdie(s, arg1, arg2, arg3) ^ arcmisc.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie(s, arg1, arg2, arg3) ^ arcmisc.c:257:8: warning: passing arguments to 'getcwd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getcwd(dirname, 1024); ^ arcmisc.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gcdir(dirname) ^ arcmisc.c:312:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int alphasort(); ^ /usr/include/dirent.h:325:12: note: conflicting prototype is here extern int alphasort (const struct dirent **__e1, ^ arcmisc.c:313:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int scandir(); ^ /usr/include/dirent.h:255:12: note: conflicting prototype is here extern int scandir (const char *__restrict __dir, ^ arcmisc.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dir(filename) /* get files, one by one */ ^ arcmisc.c:364:15: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (match(string, pattern)); ^ arcmisc.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fmatch(direntry) ^ 17 warnings and 3 errors generated. 3 warnings generated. make: *** [Makefile:109: arcmisc.o] Error 1 make: *** Waiting for unfinished jobs.... marc.c:58:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *envfind(); ^ ./arc.h:28:17: note: expanded from macro 'envfind' #define envfind getenv ^ /usr/include/stdlib.h:641:14: note: conflicting prototype is here extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; ^ marc.c:158:11: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makefnam(arg[1],".arc",arcname); ^ marc.c:162:11: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makefnam(arg[2],".arc",srcname); ^ marc.c:172:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Cannot read source archive %s",srcname); ^ marc.c:174:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Cannot create new archive %s",newname); ^ marc.c:194:15: warning: passing arguments to 'expandlst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] expandlst(n); ^ marc.c:199:8: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Not enough memory for input buffer."); ^ marc.c:201:10: warning: passing arguments to 'merge' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] merge(lnum,lst); /* merge desired files */ ^ marc.c:209:14: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Unable to delete old copy of %s",arcname); ^ marc.c:211:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Unable to rename %s to %s",newname,arcname); ^ marc.c:213:13: warning: passing arguments to 'setstamp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setstamp(arcname,arcdate,arctime); /* new arc matches newest file */ ^ marc.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(nargs,arg) /* system entry point */ ^ marc.c:232:20: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotsrc = gethdr(src,&srch); /* get first source file */ ^ marc.c:233:20: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotarc = gethdr(arc,&arch); /* get first target file */ ^ marc.c:237:16: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { copyfile(arc,&arch,gotarc); ^ marc.c:238:23: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotarc = gethdr(arc,&arch); ^ marc.c:244:21: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if(match(srch.name,arg[n])) ^ marc.c:251:14: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyfile(src,&srch,gotsrc); ^ marc.c:254:23: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotsrc = gethdr(src,&srch); ^ marc.c:262:17: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if(match(srch.name,arg[n])) ^ marc.c:271:14: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyfile(src,&srch,gotsrc); ^ marc.c:272:21: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotsrc = gethdr(src,&srch); ^ marc.c:275:19: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotarc = gethdr(arc,&arch); ^ marc.c:279:21: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { copyfile(arc,&arch,gotarc); ^ marc.c:280:21: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotarc = gethdr(arc,&arch); ^ marc.c:283:19: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotsrc = gethdr(src,&srch); ^ marc.c:290:13: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(&arch,new); /* mark the end of the archive */ ^ marc.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] merge(nargs,arg) /* merge two archives */ ^ marc.c:305:15: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(readhdr(hdr,f)) /* use normal reading logic */ ^ marc.c:293: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 gethdr(f,hdr) /* special read header for merge */ ^ marc.c:41:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int gethdr(), match(), readhdr(); ^ marc.c:317:13: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writehdr(hdr,new); /* write out the header */ ^ marc.c:318:13: warning: passing arguments to 'filecopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filecopy(f,new,hdr->size); /* copy over the data */ ^ marc.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyfile(f,hdr,ver) /* copy a file from an archive */ ^ marc.c:325:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] FILE *lf, *fopen(); /* list file, opener */ ^ marc.c:332:16: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { makefnam(p,".CMD",buf); ^ marc.c:335:14: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("Cannot read list of files in %s",buf); ^ marc.c:345:14: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arcdie("too many file references"); ^ marc.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] expandlst(n) /* expand an indirect reference */ ^ 39 warnings generated. * ERROR: app-arch/arc-5.21p::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-arch/arc-5.21p::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-arch/arc-5.21p::gentoo'`. * The complete build log is located at '/var/log/portage/app-arch:arc-5.21p:20220916-184710.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-arch/arc-5.21p/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-arch/arc-5.21p/temp/environment'. * Working directory: '/var/tmp/portage/app-arch/arc-5.21p/work/arc-5.21p' * S: '/var/tmp/portage/app-arch/arc-5.21p/work/arc-5.21p'