===> Building for moxfm-1.0.1 making all in ./regexp... rm -f regexp.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED regexp.c regexp.c:206:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("NULL argument"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:213: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:214: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:219:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("regexp too big"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:224:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("out of space"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:230: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:231: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:240: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:260: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:196: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) ^ In file included from regexp.c:33: ./regexp.h:45:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern regexp *regcomp(); ^ regexp.c:298:4: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("too many ()"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:301: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:306: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:310: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:318: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:321: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:328: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:329: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:332: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:333: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:337:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("unmatched ()"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:340:4: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("unmatched ()"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:342:4: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("junk on end"); /* "Can't happen". */ ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.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] reg(paren, flagp) ^ regexp.c:166:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *reg(); ^ regexp.c:365: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:368: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:375: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:379: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:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regbranch(flagp) ^ regexp.c:167:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regbranch(); ^ regexp.c:402: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:413:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("*+ operand could be empty"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:417: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:420: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:421: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:421: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:422: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:423: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:423: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:424: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:424: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:426: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:429: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:430: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:431: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:431: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:432: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: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(next, regnode(BRANCH)); /* or */ ^ regexp.c:433: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: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(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:436: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:437: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:437: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:438: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: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, next); ^ regexp.c:440: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:444:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("nested *?+"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:394: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:168:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regpiece(); ^ regexp.c:468: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:471: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:474: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:482: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:485: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:487: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:492: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:497:8: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("invalid [] range"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:499: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(class); ^ regexp.c:503: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:505: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:507:5: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("unmatched []"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:521:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("internal urp"); /* Supposed to be caught earlier. */ ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:526:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("?+* follows nothing"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:530:4: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("trailing \\"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:531: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:532: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:533: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:543:5: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("internal disaster"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:550: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:552: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:555: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:458: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:169:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regatom(); ^ regexp.c:567: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:170:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regnode(); ^ regexp.c:592: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:172:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC void regc(); ^ regexp.c:607: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:173:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC void reginsert(); ^ regexp.c:650: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:636: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:174:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC void regtail(); ^ regexp.c:668: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:175:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC void regoptail(); ^ regexp.c:718:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("NULL parameter"); ^ regexp.c:724:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("corrupted program"); ^ regexp.c:745: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:752: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:759: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:707: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) ^ In file included from regexp.c:33: ./regexp.h:46:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int regexec(); ^ regexp.c:789: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: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] regtry(prog, string) ^ regexp.c:693:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC int regtry(); ^ regexp.c:827: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:938: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:961: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:978:12: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("memory corruption"); ^ regexp.c:990:10: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("corrupted pointers"); ^ regexp.c:808: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:694:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC int regmatch(); ^ regexp.c:1031:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("internal foulup"); ^ regexp.c:998: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:695:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC int regrepeat(); ^ regexp.c:1044: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) ^ regexp.c:171:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regnext(); ^ 118 warnings generated. rm -f regsub.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED regsub.c regsub.c:56:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("NULL parm to regsub"); ^ regsub.c:60:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("damaged regexp fed to regsub"); ^ regsub.c:81:13: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("damaged match string"); ^ regsub.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regsub(prog, source, dest) ^ In file included from regsub.c:28: ./regexp.h:47:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void regsub(); ^ 5 warnings generated. rm -f regerror.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED regerror.c regerror.c:4: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(s) ^ 1 warning generated. rm -f libregexp.a ar clq libregexp.a regexp.o regsub.o regerror.o ranlib libregexp.a making all in ./src... clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../regexp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DMAGIC_HEADERS -DXFMLIBDIR=\"/opt/pkg/lib/X11/moxfm/dot.moxfm\" -DMTAB=\"/etc/mtab\" -DMAILDIR=\"/var/spool/mail\" -DNO_GETMNTENT=1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c FmMain.c In file included from FmMain.c:43: ./Am.h:187:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern n_dtIcons; ~~~~~~ ^ int FmMain.c:599:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(int argc, char *argv[]) ^ FmMain.c:599:1: note: change return type to 'int' void main(int argc, char *argv[]) ^~~~ int 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../regexp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DMAGIC_HEADERS -DXFMLIBDIR=\"/opt/pkg/lib/X11/moxfm/dot.moxfm\" -DMTAB=\"/etc/mtab\" -DMAILDIR=\"/var/spool/mail\" -DNO_GETMNTENT=1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c FmAw.c In file included from FmAw.c:38: ./Am.h:187:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern n_dtIcons; ~~~~~~ ^ int 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../regexp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DMAGIC_HEADERS -DXFMLIBDIR=\"/opt/pkg/lib/X11/moxfm/dot.moxfm\" -DMTAB=\"/etc/mtab\" -DMAILDIR=\"/var/spool/mail\" -DNO_GETMNTENT=1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c FmFw.c FmFw.c:35:10: fatal error: 'sys/vfs.h' file not found #include ^~~~~~~~~~~ 1 error generated. *** [FmFw.o] Error code 1 bmake[1]: stopped making "all" in /Users/pbulk/build/sysutils/moxfm/work/moxfm-1.0.1/src bmake[1]: 1 error bmake[1]: stopped making "all" in /Users/pbulk/build/sysutils/moxfm/work/moxfm-1.0.1/src *** [all] Error code 2 bmake: stopped making "all" in /Users/pbulk/build/sysutils/moxfm/work/moxfm-1.0.1 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/sysutils/moxfm/work/moxfm-1.0.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/moxfm *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/moxfm