* Package: games-simulation/micropolis-1.0_p20180313:0 * Repository: gentoo * Maintainer: hanno@gentoo.org games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755.tar.bz2 to /var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work >>> Source unpacked in /var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work >>> Preparing source in /var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work/micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755 ... >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook (2022-11-24T21:47)! * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work/micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work/micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755 ... make -j4 -C src 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' CC=clang make: Entering directory '/var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work/micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755/src' cd tcl ; make all make[1]: Entering directory '/var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work/micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755/src/tcl' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o regexp.o regexp.c In file included from regexp.c:29: ./tclint.h:73: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] extern double strtod(); ^ regexp.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regcomp(exp) ^ regexp.c:215:6: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(MAGIC); ^ regexp.c:216:9: warning: passing arguments to 'reg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (reg(0, &flags) == NULL) ^ regexp.c:232:6: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(MAGIC); ^ regexp.c:233:9: warning: passing arguments to 'reg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (reg(0, &flags) == NULL) ^ regexp.c:242:16: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (OP(regnext(scan)) == END) { /* Only one top-level choice. */ ^ regexp.c:262:39: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (; scan != NULL; scan = regnext(scan)) ^ regexp.c:303:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(OPEN+parno); ^ regexp.c:308:16: warning: passing arguments to 'regbranch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] br = regbranch(&flags); ^ regexp.c:312:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, br); /* OPEN -> first. */ ^ regexp.c:320:17: warning: passing arguments to 'regbranch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] br = regbranch(&flags); ^ regexp.c:323:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, br); /* BRANCH -> BRANCH. */ ^ regexp.c:330:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ender = regnode((paren) ? CLOSE+parno : END); ^ regexp.c:331:9: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, ender); ^ regexp.c:334:41: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (br = ret; br != NULL; br = regnext(br)) ^ regexp.c:335:12: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(br, ender); ^ regexp.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reg(paren, flagp) ^ regexp.c:367:15: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(BRANCH); ^ regexp.c:370:20: warning: passing arguments to 'regpiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] latest = regpiece(&flags); ^ regexp.c:377:11: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(chain, latest); ^ regexp.c:381:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) regnode(NOTHING); ^ regexp.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regbranch(flagp) ^ regexp.c:404:15: warning: passing arguments to 'regatom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regatom(&flags); ^ regexp.c:419:12: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(STAR, ret); ^ regexp.c:422:12: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(BRANCH, ret); /* Either x */ ^ regexp.c:423:25: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, regnode(BACK)); /* and loop */ ^ regexp.c:423:12: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, regnode(BACK)); /* and loop */ ^ regexp.c:424:12: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, ret); /* back */ ^ regexp.c:425:23: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:425:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:426:23: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:426:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:428:12: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(PLUS, ret); ^ regexp.c:431:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = regnode(BRANCH); /* Either */ ^ regexp.c:432:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, next); ^ regexp.c:433:18: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(regnode(BACK), ret); /* loop back */ ^ regexp.c:433:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(regnode(BACK), ret); /* loop back */ ^ regexp.c:434:24: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(next, regnode(BRANCH)); /* or */ ^ regexp.c:434:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(next, regnode(BRANCH)); /* or */ ^ regexp.c:435:23: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:435:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:438:12: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(BRANCH, ret); /* Either x */ ^ regexp.c:439:23: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:439:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:440:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = regnode(NOTHING); /* null. */ ^ regexp.c:441:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, next); ^ regexp.c:442:12: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, next); ^ regexp.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regpiece(flagp) ^ regexp.c:470:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(BOL); ^ regexp.c:473:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(EOL); ^ regexp.c:476:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(ANY); ^ regexp.c:484:18: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(ANYBUT); ^ regexp.c:487:18: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(ANYOF); ^ regexp.c:489:9: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:494:11: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('-'); ^ regexp.c:501:12: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(clss); ^ regexp.c:505:10: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:507:8: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('\0'); ^ regexp.c:535:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(EXACTLY); ^ regexp.c:536:7: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:537:7: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('\0'); ^ regexp.c:554:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(EXACTLY); ^ regexp.c:556:9: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:559:8: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('\0'); ^ regexp.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regatom(flagp) ^ regexp.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regnode(op) ^ regexp.c:596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(b) ^ regexp.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(op, opnd) ^ regexp.c:654:17: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp = regnext(scan); ^ regexp.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(p, val) ^ regexp.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(p, val) ^ regexp.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regexec(prog, string) ^ regexp.c:749:16: warning: passing arguments to 'regtry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(regtry(prog, string)); ^ regexp.c:756:14: warning: passing arguments to 'regtry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regtry(prog, s)) ^ regexp.c:763:14: warning: passing arguments to 'regtry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regtry(prog, s)) ^ regexp.c:793:14: warning: passing arguments to 'regmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regmatch(prog->program + 1)) { ^ regexp.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtry(prog, string) ^ regexp.c:831:17: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = regnext(scan); ^ regexp.c:944:21: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan = regnext(scan); ^ regexp.c:968:19: warning: passing arguments to 'regrepeat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] no = regrepeat(OPERAND(scan)); ^ regexp.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regmatch(prog) ^ regexp.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regrepeat(p) ^ regexp.c:1054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regnext(p) ^ 84 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclassem.o tclassem.c In file included from tclassem.c:22: ./tclint.h:73: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] extern double strtod(); ^ tclassem.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] Tcl_DeleteCmdBuf(buffer) ^ tclassem.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AssembleCmd(buffer, string) ^ 3 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclbasic.o tclbasic.c In file included from tclbasic.c:22: ./tclint.h:73: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] extern double strtod(); ^ tclbasic.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteInterp(interp) ^ tclbasic.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CreateCommand(interp, cmdName, proc, clientData, deleteProc) ^ tclbasic.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteCommand(interp, cmdName) ^ tclbasic.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Eval(interp, cmd, flags, termPtr) ^ tclbasic.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CreateTrace(interp, level, proc, clientData) ^ tclbasic.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteTrace(interp, trace) ^ tclbasic.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AddErrorInfo(interp, message) ^ tclbasic.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GlobalEval(interp, command) ^ 9 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclckall.o tclckall.c In file included from tclckall.c:19: ./tclint.h:73: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] extern double strtod(); ^ tclckall.c:496:22: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("unable to alloc %d bytes", size); ^ tclckall.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Ckalloc (size) ^ tclckall.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Ckfree (ptr) ^ tclckall.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_InitMemory(interp) ^ 5 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclcmdah.o tclcmdah.c In file included from tclcmdah.c:22: ./tclint.h:73: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] extern double strtod(); ^ tclcmdah.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_BreakCmd(dummy, interp, argc, argv) ^ tclcmdah.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CaseCmd(dummy, interp, argc, argv) ^ tclcmdah.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CatchCmd(dummy, interp, argc, argv) ^ tclcmdah.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ConcatCmd(dummy, interp, argc, argv) ^ tclcmdah.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ContinueCmd(dummy, interp, argc, argv) ^ tclcmdah.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ErrorCmd(dummy, interp, argc, argv) ^ tclcmdah.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_EvalCmd(dummy, interp, argc, argv) ^ tclcmdah.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ExprCmd(dummy, interp, argc, argv) ^ tclcmdah.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ForCmd(dummy, interp, argc, argv) ^ tclcmdah.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ForeachCmd(dummy, interp, argc, argv) ^ tclcmdah.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_FormatCmd(dummy, interp, argc, argv) ^ tclcmdah.c:889:20: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] int tmp = (int)oneWordValue; ^~~~~~~~~~~~~~~~~ 13 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclcmdil.o tclcmdil.c In file included from tclcmdil.c:23: ./tclint.h:73: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] extern double strtod(); ^ tclcmdil.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_IfCmd(dummy, interp, argc, argv) ^ tclcmdil.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_IncrCmd(dummy, interp, argc, argv) ^ tclcmdil.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_InfoCmd(dummy, interp, argc, argv) ^ tclcmdil.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_JoinCmd(dummy, interp, argc, argv) ^ tclcmdil.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_LindexCmd(dummy, interp, argc, argv) ^ tclcmdil.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_LinsertCmd(dummy, interp, argc, argv) ^ tclcmdil.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ListCmd(dummy, interp, argc, argv) ^ tclcmdil.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_LlengthCmd(dummy, interp, argc, argv) ^ tclcmdil.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_LrangeCmd(notUsed, interp, argc, argv) ^ tclcmdil.c:945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_LreplaceCmd(notUsed, interp, argc, argv) ^ tclcmdil.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_LsearchCmd(notUsed, interp, argc, argv) ^ tclcmdil.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_LsortCmd(notUsed, interp, argc, argv) ^ tclcmdil.c:1145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SortCompareProc(first, second) ^ tclcmdil.c:1145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 15 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclcmdmz.o tclcmdmz.c In file included from tclcmdmz.c:23: ./tclint.h:73: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] extern double strtod(); ^ tclcmdmz.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_RegexpCmd(dummy, interp, argc, argv) ^ tclcmdmz.c:165:26: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(info, "%d %d", regexpPtr->startp[i] - string, ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld tclcmdmz.c:166:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] regexpPtr->endp[i] - string - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclcmdmz.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_RegsubCmd(dummy, interp, argc, argv) ^ tclcmdmz.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_RenameCmd(dummy, interp, argc, argv) ^ tclcmdmz.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ReturnCmd(dummy, interp, argc, argv) ^ tclcmdmz.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ScanCmd(dummy, interp, argc, argv) ^ tclcmdmz.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SplitCmd(dummy, interp, argc, argv) ^ tclcmdmz.c:841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_StringCmd(dummy, interp, argc, argv) ^ tclcmdmz.c:932:32: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(interp->result, "%d", strlen(argv[2])); ~~ ^~~~~~~~~~~~~~~ %lu tclcmdmz.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_TraceCmd(dummy, interp, argc, argv) ^ tclcmdmz.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TraceVarProc(clientData, interp, name1, name2, flags) ^ tclcmdmz.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclcmdmz.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_WhileCmd(dummy, interp, argc, argv) ^ 15 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclexpr.o tclexpr.c In file included from tclexpr.c:24: ./tclint.h:73: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] extern double strtod(); ^ tclexpr.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExprParseString(interp, string, valuePtr) ^ tclexpr.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclexpr.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExprLex(interp, infoPtr, valuePtr) ^ tclexpr.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclexpr.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExprGetValue(interp, infoPtr, prec, valuePtr) ^ tclexpr.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclexpr.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExprMakeString(valuePtr) ^ tclexpr.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclexpr.c:1156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExprTopLevel(interp, string, valuePtr) ^ tclexpr.c:1156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclexpr.c:1208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ExprLong(interp, string, ptr) ^ tclexpr.c:1235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ExprDouble(interp, string, ptr) ^ tclexpr.c:1262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ExprBoolean(interp, string, ptr) ^ tclexpr.c:1308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ExprString(interp, string) ^ 15 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclget.o tclget.c In file included from tclget.c:22: ./tclint.h:73: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] extern double strtod(); ^ tclget.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetInt(interp, string, intPtr) ^ tclget.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetDouble(interp, string, doublePtr) ^ tclget.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetBoolean(interp, string, boolPtr) ^ 4 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclhash.o tclhash.c In file included from tclhash.c:21: ./tclint.h:73: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] extern double strtod(); ^ tclhash.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_InitHashTable(tablePtr, keyType) ^ tclhash.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteHashEntry(entryPtr) ^ tclhash.c:148:8: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("malformed bucket chain in Tcl_DeleteHashEntry"); ^ tclhash.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteHashTable(tablePtr) ^ tclhash.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] Tcl_FirstHashEntry(tablePtr, searchPtr) ^ tclhash.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_NextHashEntry(searchPtr) ^ tclhash.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_HashStats(tablePtr) ^ tclhash.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HashString(string) ^ tclhash.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhash.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringFind(tablePtr, key) ^ tclhash.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhash.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] StringCreate(tablePtr, key, newPtr) ^ tclhash.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] tclhash.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OneWordFind(tablePtr, key) ^ tclhash.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhash.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OneWordCreate(tablePtr, key, newPtr) ^ tclhash.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhash.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArrayFind(tablePtr, key) ^ tclhash.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhash.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArrayCreate(tablePtr, key, newPtr) ^ tclhash.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhash.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] BogusFind(tablePtr, key) ^ tclhash.c:814:10: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("called Tcl_FindHashEntry on deleted table"); ^ tclhash.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] BogusFind(tablePtr, key) ^ tclhash.c:838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BogusCreate(tablePtr, key, newPtr) ^ tclhash.c:845:10: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("called Tcl_CreateHashEntry on deleted table"); ^ tclhash.c:838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BogusCreate(tablePtr, key, newPtr) ^ tclhash.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RebuildTable(tablePtr) ^ tclhash.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 30 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclhist.o tclhist.c In file included from tclhist.c:23: ./tclint.h:73: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] extern double strtod(); ^ tclhist.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_InitHistory(interp) ^ tclhist.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_RecordAndEval(interp, cmd, flags) ^ tclhist.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_HistoryCmd(dummy, interp, argc, argv) ^ tclhist.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeSpace(hPtr, size) ^ tclhist.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhist.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertRev(iPtr, revPtr) ^ tclhist.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhist.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RevCommand(iPtr, string) ^ tclhist.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhist.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RevResult(iPtr, string) ^ tclhist.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhist.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoRevs(iPtr) ^ tclhist.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhist.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetEvent(iPtr, string) ^ tclhist.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhist.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SubsAndEval(iPtr, cmd, old, new) ^ tclhist.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclhist.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetWords(iPtr, command, words) ^ tclhist.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 20 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclparse.o tclparse.c In file included from tclparse.c:22: ./tclint.h:73: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] extern double strtod(); ^ tclparse.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Backslash(src, readPtr) ^ tclparse.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclParseQuotes(interp, string, termChar, flags, termPtr, pvPtr) ^ tclparse.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclParseNestedCmd(interp, string, flags, termPtr, pvPtr) ^ tclparse.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclParseBraces(interp, string, termPtr, pvPtr) ^ tclparse.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclParseWords(interp, string, flags, maxWords, termPtr, argcPtr, argv, pvPtr) ^ tclparse.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpandParseValue(pvPtr, needed) ^ tclparse.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclWordEnd(start, nested) ^ tclparse.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QuoteEnd(string, term) ^ tclparse.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclparse.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VarNameEnd(string) ^ tclparse.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclparse.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ParseVar(interp, string, termPtr) ^ tclparse.c:1146:52: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] sprintf(msg, "\n (parsing index for array \"%.*s\")", ~~^~ 14 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclproc.o tclproc.c In file included from tclproc.c:21: ./tclint.h:73: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] extern double strtod(); ^ tclproc.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ProcCmd(dummy, interp, argc, argv) ^ tclproc.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclGetFrame(interp, string, framePtrPtr) ^ tclproc.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_UplevelCmd(dummy, interp, argc, argv) ^ tclproc.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclFindProc(iPtr, procName) ^ tclproc.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclIsProc(cmdPtr) ^ tclproc.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InterpProc(clientData, interp, argc, argv) ^ tclproc.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclproc.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcDeleteProc(clientData) ^ tclproc.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 10 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclutil.o tclutil.c In file included from tclutil.c:21: ./tclint.h:73: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] extern double strtod(); ^ tclutil.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] TclFindElement(interp, list, elementPtr, nextPtr, sizePtr, bracePtr) ^ tclutil.c:179:48: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] ..."list element in braces followed by \"%.*s\" instead of space", ~~^~ tclutil.c:236:48: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] "list element in quotes followed by \"%.*s\" %s", ~~^~ tclutil.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclCopyAndCollapse(count, src, dst) ^ tclutil.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SplitList(interp, list, argcPtr, argvPtr) ^ tclutil.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ScanElement(string, flagPtr) ^ tclutil.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ConvertElement(src, dst, flags) ^ tclutil.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Merge(argc, argv) ^ tclutil.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Concat(argc, argv) ^ tclutil.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_StringMatch(string, pattern) ^ tclutil.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetResult(interp, string, freeProc) ^ tclutil.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AppendElement(interp, string, noSep) ^ tclutil.c:1131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupAppendBuffer(iPtr, newSpace) ^ tclutil.c:1131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclutil.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ResetResult(interp) ^ tclutil.c:1286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclGetListIndex(interp, string, indexPtr) ^ tclutil.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclCompileRegexp(interp, string) ^ tclutil.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror(string) ^ 19 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclvar.o tclvar.c In file included from tclvar.c:25: ./tclint.h:73: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] extern double strtod(); ^ tclvar.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetVar(interp, varName, flags) ^ tclvar.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetVar2(interp, name1, name2, flags) ^ tclvar.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetVar(interp, varName, newValue, flags) ^ tclvar.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetVar2(interp, name1, name2, newValue, flags) ^ tclvar.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_UnsetVar(interp, varName, flags) ^ tclvar.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_UnsetVar2(interp, name1, name2, flags) ^ tclvar.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_TraceVar(interp, varName, flags, proc, clientData) ^ tclvar.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_TraceVar2(interp, name1, name2, flags, proc, clientData) ^ tclvar.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_UntraceVar(interp, varName, flags, proc, clientData) ^ tclvar.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_UntraceVar2(interp, name1, name2, flags, proc, clientData) ^ tclvar.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_VarTraceInfo(interp, varName, flags, proc, prevClientData) ^ tclvar.c:1161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_VarTraceInfo2(interp, name1, name2, flags, proc, prevClientData) ^ tclvar.c:1249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetCmd(dummy, interp, argc, argv) ^ tclvar.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_UnsetCmd(dummy, interp, argc, argv) ^ tclvar.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AppendCmd(dummy, interp, argc, argv) ^ tclvar.c:1385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_LappendCmd(dummy, interp, argc, argv) ^ tclvar.c:1431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ArrayCmd(dummy, interp, argc, argv) ^ tclvar.c:1657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GlobalCmd(dummy, interp, argc, argv) ^ tclvar.c:1726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_UpvarCmd(dummy, interp, argc, argv) ^ tclvar.c:1831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclDeleteVars(iPtr, tablePtr) ^ tclvar.c:1926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CallTraces(iPtr, arrayPtr, hPtr, name1, name2, flags) ^ tclvar.c:1926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclvar.c:2050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewVar(space) ^ tclvar.c:2050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclvar.c:2093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseSearchId(interp, varPtr, varName, string) ^ tclvar.c:2093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclvar.c:2161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteSearches(arrayVarPtr) ^ tclvar.c:2161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclvar.c:2196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteArray(iPtr, arrayName, varPtr, flags) ^ tclvar.c:2224:11: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("DeleteArray found searches on array alement!"); ^ tclvar.c:2196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteArray(iPtr, arrayName, varPtr, flags) ^ tclvar.c:2252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VarErrMsg(interp, name1, name2, operation, reason) ^ tclvar.c:2252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 34 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o panic.o panic.c panic.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic(format, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ^ 1 warning generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclenv.o tclenv.c In file included from tclenv.c:21: ./tclint.h:73: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] extern double strtod(); ^ tclenv.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] TclSetupEnv(interp) ^ tclenv.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindVariable(name, lengthPtr) ^ tclenv.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclenv.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] setenv_tcl(name, value) ^ tclenv.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsetenv_tcl(name) ^ tclenv.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EnvTraceProc(clientData, interp, name1, name2, flags) ^ tclenv.c:360:11: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("EnvTraceProc called with confusing arguments"); ^ tclenv.c:369:12: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("EnvTraceProc couldn't find interpreter"); ^ tclenv.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EnvTraceProc(clientData, interp, name1, name2, flags) ^ 10 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclglob.o tclglob.c In file included from tclglob.c:23: ./tclint.h:73: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] extern double strtod(); ^ tclglob.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AppendResult(interp, dir, separator, name, nameLength) ^ tclglob.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclglob.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoGlob(interp, dir, rem) ^ tclglob.c:369:25: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] sprintf(newDir, "%s%s%.*s", dir, separator, p-rem, rem); ~~^~ ~~~~~ tclglob.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoGlob(interp, dir, rem) ^ tclglob.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_TildeSubst(interp, name) ^ tclglob.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GlobCmd(dummy, interp, argc, argv) ^ 8 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclunxaz.o tclunxaz.c In file included from tclunxaz.c:24: ./tclint.h:73: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] extern double strtod(); ^ tclunxaz.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CdCmd(dummy, interp, argc, argv) ^ tclunxaz.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CloseCmd(dummy, interp, argc, argv) ^ tclunxaz.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_EofCmd(notUsed, interp, argc, argv) ^ tclunxaz.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ExecCmd(dummy, interp, argc, argv) ^ tclunxaz.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ExitCmd(dummy, interp, argc, argv) ^ tclunxaz.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_FileCmd(dummy, interp, argc, argv) ^ tclunxaz.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StoreStatData(interp, varName, statPtr) ^ tclunxaz.c:718:27: warning: format specifies type 'int' but the argument has type '__dev_t' (aka 'unsigned long') [-Wformat] sprintf(string, "%d", statPtr->st_dev); ~~ ^~~~~~~~~~~~~~~ %lu tclunxaz.c:723:27: warning: format specifies type 'int' but the argument has type '__ino_t' (aka 'unsigned long') [-Wformat] sprintf(string, "%d", statPtr->st_ino); ~~ ^~~~~~~~~~~~~~~ %lu tclunxaz.c:733:27: warning: format specifies type 'int' but the argument has type '__nlink_t' (aka 'unsigned long') [-Wformat] sprintf(string, "%d", statPtr->st_nlink); ~~ ^~~~~~~~~~~~~~~~~ %lu tclunxaz.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StoreStatData(interp, varName, statPtr) ^ tclunxaz.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetFileType(mode) ^ tclunxaz.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tclunxaz.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_FlushCmd(notUsed, interp, argc, argv) ^ tclunxaz.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetsCmd(notUsed, interp, argc, argv) ^ tclunxaz.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_OpenCmd(notUsed, interp, argc, argv) ^ tclunxaz.c:1119:7: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("Tcl_OpenCmd found file already open"); ^ tclunxaz.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_PwdCmd(dummy, interp, argc, argv) ^ tclunxaz.c:1220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_PutsCmd(dummy, interp, argc, argv) ^ tclunxaz.c:1285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ReadCmd(dummy, interp, argc, argv) ^ tclunxaz.c:1385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SeekCmd(notUsed, interp, argc, argv) ^ tclunxaz.c:1453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SourceCmd(dummy, interp, argc, argv) ^ tclunxaz.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_TellCmd(notUsed, interp, argc, argv) ^ tclunxaz.c:1502:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(interp->result, "%d", ftell(filePtr->f)); ~~ ^~~~~~~~~~~~~~~~~ %ld tclunxaz.c:1525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_TimeCmd(dummy, interp, argc, argv) ^ tclunxaz.c:1607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CleanupChildren(interp, numPids, pidPtr, errorId) ^ tclunxaz.c:1607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 28 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclunxst.o tclunxst.c In file included from tclunxst.c:22: ./tclint.h:73: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] extern double strtod(); ^ tclunxst.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SignalId(sig) ^ tclunxst.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SignalMsg(sig) ^ 3 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -I. -DTCL_LIBRARY=\"/usr/local/lib/tcl\" -DIS_LINUX -c -o tclunxut.o tclunxut.c In file included from tclunxut.c:27: ./tclint.h:73: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] extern double strtod(); ^ tclunxut.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] Tcl_EvalFile(interp, fileName) ^ tclunxut.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_WaitPids(numPids, pidPtr, statusPtr) ^ tclunxut.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DetachPids(numPids, pidPtr) ^ tclunxut.c:397:7: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("Tcl_Detach couldn't find process"); ^ tclunxut.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CreatePipeline(interp, argc, argv, pidArrayPtr, inPipePtr, ^ tclunxut.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_UnixError(interp) ^ tclunxut.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclMakeFileTable(iPtr, index) ^ tclunxut.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclGetOpenFile(interp, string, filePtrPtr) ^ 9 warnings generated. rm -f libtcl.a ar cr libtcl.a regexp.o tclassem.o tclbasic.o tclckall.o tclcmdah.o tclcmdil.o tclcmdmz.o tclexpr.o tclget.o tclhash.o tclhist.o tclparse.o tclproc.o tclutil.o tclvar.o panic.o tclenv.o tclglob.o tclunxaz.o tclunxst.o tclunxut.o ranlib libtcl.a make[1]: Leaving directory '/var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work/micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755/src/tcl' cd tk ; make all make[1]: Entering directory '/var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work/micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755/src/tk' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. clang -I. -I/usr/include/X11 -I../tcl -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DTK_VERSION=\"2.3\" -DUSE_XPM3 -DIS_LINUX -c -o main.o main.c main.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StdinProc(clientData, mask) ^ main.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] StructureProc(clientData, eventPtr) ^ main.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DelayedMap(clientData) ^ main.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DotCmd(dummy, interp, argc, argv) ^ main.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MovetoCmd(dummy, interp, argc, argv) ^ main.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LinetoCmd(dummy, interp, argc, argv) ^ main.c:266:17: warning: passing arguments to 'isatty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tty = isatty(0); ^ main.c:311:14: warning: passing arguments to 'isatty' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tty = isatty(0); ^ main.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 9 warnings generated. clang -I. -I/usr/include/X11 -I../tcl -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DTK_VERSION=\"2.3\" -DUSE_XPM3 -DIS_LINUX -c -o tk3d.o tk3d.c tk3d.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Get3DBorder(interp, tkwin, colormap, colorName) ^ tk3d.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Draw3DRectangle(display, drawable, border, x, y, width, height, ^ tk3d.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOf3DBorder(border) ^ tk3d.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_3DBorderColor(border) ^ tk3d.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Free3DBorder(border) ^ tk3d.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetBackgroundFromBorder(tkwin, border) ^ tk3d.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetRelief(interp, name, reliefPtr) ^ tk3d.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOfRelief(relief) ^ tk3d.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Draw3DPolygon(display, drawable, border, pointPtr, numPoints, ^ tk3d.c:747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Fill3DRectangle(display, drawable, border, x, y, width, ^ tk3d.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Fill3DPolygon(display, drawable, border, pointPtr, numPoints, ^ tk3d.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShiftLine(p1Ptr, p2Ptr, distance, p3Ptr) ^ tk3d.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tk3d.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Intersect(a1Ptr, a2Ptr, b1Ptr, b2Ptr, iPtr) ^ tk3d.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 15 warnings generated. clang -I. -I/usr/include/X11 -I../tcl -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DTK_VERSION=\"2.3\" -DUSE_XPM3 -DIS_LINUX -c -o tkargv.o tkargv.c tkargv.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ParseArgv(interp, tkwin, argcPtr, argv, argTable, flags) ^ tkargv.c:181:29: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] *((int *) infoPtr->dst) = (int) infoPtr->src; ^~~~~~~~~~~~~~~~~~ tkargv.c:246:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*handlerProc)(infoPtr->dst, infoPtr->key, ^ tkargv.c:258:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argc = (*handlerProc)(infoPtr->dst, interp, infoPtr->key, ^ tkargv.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintUsage(interp, argTable, flags) ^ tkargv.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 6 warnings generated. clang -I. -I/usr/include/X11 -I../tcl -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DTK_VERSION=\"2.3\" -DUSE_XPM3 -DIS_LINUX -c -o tkatom.o tkatom.c tkatom.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] Tk_InternAtom(tkwin, name) ^ tkatom.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetAtomName(tkwin, atom) ^ tkatom.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AtomInit(dispPtr) ^ tkatom.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 4 warnings generated. clang -I. -I/usr/include/X11 -I../tcl -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DTK_VERSION=\"2.3\" -DUSE_XPM3 -DIS_LINUX -c -o tkbind.o tkbind.c tkbind.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreateBindingTable(interp) ^ tkbind.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DeleteBindingTable(bindingTable) ^ tkbind.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreateBinding(interp, bindingTable, object, eventString, command, append) ^ tkbind.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DeleteBinding(interp, bindingTable, object, eventString) ^ tkbind.c:638:7: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("Tk_DeleteBinding couldn't find object table entry"); ^ tkbind.c:646:8: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("Tk_DeleteBinding couldn't find on object list"); ^ tkbind.c:664:8: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("Tk_DeleteBinding couldn't find on hash chain"); ^ tkbind.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetBinding(interp, bindingTable, object, eventString) ^ tkbind.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetAllBindings(interp, bindingTable, object) ^ tkbind.c:871:11: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("Tk_GetAllBindings overflowed buffer"); ^ tkbind.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DeleteAllBindings(bindingTable, object) ^ tkbind.c:930:12: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("Tk_DeleteAllBindings couldn't find on hash chain"); ^ tkbind.c:967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_BindEvent(bindingTable, eventPtr, tkwin, numObjects, objectPtr) ^ tkbind.c:1124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindSequence(interp, bindPtr, object, eventString, create, maskPtr) ^ tkbind.c:1194:20: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'int *') [-Wpointer-to-int-cast] patPtr->detail = (int) Tcl_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tkbind.c:1307:20: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'int *') [-Wpointer-to-int-cast] patPtr->detail = (int) Tcl_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tkbind.c:1124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindSequence(interp, bindPtr, object, eventString, create, maskPtr) ^ tkbind.c:1439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetField(p, copy, size) ^ tkbind.c:1439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tkbind.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetKeySym(dispPtr, eventPtr) ^ tkbind.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tkbind.c:1579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatchPatterns(dispPtr, bindPtr, psPtr) ^ tkbind.c:1661:14: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysym = XKeycodeToKeysym(dispPtr->displ... ^ /usr/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /usr/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ tkbind.c:1579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatchPatterns(dispPtr, bindPtr, psPtr) ^ tkbind.c:1808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExpandPercents(before, eventPtr, keySym, after, afterSize) ^ tkbind.c:2077:12: warning: cast to smaller integer type 'int' from 'Display *' (aka 'struct _XDisplay *') [-Wpointer-to-int-cast] number = (int) eventPtr->xany.display; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tkbind.c:1808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExpandPercents(before, eventPtr, keySym, after, afterSize) ^ tkbind.c:2182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBindError(interp) ^ 28 warnings generated. clang -I. -I/usr/include/X11 -I../tcl -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DTK_VERSION=\"2.3\" -DUSE_XPM3 -DIS_LINUX -c -o tkbitmap.o tkbitmap.c tkbitmap.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetBitmap(interp, tkwin, string) ^ tkbitmap.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] Tk_DefineBitmap(interp, name, source, width, height) ^ tkbitmap.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOfBitmap(bitmap) ^ tkbitmap.c:303:7: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("Tk_NameOfBitmap received unknown bitmap argument"); ^ tkbitmap.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SizeOfBitmap(bitmap, widthPtr, heightPtr) ^ tkbitmap.c:344:7: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("Tk_SizeOfBitmap received unknown bitmap argument"); ^ tkbitmap.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FreeBitmap(bitmap) ^ tkbitmap.c:382:7: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("Tk_FreeBitmap called before Tk_GetBitmap"); ^ tkbitmap.c:387:7: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic("Tk_FreeBitmap received unknown bitmap argument"); ^ tkbitmap.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetBitmapFromData(interp, tkwin, source, width, height) ^ tkbitmap.c:437:12: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] static autoNumber = 0; ~~~~~~ ^ int 10 warnings and 1 error generated. make[1]: *** [: tkbitmap.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work/micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755/src/tk' make: *** [makefile:79: all] Error 2 make: Leaving directory '/var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work/micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755/src' * ERROR: games-simulation/micropolis-1.0_p20180313::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-simulation/micropolis-1.0_p20180313::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-simulation/micropolis-1.0_p20180313::gentoo'`. * The complete build log is located at '/var/log/portage/games-simulation:micropolis-1.0_p20180313:20221204-181733.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-simulation/micropolis-1.0_p20180313/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-simulation/micropolis-1.0_p20180313/temp/environment'. * Working directory: '/var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work/micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755' * S: '/var/tmp/portage/games-simulation/micropolis-1.0_p20180313/work/micropolis-cc31822e4ebe54c0109623ac0c5cdf0e3acad755'