=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for sc-6.21nb2 cc -O2 -march=i586 -DBSD43 -DDOBACKUPS -c cmds.c cmds.c:36:12: warning: incompatible redeclaration of library function 'exit' [-Wincompatible-library-redeclaration] extern int exit(); ^ cmds.c:36:12: note: 'exit' is a builtin with type 'void (int) __attribute__((noreturn))' cmds.c:354:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r, c; ~~~~~~~~ ^ cmds.c:354:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r, c; ~~~~~~~~ ^ cmds.c:383:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r; ~~~~~~~~ ^ cmds.c:386:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register c; ~~~~~~~~ ^ cmds.c:422:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r; ~~~~~~~~ ^ cmds.c:424:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register c; ~~~~~~~~ ^ cmds.c:425:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register lim = maxcol-cs+1; ~~~~~~~~ ^ cmds.c:450:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pp[0] = pp[-numcol]) ~~~~~~^~~~~~~~~~~~~ cmds.c:450:16: note: place parentheses around the assignment to silence this warning if (pp[0] = pp[-numcol]) ^ ( ) cmds.c:450:16: note: use '==' to turn this assignment into an equality comparison if (pp[0] = pp[-numcol]) ^ == cmds.c:467:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r; ~~~~~~~~ ^ cmds.c:470:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register c; ~~~~~~~~ ^ cmds.c:471:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register lim = maxcol-cs; ~~~~~~~~ ^ cmds.c:478:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] error(buf); ^~~ cmds.c:493:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = *ATBL(tbl, r, c)) ~~^~~~~~~~~~~~~~~~~~ cmds.c:493:9: note: place parentheses around the assignment to silence this warning if (q = *ATBL(tbl, r, c)) ^ ( ) cmds.c:493:9: note: use '==' to turn this assignment into an equality comparison if (q = *ATBL(tbl, r, c)) ^ == cmds.c:501:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pp[0] = pp[numcol]) ~~~~~~^~~~~~~~~~~~ cmds.c:501:16: note: place parentheses around the assignment to silence this warning if (pp[0] = pp[numcol]) ^ ( ) cmds.c:501:16: note: use '==' to turn this assignment into an equality comparison if (pp[0] = pp[numcol]) ^ == cmds.c:700:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register row, col; ~~~~~~~~ ^ cmds.c:700:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register row, col; ~~~~~~~~ ^ cmds.c:725:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register c = 0; ~~~~~~~~ ^ cmds.c:793:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = (*pp)->label) { ~~^~~~~~~~~~~~~~ cmds.c:793:9: note: place parentheses around the assignment to silence this warning if (s = (*pp)->label) { ^ ( ) cmds.c:793:9: note: use '==' to turn this assignment into an equality comparison if (s = (*pp)->label) { ^ == cmds.c:872:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register row, col; ~~~~~~~~ ^ cmds.c:872:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register row, col; ~~~~~~~~ ^ cmds.c:974:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = (*pp)->label) { ~~^~~~~~~~~~~~~~ cmds.c:974:9: note: place parentheses around the assignment to silence this warning if (s = (*pp)->label) { ^ ( ) cmds.c:974:9: note: use '==' to turn this assignment into an equality comparison if (s = (*pp)->label) { ^ == cmds.c:1121:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i,j; ~~~~~~~~ ^ cmds.c:1121:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i,j; ~~~~~~~~ ^ cmds.c:1275:10: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] if ( pipe (pipefd) < 0) { ^ cmds.c:1288:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (0); /* close stdin */ ^ cmds.c:1290:9: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] (void) dup (pipefd[0]); /* connect to pipe input */ ^ cmds.c:1292:9: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] (void) execl ("/bin/sh", "sh", "-c", fname, 0); ^ cmds.c:1323:24: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] while (pid != wait(&temp)) /**/; ^ cmds.c:1359:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r, c; ~~~~~~~~ ^ cmds.c:1359:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r, c; ~~~~~~~~ ^ cmds.c:1488:29: warning: implicit declaration of function 'yyparse' is invalid in C99 [-Wimplicit-function-declaration] if (line[0] != '#') (void) yyparse (); ^ cmds.c:1506:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r, c; ~~~~~~~~ ^ cmds.c:1506:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r, c; ~~~~~~~~ ^ cmds.c:1840:18: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] while((count = read(infd, buf, sizeof(buf))) > 0) ^ cmds.c:1842:9: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] { if (write(outfd, buf, count) != count) ^ 36 warnings generated. cc -O2 -march=i586 -DBSD43 -DDOBACKUPS -c crypt.c cc -O2 -march=i586 -DBSD43 -c format.c format.c:135:7: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' if (strlen(fmt) + 1 > fmtlen) ^ format.c:135:7: note: please include the header or explicitly provide a declaration for 'strlen' format.c:585:20: warning: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types] time = ctime(&secs); ^~~~~ /usr/include/time.h:93:27: note: passing argument to parameter here char *ctime(const time_t *) __RENAME(__ctime50); ^ 2 warnings generated. yacc -d gram.y mv y.tab.c gram.c cc -O2 -march=i586 -DBSD43 -c gram.c y.tab.c:1529:23: warning: implicit declaration of function 'yylex' is invalid in C99 [-Wimplicit-function-declaration] if ((yychar = YYLEX) < 0) yychar = 0; ^ y.tab.c:67:16: note: expanded from macro 'YYLEX' # define YYLEX yylex() ^ gram.y:369:37: warning: implicit declaration of function 'convert_date' is invalid in C99 [-Wimplicit-function-declaration] { yyval.enode = new_const(O_CONST, convert_date(yystack.l_mark[-4].ival,yystack.l_mark[-2].ival,yystack.l_mark[0].ival)); } ^ 2 warnings generated. sed < gram.y > experres.h -f eres.sed sed < gram.y > statres.h -f sres.sed cc -O2 -march=i586 -DBSD43 -c help.c cc -O2 -march=i586 -DBSD43 -DSIGVOID -DRE_COMP -c interp.c interp.c:168:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:168:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:206:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:206:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:244:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:244:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:305:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:305:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:324:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:324:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:343:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:343:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:362:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c,count; ~~~~~~~~ ^ interp.c:362:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c,count; ~~~~~~~~ ^ interp.c:362:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c,count; ~~~~~~~~ ^ interp.c:388:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c,n; ~~~~~~~~ ^ interp.c:388:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c,n; ~~~~~~~~ ^ interp.c:388:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c,n; ~~~~~~~~ ^ interp.c:417:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c,count; ~~~~~~~~ ^ interp.c:417:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c,count; ~~~~~~~~ ^ interp.c:417:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c,count; ~~~~~~~~ ^ interp.c:445:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c,count; ~~~~~~~~ ^ interp.c:445:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c,count; ~~~~~~~~ ^ interp.c:445:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c,count; ~~~~~~~~ ^ interp.c:741:13: warning: '/*' within block comment [-Wcomment] /* if (1) /* to test num div 0 */ ^ interp.c:778:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] { register r,c; ~~~~~~~~ ^ interp.c:778:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] { register r,c; ~~~~~~~~ ^ interp.c:779:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register maxr, maxc; ~~~~~~~~ ^ interp.c:779:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register maxr, maxc; ~~~~~~~~ ^ interp.c:780:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register minr, minc; ~~~~~~~~ ^ interp.c:780:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register minr, minc; ~~~~~~~~ ^ interp.c:808:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] { register r,c; ~~~~~~~~ ^ interp.c:808:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] { register r,c; ~~~~~~~~ ^ interp.c:809:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register maxr, maxc; ~~~~~~~~ ^ interp.c:809:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register maxr, maxc; ~~~~~~~~ ^ interp.c:810:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register minr, minc; ~~~~~~~~ ^ interp.c:810:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register minr, minc; ~~~~~~~~ ^ interp.c:988:16: warning: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types] tp = ctime(&tloc); ^~~~~ /usr/include/time.h:93:27: note: passing argument to parameter here char *ctime(const time_t *) __RENAME(__ctime50); ^ interp.c:1082:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strchr (buff, '\n')) /* contains newline */ ~~~^~~~~~~~~~~~~~~~~~~~~ interp.c:1082:14: note: place parentheses around the assignment to silence this warning if (cp = strchr (buff, '\n')) /* contains newline */ ^ ( ) interp.c:1082:14: note: use '==' to turn this assignment into an equality comparison if (cp = strchr (buff, '\n')) /* contains newline */ ^ == interp.c:1258:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] { register r,c; ~~~~~~~~ ^ interp.c:1258:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] { register r,c; ~~~~~~~~ ^ interp.c:1259:13: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register maxr, maxc; ~~~~~~~~ ^ interp.c:1259:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register maxr, maxc; ~~~~~~~~ ^ interp.c:1260:13: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register minr, minc; ~~~~~~~~ ^ interp.c:1260:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register minr, minc; ~~~~~~~~ ^ interp.c:1539:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = *ATBL(tbl, sr, sc)) ~~^~~~~~~~~~~~~~~~~~~~ interp.c:1539:12: note: place parentheses around the assignment to silence this warning if (p = *ATBL(tbl, sr, sc)) ^ ( ) interp.c:1539:12: note: use '==' to turn this assignment into an equality comparison if (p = *ATBL(tbl, sr, sc)) ^ == interp.c:1546:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = *ATBL(tbl, dr, dc)) ~~^~~~~~~~~~~~~~~~~~~~ interp.c:1546:12: note: place parentheses around the assignment to silence this warning if (n = *ATBL(tbl, dr, dc)) ^ ( ) interp.c:1546:12: note: use '==' to turn this assignment into an equality comparison if (n = *ATBL(tbl, dr, dc)) ^ == interp.c:1680:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] error(tmp); ^~~ interp.c:1727:12: warning: implicit declaration of function 're_exec' is invalid in C99 [-Wimplicit-function-declaration] || (re_exec(p->label) == 0)); ^ interp.c:1748:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:1748:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:1795:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:1795:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:1823:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:1823:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:1971:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:1971:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r,c; ~~~~~~~~ ^ interp.c:2205:45: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] case 'f': for (s="fixed "; line[linelim++] = *s++;); ~~~~~~~~~~~~~~~~^~~~~~ interp.c:2205:45: note: place parentheses around the assignment to silence this warning case 'f': for (s="fixed "; line[linelim++] = *s++;); ^ ( ) interp.c:2205:45: note: use '==' to turn this assignment into an equality comparison case 'f': for (s="fixed "; line[linelim++] = *s++;); ^ == interp.c:2268:46: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] case NOW: for ( s = "@now"; line[linelim++] = *s++;); ~~~~~~~~~~~~~~~~^~~~~~ interp.c:2268:46: note: place parentheses around the assignment to silence this warning case NOW: for ( s = "@now"; line[linelim++] = *s++;); ^ ( ) interp.c:2268:46: note: use '==' to turn this assignment into an equality comparison case NOW: for ( s = "@now"; line[linelim++] = *s++;); ^ == interp.c:2286:50: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] case MYROW: for ( s = "@myrow"; line[linelim++] = *s++;); ~~~~~~~~~~~~~~~~^~~~~~ interp.c:2286:50: note: place parentheses around the assignment to silence this warning case MYROW: for ( s = "@myrow"; line[linelim++] = *s++;); ^ ( ) interp.c:2286:50: note: use '==' to turn this assignment into an equality comparison case MYROW: for ( s = "@myrow"; line[linelim++] = *s++;); ^ == interp.c:2289:50: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] case MYCOL: for ( s = "@mycol"; line[linelim++] = *s++;); ~~~~~~~~~~~~~~~~^~~~~~ interp.c:2289:50: note: place parentheses around the assignment to silence this warning case MYCOL: for ( s = "@mycol"; line[linelim++] = *s++;); ^ ( ) interp.c:2289:50: note: use '==' to turn this assignment into an equality comparison case MYCOL: for ( s = "@mycol"; line[linelim++] = *s++;); ^ == interp.c:2293:54: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] case NUMITER: for ( s = "@numiter"; line[linelim++] = *s++;); ~~~~~~~~~~~~~~~~^~~~~~ interp.c:2293:54: note: place parentheses around the assignment to silence this warning case NUMITER: for ( s = "@numiter"; line[linelim++] = *s++;); ^ ( ) interp.c:2293:54: note: use '==' to turn this assignment into an equality comparison case NUMITER: for ( s = "@numiter"; line[linelim++] = *s++;); ^ == interp.c:2310:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; line[linelim++] = *s++;); ~~~~~~~~~~~~~~~~^~~~~~ interp.c:2310:28: note: place parentheses around the assignment to silence this warning for (; line[linelim++] = *s++;); ^ ( ) interp.c:2310:28: note: use '==' to turn this assignment into an equality comparison for (; line[linelim++] = *s++;); ^ == interp.c:2321:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; line[linelim++] = *s++;); ~~~~~~~~~~~~~~~~^~~~~~ interp.c:2321:28: note: place parentheses around the assignment to silence this warning for (; line[linelim++] = *s++;); ^ ( ) interp.c:2321:28: note: use '==' to turn this assignment into an equality comparison for (; line[linelim++] = *s++;); ^ == interp.c:2336:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; line[linelim++] = *s++;); ~~~~~~~~~~~~~~~~^~~~~~ interp.c:2336:28: note: place parentheses around the assignment to silence this warning for (; line[linelim++] = *s++;); ^ ( ) interp.c:2336:28: note: use '==' to turn this assignment into an equality comparison for (; line[linelim++] = *s++;); ^ == interp.c:2350:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; line[linelim++] = *s++;); ~~~~~~~~~~~~~~~~^~~~~~ interp.c:2350:28: note: place parentheses around the assignment to silence this warning for (; line[linelim++] = *s++;); ^ ( ) interp.c:2350:28: note: use '==' to turn this assignment into an equality comparison for (; line[linelim++] = *s++;); ^ == interp.c:2361:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; line[linelim++] = *s++;); ~~~~~~~~~~~~~~~~^~~~~~ interp.c:2361:28: note: place parentheses around the assignment to silence this warning for (; line[linelim++] = *s++;); ^ ( ) interp.c:2361:28: note: use '==' to turn this assignment into an equality comparison for (; line[linelim++] = *s++;); ^ == interp.c:2374:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; line[linelim++] = *s++;); ~~~~~~~~~~~~~~~~^~~~~~ interp.c:2374:28: note: place parentheses around the assignment to silence this warning for (; line[linelim++] = *s++;); ^ ( ) interp.c:2374:28: note: use '==' to turn this assignment into an equality comparison for (; line[linelim++] = *s++;); ^ == interp.c:2391:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; line[linelim++] = *s++;); ~~~~~~~~~~~~~~~~^~~~~~ interp.c:2391:28: note: place parentheses around the assignment to silence this warning for (; line[linelim++] = *s++;); ^ ( ) interp.c:2391:28: note: use '==' to turn this assignment into an equality comparison for (; line[linelim++] = *s++;); ^ == 69 warnings generated. cc -O2 -march=i586 -DBSD43 -DSIGVOID -c lex.c lex.c:113:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register tokenl; ~~~~~~~~ ^ lex.c:121:53: warning: '&&' within '||' [-Wlogical-op-parentheses] while (isalpha(*p) || ((*p == '_') || isdigit(*p)) && (tokenl > 2)) { ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ lex.c:121:53: note: place parentheses around the '&&' expression to silence this warning while (isalpha(*p) || ((*p == '_') || isdigit(*p)) && (tokenl > 2)) { ^ ( ) lex.c:147:13: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i = 1; ~~~~~~~~ ^ lex.c:157:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = find_range(tokenst, tokenl, ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lex.c:157:9: note: place parentheses around the assignment to silence this warning if (r = find_range(tokenst, tokenl, ^ lex.c:157:9: note: use '==' to turn this assignment into an equality comparison if (r = find_range(tokenst, tokenl, ^ == lex.c:398:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i,j; ~~~~~~~~ ^ lex.c:398:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i,j; ~~~~~~~~ ^ lex.c:405:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit (1); ^ lex.c:405:2: note: please include the header or explicitly provide a declaration for 'exit' lex.c:407:9: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration] if (tgetent(buf, ktmp) <= 0) ^ lex.c:419:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(ks, 1, charout); ^ lex.c:521:16: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] (void) alarm(1); ^ 10 warnings generated. cc -O2 -march=i586 -DBSD43 -c range.c range.c:246:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = find_range((char *)0, 0, v, v)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ range.c:246:11: note: place parentheses around the assignment to silence this warning if (r = find_range((char *)0, 0, v, v)) { ^ ( ) range.c:246:11: note: use '==' to turn this assignment into an equality comparison if (r = find_range((char *)0, 0, v, v)) { ^ == range.c:264:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = find_range((char *)0, 0, v1, v2)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ range.c:264:11: note: place parentheses around the assignment to silence this warning if (r = find_range((char *)0, 0, v1, v2)) { ^ ( ) range.c:264:11: note: use '==' to turn this assignment into an equality comparison if (r = find_range((char *)0, 0, v1, v2)) { ^ == 2 warnings generated. cc -O2 -march=i586 -DBSD43 -DDFLT_PAGER=\"more\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c sc.c:229:7: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ sc.c:229:7: note: please include the header or explicitly provide a declaration for 'exit' sc.c:770:11: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] (void)execl(shl,shl,"-c",cmd,(char *)0); ^ sc.c:776:21: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] while (pid != wait(&temp)); ^ sc.c:894:13: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register rcqual; ~~~~~~~~ ^ sc.c:1240:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register c1; ~~~~~~~~ ^ sc.c:1379:5: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' abort(); ^ sc.c:1379:5: note: please include the header or explicitly provide a declaration for 'abort' 6 warnings generated. cc -O2 -march=i586 -DBSD43 -DINTERNATIONAL -DSIGVOID -c screen.c screen.c:61:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register row, col; ~~~~~~~~ ^ screen.c:61:22: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register row, col; ~~~~~~~~ ^ screen.c:65:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register r; ~~~~~~~~ ^ screen.c:66:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i; ~~~~~~~~ ^ screen.c:249:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register c = RESCOL; ~~~~~~~~ ^ screen.c:338:8: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' if (strlen(field) > fwidth[col]) { ^ screen.c:338:8: note: please include the header or explicitly provide a declaration for 'strlen' screen.c:469:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void) printw(revmsg); ^~~~~~ 7 warnings generated. cc -O2 -march=i586 -DBSD43 -c version.c cc -O2 -march=i586 -DBSD43 -c vi.c vi.c:376:31: warning: '&&' within '||' [-Wlogical-op-parentheses] || istext(line[cpos]) && !istext(line[cpos-1]) ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ vi.c:376:31: note: place parentheses around the '&&' expression to silence this warning || istext(line[cpos]) && !istext(line[cpos-1]) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ vi.c:377:31: warning: '&&' within '||' [-Wlogical-op-parentheses] || !istext(line[cpos]) && istext(line[cpos-1]))) { ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ vi.c:377:31: note: place parentheses around the '&&' expression to silence this warning || !istext(line[cpos]) && istext(line[cpos-1]))) { ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ vi.c:574:9: warning: implicit declaration of function 'yyparse' is invalid in C99 [-Wimplicit-function-declaration] (void) yyparse (); ^ 3 warnings generated. cc -O2 -march=i586 -DBSD43 -c vmtbl.c vmtbl.c:124:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { error(nowider); ^~~~~~~ vmtbl.c:143:53: warning: format string is not a string literal (potentially insecure) [-Wformat-security] GROWALLOC(row_hidden2, row_hidden, newrows, char, nolonger); ^~~~~~~~ vmtbl.c:62:12: note: expanded from macro 'GROWALLOC' { error(msg); \ ^ vmtbl.c:144:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned int)' memset(row_hidden+maxrows, 0, (newrows-maxrows)*sizeof(char)); ^ ./sc.h:423:34: note: expanded from macro 'memset' #define memset(dest, zero, len) bzero((dest), (unsigned int)(len)); ^ vmtbl.c:144:3: note: please include the header or explicitly provide a declaration for 'bzero' ./sc.h:423:34: note: expanded from macro 'memset' #define memset(dest, zero, len) bzero((dest), (unsigned int)(len)); ^ vmtbl.c:150:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] GROWALLOC(tbl2, tbl, newrows, struct ent **, nolonger); ^~~~~~~~ vmtbl.c:62:12: note: expanded from macro 'GROWALLOC' { error(msg); \ ^ vmtbl.c:160:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security] GROWALLOC(fwidth2, fwidth, newcols, int, nowider); ^~~~~~~ vmtbl.c:62:12: note: expanded from macro 'GROWALLOC' { error(msg); \ ^ vmtbl.c:161:50: warning: format string is not a string literal (potentially insecure) [-Wformat-security] GROWALLOC(precision2, precision, newcols, int, nowider); ^~~~~~~ vmtbl.c:62:12: note: expanded from macro 'GROWALLOC' { error(msg); \ ^ vmtbl.c:162:46: warning: format string is not a string literal (potentially insecure) [-Wformat-security] GROWALLOC(realfmt2, realfmt, newcols, int, nowider); ^~~~~~~ vmtbl.c:62:12: note: expanded from macro 'GROWALLOC' { error(msg); \ ^ vmtbl.c:169:53: warning: format string is not a string literal (potentially insecure) [-Wformat-security] GROWALLOC(col_hidden2, col_hidden, newcols, char, nowider); ^~~~~~~ vmtbl.c:62:12: note: expanded from macro 'GROWALLOC' { error(msg); \ ^ vmtbl.c:182:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { error(nowider); ^~~~~~~ vmtbl.c:200:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { error(nowider); ^~~~~~~ 10 warnings generated. cc -O2 -march=i586 -DBSD43 -c xmalloc.c xmalloc.c:10:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ xmalloc.c:10:14: note: 'malloc' is a builtin with type 'void *(unsigned int)' xmalloc.c:11:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ xmalloc.c:11:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned int)' xmalloc.c:81:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ xmalloc.c:81:5: note: please include the header or explicitly provide a declaration for 'exit' 3 warnings generated. cc -Wl,-R/usr/pkg/lib cmds.o crypt.o format.o gram.o help.o interp.o lex.o range.o sc.o screen.o version.o vi.o vmtbl.o xmalloc.o -lm -lcurses -ltermcap -lcompat -o sc /usr/bin/ld: cannot find -lcompat clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/math/sc/work *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/math/sc *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/math/sc