>>> Building on exopi-2 under misc/xless BDEPENDS = [devel/imake;devel/imake-cf] DIST = [misc/xless:xless-1.7.tar.gz] FULLPKGNAME = xless-1.7p4 (Junk lock obtained for exopi-2 at 1734969599.18) >>> Running depends in misc/xless at 1734969599.22 /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 >>> Running show-prepare-results in misc/xless at 1734969600.87 ===> misc/xless ===> Building from scratch xless-1.7p4 ===> xless-1.7p4 depends on: imake-* -> imake-1.0.9 ===> xless-1.7p4 depends on: imake-cf-* -> imake-cf-1.0.7p0 ===> Verifying specs: ICE SM Xau Xdmcp X11 Xaw Xext Xmu Xpm Xt c ===> found ICE.11.0 SM.9.0 Xau.10.0 Xdmcp.11.0 X11.18.2 Xaw.16.0 Xext.13.0 Xmu.11.0 Xpm.10.0 Xt.11.1 c.100.3 imake-1.0.9 imake-cf-1.0.7p0 (Junk lock released for exopi-2 at 1734969601.80) distfiles size=45559 >>> Running build in misc/xless at 1734969601.83 ===> misc/xless ===> Checking files for xless-1.7p4 `/exopi-cvs/ports/distfiles/xless-1.7.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for xless-1.7p4 ===> Patching for xless-1.7p4 ===> Applying OpenBSD patch patch-Imakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Imakefile.orig Thu Jun 2 20:22:14 1994 |+++ Imakefile Wed May 4 20:24:38 2011 -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 5. Hunk #2 succeeded at 28. done ===> Applying OpenBSD patch patch-callbacks_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- callbacks.c.orig Fri Jul 29 04:29:23 1994 |+++ callbacks.c Fri Jul 26 21:35:26 2002 -------------------------- Patching file callbacks.c using Plan A... Hunk #1 succeeded at 454. done ===> Applying OpenBSD patch patch-xless_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xless.h.orig Fri Jul 29 04:56:41 1994 |+++ xless.h Fri Jul 26 21:35:26 2002 -------------------------- Patching file xless.h using Plan A... Hunk #1 succeeded at 38. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for xless-1.7p4 ===> Configuring for xless-1.7p4 imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles making Makefiles in regexp... In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 make includes including in ./regexp... make depend rm -f .depend gccmakedep -f- -- -Iregexp -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/local/lib/X11/xless.help\" -DTILDE_EXPANSION -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" -- help.c init.c popup.c util.c callbacks.c window.c main.c actions.c functions.c > .depend ===> Building for xless-1.7p4 making all in ./regexp... rm -f regexp.o cc -c -O2 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO regexp.c regexp.c:213: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:223: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:224: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:229: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:234: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:240: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:241: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:250: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:270: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: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] regcomp(exp) ^ In file included from regexp.c:35: ./regexp.h:22: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:308: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:311: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:316: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:320: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:328: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:331: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:338: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:339: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:342: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:343: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:347: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:350: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:352: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:293: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:173: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:375: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:379: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:386: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:390: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:365: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:174: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:413: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:424: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(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(STAR, ret); ^ regexp.c:431: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:432: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:432: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:433: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:434: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: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(ret, 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:437: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: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(BRANCH); /* Either */ ^ 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: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:442: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:443: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:443: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:444: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:444: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:447: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:448: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:448: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:449: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:450: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:451: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:455: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.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] regpiece(flagp) ^ regexp.c:175: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:480: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:483: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:486: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:494: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:497: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:499: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:504: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:509: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:511: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:515: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:517: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:519: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:534: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:539: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:544: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:147:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:547: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(WORDA); ^ 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(WORDZ); ^ regexp.c:589: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:595: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(ch); /* Add cur to string */ ^ regexp.c:604: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(ch); /* dump cur char */ ^ regexp.c:615: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(ch); /* Cur char OK */ ^ regexp.c:632: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:469: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:176: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:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regnode(op) ^ regexp.c:177: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: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] regc(b) ^ regexp.c:179: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:687: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:180: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:730: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:716: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:181: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:748: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:182: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:792: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 char *strchr(); ^ regexp.c:796: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:802: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:823: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:830: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:837: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:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regexec(prog, string) ^ In file included from regexp.c:35: ./regexp.h:23: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:867: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:849: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:773: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:891: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 char *strchr(); ^ regexp.c:903: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:1029: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:1052: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:1069: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:1081: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:886: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:774: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:1122: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:1089: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:775: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:1135: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:178: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(); ^ 120 warnings generated. rm -f regsub.o cc -c -O2 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO regsub.c regsub.c:47: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 char *strncpy(); ^ regsub.c:51: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:55: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:77: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:36: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:21: ./regexp.h:24: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(); ^ 6 warnings generated. rm -f regerror.o cc -c -O2 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO regerror.c regerror.c:5: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) ^ In file included from regerror.c:1: ./regexp.h:25: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 regerror(); ^ 2 warnings generated. rm -f libregexp.a ar clq libregexp.a regexp.o regsub.o regerror.o ranlib libregexp.a cc -O2 -Iregexp -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/local/lib/X11/xless.help\" -DTILDE_EXPANSION -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" -c help.c In file included from help.c:35: ./xless.h:238:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main __P((int, char *[])); ^ ./xless.h:238:1: note: change return type to 'int' void main __P((int, char *[])); ^~~~ int help.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] createHelp(top) ^ help.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopdownHelp(w, helpWidget, junk) ^ help.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopupHelp(w, closure, callData) ^ 4 warnings generated. cc -O2 -Iregexp -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/local/lib/X11/xless.help\" -DTILDE_EXPANSION -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" -c init.c In file included from init.c:41: ./xless.h:238:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main __P((int, char *[])); ^ ./xless.h:238:1: note: change return type to 'int' void main __P((int, char *[])); ^~~~ int init.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fixNewText(text, lp, wp, hp) ^ init.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] restartNewInputHandler(closure, ignored) ^ init.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handleNewInput(closure, source, id) ^ init.c:185:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(1); ^ init.c:185:5: note: include the header or explicitly provide a declaration for 'exit' init.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readFile(fd, wi, szp) ^ init.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readStdIn(fd, wi, szp) ^ init.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitData(fd, wi) ^ init.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makeButton(parent, sensitive, vertdist, prevwidg, procptr, wininfo, ^ init.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeToolbox(parent, wi, filename) ^ init.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeText(parent, wi, data, ignoreGeom) ^ init.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetXNames(top, filename) ^ init.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetWMHints(wi) ^ 13 warnings generated. cc -O2 -Iregexp -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/local/lib/X11/xless.help\" -DTILDE_EXPANSION -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" -c popup.c In file included from popup.c:38: ./xless.h:238:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main __P((int, char *[])); ^ ./xless.h:238:1: note: change return type to 'int' void main __P((int, char *[])); ^~~~ int popup.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DialogBox(top, confFunc, confData, label, btnLabel, selection) ^ popup.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] toggleSearchType(widget, closure, callData) ^ popup.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchBox(top, srchFunc, wi, label, btnLabel, selection) ^ popup.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] popdownBox(widget, closure, callData) ^ 5 warnings generated. cc -O2 -Iregexp -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/local/lib/X11/xless.help\" -DTILDE_EXPANSION -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" -c util.c In file included from util.c:35: ./xless.h:238:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main __P((int, char *[])); ^ ./xless.h:238:1: note: change return type to 'int' void main __P((int, char *[])); ^~~~ int util.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetPopup(top, wdg) ^ util.c:118:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(1); ^ util.c:118:5: note: include the header or explicitly provide a declaration for 'exit' util.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] popdownCouldntOpen(widget, closure, callData) ^ util.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CouldntOpen(top, filename) ^ util.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TildeExpand(filename) ^ 6 warnings generated. cc -O2 -Iregexp -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/local/lib/X11/xless.help\" -DTILDE_EXPANSION -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" -c callbacks.c In file included from callbacks.c:37: ./xless.h:238:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main __P((int, char *[])); ^ ./xless.h:238:1: note: change return type to 'int' void main __P((int, char *[])); ^~~~ int callbacks.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] getReadOnlySource(w, string) ^ callbacks.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Quit(widget, closure, callData) ^ callbacks.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cancel(widget, closure, callData) ^ callbacks.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CallEditor(widget, closure, callData) ^ callbacks.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Reload(widget, closure, callData) ^ callbacks.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] find(text, wi, offset) ^ callbacks.c:195:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(1); ^ callbacks.c:195:2: note: include the header or explicitly provide a declaration for 'exit' callbacks.c:224:16: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pat = regcomp(str); ^ callbacks.c:230:21: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (regexec(pat, text)) { ^ callbacks.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doSearch(wi) ^ callbacks.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] SearchNext(widget, closure, callData) ^ callbacks.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] popdownAndSearch(widget, closure, callData) ^ callbacks.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Search(widget, closure, callData) ^ callbacks.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] popdownAndChange(widget, closure, callData) ^ callbacks.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeFile(widget, closure, callData) ^ callbacks.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] popdownAndCreate(widget, closure, callData) ^ callbacks.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewWindow(widget, closure, callData) ^ callbacks.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] CloseWindow(widget, closure, callData) ^ callbacks.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Print(widget, closure, callData) ^ callbacks.c:458:27: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] file = fdopen(mkstemp(printfile), "w"); ^~~~~~~~~ /usr/include/unistd.h:415:20: note: passing argument to parameter here int mkstemp(char *); ^ callbacks.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Background(widget, closure, callData) ^ 22 warnings generated. cc -O2 -Iregexp -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/local/lib/X11/xless.help\" -DTILDE_EXPANSION -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" -c window.c In file included from window.c:37: ./xless.h:238:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main __P((int, char *[])); ^ ./xless.h:238:1: note: change return type to 'int' void main __P((int, char *[])); ^~~~ int window.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findWindowInfo(w) ^ window.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] popdownTooMany(widget, closure, callData) ^ window.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateWindow(top, filename) ^ window.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyWindowInfo(wi) ^ window.c:293:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(0); ^ window.c:293:5: note: include the header or explicitly provide a declaration for 'exit' 6 warnings generated. cc -O2 -Iregexp -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/local/lib/X11/xless.help\" -DTILDE_EXPANSION -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" -c main.c In file included from main.c:35: ./xless.h:238:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main __P((int, char *[])); ^ ./xless.h:238:1: note: change return type to 'int' void main __P((int, char *[])); ^~~~ int main.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cvtStringToSearchType(display, args, numArgs, fromVal, toVal, destructorData) ^ main.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argPrint(str) ^ main.c:202:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ main.c:202:1: note: change return type to 'int' void ^~~~ int main.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] main(argc, argv) ^ main.c:289:7: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(0); ^ main.c:289:7: note: include the header or explicitly provide a declaration for 'exit' 6 warnings generated. cc -O2 -Iregexp -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/local/lib/X11/xless.help\" -DTILDE_EXPANSION -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" -c actions.c In file included from actions.c:30: ./xless.h:238:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main __P((int, char *[])); ^ ./xless.h:238:1: note: change return type to 'int' void main __P((int, char *[])); ^~~~ int actions.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QuitAction(w, e, p, n) ^ actions.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HelpAction(w, e, p, n) ^ 3 warnings generated. cc -O2 -Iregexp -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/local/lib/X11/xless.help\" -DTILDE_EXPANSION -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" -c functions.c In file included from functions.c:30: ./xless.h:238:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main __P((int, char *[])); ^ ./xless.h:238:1: note: change return type to 'int' void main __P((int, char *[])); ^~~~ int functions.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] okQuitAll(widget, closure, callData) ^ functions.c:45:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(0); ^ functions.c:45:3: note: include the header or explicitly provide a declaration for 'exit' functions.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cancelQuitAll(widget, closure, callData) ^ 4 warnings generated. rm -f xless cc -o xless -O2 -L/usr/X11R6/lib -L/usr/local/lib help.o init.o popup.o util.o callbacks.o window.o main.o actions.o functions.o -Lregexp -lregexp -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lXdmcp -lXau -Wl,-rpath,/usr/local/lib ld: warning: help.c(help.o:(PopupHelp)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: window.c(window.o:(CreateWindow)): warning: sprintf() is often misused, please use snprintf() ld: warning: util.c(util.o:(CouldntOpen)): warning: strcat() is almost always misused, please use strlcat() rm -f xless._man if test -z "" ; then cd `dirname xless` && ln -s `basename xless.man` `basename xless._man`; else /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xless.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xless._man; fi >>> Running package in misc/xless at 1734969607.34 ===> misc/xless ===> Faking installation for xless-1.7p4 install -c xless /exopi-obj/pobj/xless-1.7/fake-amd64/usr/local/bin/xless install -c -m 0444 xless.help /exopi-obj/pobj/xless-1.7/fake-amd64/usr/local/lib/X11 + mkdir -p /exopi-obj/pobj/xless-1.7/fake-amd64/etc/X11/app-defaults install -c -m 0444 XLess.ad /exopi-obj/pobj/xless-1.7/fake-amd64/usr/local/lib/X11/app-defaults/XLess install -c -m 0444 XLess-co.ad /exopi-obj/pobj/xless-1.7/fake-amd64/usr/local/lib/X11/app-defaults/XLess-color installing in ./regexp... install in regexp done install -c -m 0444 xless._man /exopi-obj/pobj/xless-1.7/fake-amd64/usr/local/man/man1/xless.1 installing man pages in ./regexp... install.man in regexp done ===> Building package for xless-1.7p4 Create /exopi-cvs/ports/packages/amd64/all/xless-1.7p4.tgz Creating package xless-1.7p4 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|*** | 4% checksumming|***** | 9% checksumming|******** | 13% checksumming|*********** | 17% checksumming|************* | 22% checksumming|**************** | 26% checksumming|******************* | 30% checksumming|********************* | 35% checksumming|************************ | 39% checksumming|*************************** | 43% checksumming|***************************** | 48% checksumming|******************************** | 52% checksumming|********************************** | 57% checksumming|************************************* | 61% checksumming|**************************************** | 65% checksumming|****************************************** | 70% checksumming|********************************************* | 74% checksumming|************************************************ | 78% checksumming|************************************************** | 83% checksumming|***************************************************** | 87% checksumming|******************************************************** | 91% checksumming|********************************************************** | 96% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|* | 1% archiving|******************************************************** | 88% archiving|********************************************************* | 89% archiving|************************************************************ | 94% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/xless-1.7p4.tgz >>> Running clean in misc/xless at 1734969609.05 ===> misc/xless ===> Cleaning for xless-1.7p4 >>> Ended at 1734969609.49 max_stuck=0.88/depends=1.64/show-prepare-results=0.98/build=5.50/package=1.72/clean=0.47