=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for ratfor-1.0nb1
gcc -O2 -c -DF77 -DS_CHAR="char" rat4.c -orat4.o
rat4.c:177:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc,argv)
^~~~
rat4.c:187:12: warning: implicit declaration of function 'our_getopt' is invalid in C99 [-Wimplicit-function-declaration]
        while ((c=our_getopt(argc, argv, "Chn:o:6:")) != EOF)
                  ^
rat4.c:200:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
                                error("can't write %s\n", optarg);
                                ^
rat4.c:223:2: warning: implicit declaration of function 'initvars' is invalid in C99 [-Wimplicit-function-declaration]
        initvars();
        ^
rat4.c:225:2: warning: implicit declaration of function 'parse' is invalid in C99 [-Wimplicit-function-declaration]
        parse();                /* call parser.. */
        ^
rat4.c:233:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
initvars()
^~~~~~~~
rat4.c:248:2: warning: implicit declaration of function 'install' is invalid in C99 [-Wimplicit-function-declaration]
        install(def, deftyp);   /* default definitions */
        ^
rat4.c:253:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
rat4.c:259:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
parse()
^~~~~
rat4.c:266:15: warning: implicit declaration of function 'lex' is invalid in C99 [-Wimplicit-function-declaration]
        for (token = lex(lexstr); token != EOF; token = lex(lexstr)) {
                     ^
rat4.c:268:4: warning: implicit declaration of function 'ifcode' is invalid in C99 [-Wimplicit-function-declaration]
                        ifcode(&lab);
                        ^
rat4.c:270:4: warning: implicit declaration of function 'docode' is invalid in C99 [-Wimplicit-function-declaration]
                        docode(&lab);
                        ^
rat4.c:272:4: warning: implicit declaration of function 'whilec' is invalid in C99 [-Wimplicit-function-declaration]
                        whilec(&lab);
                        ^
rat4.c:274:4: warning: implicit declaration of function 'forcod' is invalid in C99 [-Wimplicit-function-declaration]
                        forcod(&lab);
                        ^
rat4.c:276:4: warning: implicit declaration of function 'repcod' is invalid in C99 [-Wimplicit-function-declaration]
                        repcod(&lab);
                        ^
rat4.c:278:4: warning: implicit declaration of function 'swcode' is invalid in C99 [-Wimplicit-function-declaration]
                        swcode(&lab);
                        ^
rat4.c:284:5: warning: implicit declaration of function 'synerr' is invalid in C99 [-Wimplicit-function-declaration]
                                synerr("illegal case of default.");
                                ^
rat4.c:286:5: warning: implicit declaration of function 'cascod' is invalid in C99 [-Wimplicit-function-declaration]
                                cascod(labval[i], token);
                                ^
rat4.c:289:4: warning: implicit declaration of function 'labelc' is invalid in C99 [-Wimplicit-function-declaration]
                        labelc(lexstr);
                        ^
rat4.c:292:5: warning: implicit declaration of function 'elseif' is invalid in C99 [-Wimplicit-function-declaration]
                                elseif(labval[sp]);
                                ^
rat4.c:302:5: warning: implicit declaration of function 'baderr' is invalid in C99 [-Wimplicit-function-declaration]
                                baderr("stack overflow in parser.");
                                ^
rat4.c:314:6: warning: implicit declaration of function 'swend' is invalid in C99 [-Wimplicit-function-declaration]
                                        swend(labval[sp]);
                                        ^
rat4.c:321:5: warning: implicit declaration of function 'otherc' is invalid in C99 [-Wimplicit-function-declaration]
                                otherc(lexstr);
                                ^
rat4.c:323:5: warning: implicit declaration of function 'brknxt' is invalid in C99 [-Wimplicit-function-declaration]
                                brknxt(sp, lextyp, labval, token);
                                ^
rat4.c:325:5: warning: implicit declaration of function 'retcod' is invalid in C99 [-Wimplicit-function-declaration]
                                retcod();
                                ^
rat4.c:327:5: warning: implicit declaration of function 'strdcl' is invalid in C99 [-Wimplicit-function-declaration]
                                strdcl();
                                ^
rat4.c:329:4: warning: implicit declaration of function 'pbstr' is invalid in C99 [-Wimplicit-function-declaration]
                        pbstr(lexstr);
                        ^
rat4.c:330:4: warning: implicit declaration of function 'unstak' is invalid in C99 [-Wimplicit-function-declaration]
                        unstak(&sp, lextyp, labval, token);
                        ^
rat4.c:335:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
rat4.c:355:7: warning: implicit declaration of function 'type' is invalid in C99 [-Wimplicit-function-declaration]
                if (type(str[i]) != DIGIT)
                    ^
rat4.c:366:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
balpar()
^~~~~~
rat4.c:371:6: warning: implicit declaration of function 'gnbtok' is invalid in C99 [-Wimplicit-function-declaration]
        if (gnbtok(token, MAXTOK) != LPAREN) {
            ^
rat4.c:373:3: error: non-void function 'balpar' should return a value [-Wreturn-type]
                return;
                ^
rat4.c:375:2: warning: implicit declaration of function 'outstr' is invalid in C99 [-Wimplicit-function-declaration]
        outstr(token);
        ^
rat4.c:378:7: warning: implicit declaration of function 'gettok' is invalid in C99 [-Wimplicit-function-declaration]
                t = gettok(token, MAXTOK);
                    ^
rat4.c:410:9: warning: implicit declaration of function 'gtok' is invalid in C99 [-Wimplicit-function-declaration]
        for (t=gtok(token, toksiz, fd); t!=EOF; t=gtok(token, toksiz, fd)) {
               ^
rat4.c:413:7: warning: implicit declaration of function 'look' is invalid in C99 [-Wimplicit-function-declaration]
                if (look(token, defn) == NO)   /* undefined */
                    ^
rat4.c:416:4: warning: implicit declaration of function 'getdef' is invalid in C99 [-Wimplicit-function-declaration]
                        getdef(token, toksiz, defn, MAXDEF, fd);
                        ^
rat4.c:423:3: warning: implicit declaration of function 'fold' is invalid in C99 [-Wimplicit-function-declaration]
                fold(token);
                ^
rat4.c:432:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
eatup()
^~~~~
rat4.c:478:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getdef(token, toksiz, defn, defsiz, fd)
^~~~~~
rat4.c:488:2: warning: implicit declaration of function 'skpblk' is invalid in C99 [-Wimplicit-function-declaration]
        skpblk(fd);
        ^
rat4.c:514:4: warning: implicit declaration of function 'putbak' is invalid in C99 [-Wimplicit-function-declaration]
                        putbak(c);
                        ^
rat4.c:553:12: warning: implicit declaration of function 'equal' is invalid in C99 [-Wimplicit-function-declaration]
                            if (equal(token, fncn) == YES) {
                                ^
rat4.c:597:7: warning: implicit declaration of function 'scopy' is invalid in C99 [-Wimplicit-function-declaration]
                                                scopy(name, 0, fnames, fnamp);
                                                ^
rat4.c:650:6: warning: implicit declaration of function 'outasis' is invalid in C99 [-Wimplicit-function-declaration]
                          outasis(fd);          /* copy direct to output if % */
                          ^
rat4.c:656:6: warning: implicit declaration of function 'outcmnt' is invalid in C99 [-Wimplicit-function-declaration]
                          outcmnt(fd);          /* copy comments to output */
                          ^
rat4.c:714:8: warning: implicit declaration of function 'itoc' is invalid in C99 [-Wimplicit-function-declaration]
                        i = itoc(n, lexstr, toksiz);
                            ^
rat4.c:763:7: warning: implicit declaration of function 'relate' is invalid in C99 [-Wimplicit-function-declaration]
                i = relate(lexstr, fd);
                    ^
rat4.c:886:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pbstr(in)
^~~~~
rat4.c:899:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
putbak(c)
^~~~~~
rat4.c:973:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
skpblk(fd)
^~~~~~
rat4.c:1012:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
brknxt(sp, lextyp, labval, token)
^~~~~~
rat4.c:1025:7: warning: implicit declaration of function 'ctoi' is invalid in C99 [-Wimplicit-function-declaration]
                n = ctoi(ptoken, &i) - 1;
                    ^
rat4.c:1037:5: warning: implicit declaration of function 'outgo' is invalid in C99 [-Wimplicit-function-declaration]
                                outgo(labval[i]+1);
                                ^
rat4.c:1044:4: error: non-void function 'brknxt' should return a value [-Wreturn-type]
                        return;
                        ^
rat4.c:1050:2: error: non-void function 'brknxt' should return a value [-Wreturn-type]
        return;
        ^
rat4.c:1057:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
docode(lab)
^~~~~~
rat4.c:1061:2: warning: implicit declaration of function 'outtab' is invalid in C99 [-Wimplicit-function-declaration]
        outtab();
        ^
rat4.c:1063:9: warning: implicit declaration of function 'labgen' is invalid in C99 [-Wimplicit-function-declaration]
        *lab = labgen(2);
               ^
rat4.c:1064:2: warning: implicit declaration of function 'outnum' is invalid in C99 [-Wimplicit-function-declaration]
        outnum(*lab);
        ^
rat4.c:1066:2: warning: implicit declaration of function 'outdon' is invalid in C99 [-Wimplicit-function-declaration]
        outdon();
        ^
rat4.c:1073:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dostat(lab)
^~~~~~
rat4.c:1076:2: warning: implicit declaration of function 'outcon' is invalid in C99 [-Wimplicit-function-declaration]
        outcon(lab);
        ^
rat4.c:1084:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
elseif(lab)
^~~~~~
rat4.c:1102:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
forcod(lab)
^~~~~~
rat4.c:1113:3: error: non-void function 'forcod' should return a value [-Wreturn-type]
                return;
                ^
rat4.c:1128:3: warning: implicit declaration of function 'outch' is invalid in C99 [-Wimplicit-function-declaration]
                outch(LPAREN);
                ^
rat4.c:1140:5: error: non-void function 'forcod' should return a value [-Wreturn-type]
                                return;
                                ^
rat4.c:1185:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fors(lab)
^~~~
rat4.c:1209:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ifcode(lab)
^~~~~~
rat4.c:1216:2: warning: implicit declaration of function 'ifthen' is invalid in C99 [-Wimplicit-function-declaration]
        ifthen();
        ^
rat4.c:1227:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ifend()
^~~~~
rat4.c:1239:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ifgo(lab)
^~~~
rat4.c:1255:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ifthen()
^~~~~~
rat4.c:1269:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
labelc(lexstr)
^~~~~~
rat4.c:1300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
otherc(lexstr)
^~~~~~
rat4.c:1314:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
outch(c)
^~~~~
rat4.c:1334:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
outcon(n)
^~~~~~
rat4.c:1339:3: error: non-void function 'outcon' should return a value [-Wreturn-type]
                return;            /* don't need unlabeled continues */
                ^
rat4.c:1351:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
outdon()
^~~~~~
rat4.c:1364:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
outcmnt(fd)
^~~~~~~
rat4.c:1376:15: warning: array index of '81' indexes past the end of an array (that contains 81 elements) [-Warray-bounds]
              comout[81]=EOS;
              ^      ~~
rat4.c:1368:9: note: array 'comout' declared here
        S_CHAR comout[81];
        ^
<command line>:2:16: note: expanded from:
#define S_CHAR char
               ^
rat4.c:1394:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
outasis(fd)
^~~~~~~
rat4.c:1407:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
outgo(n)
^~~~~
rat4.c:1411:3: error: non-void function 'outgo' should return a value [-Wreturn-type]
                return;
                ^
rat4.c:1422:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
outnum(n)
^~~~~~
rat4.c:1449:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
outstr(str)
^~~~~~
rat4.c:1462:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
outtab()
^~~~~~
rat4.c:1473:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
repcod(lab)
^~~~~~
rat4.c:1490:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
retcod()
^~~~~~
rat4.c:1513:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
strdcl()
^~~~~~
rat4.c:1577:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
unstak(sp, lextyp, labval, token)
^~~~~~
rat4.c:1611:4: warning: implicit declaration of function 'whiles' is invalid in C99 [-Wimplicit-function-declaration]
                        whiles(labval[tp]);
                        ^
rat4.c:1615:4: warning: implicit declaration of function 'untils' is invalid in C99 [-Wimplicit-function-declaration]
                        untils(labval[tp], token);
                        ^
rat4.c:1624:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
untils(lab, token)
^~~~~~
rat4.c:1645:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
whilec(lab)
^~~~~~
rat4.c:1666:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
whiles(lab)
^~~~~~
rat4.c:1684:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
baderr(msg)
^~~~~~
rat4.c:1694:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
error(msg, s)
^~~~~
rat4.c:1705:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
synerr(msg)
^~~~~~
rat4.c:1711:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf(stderr,errmsg);
                       ^~~~~~
rat4.c:1717:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf(stderr,(char*)lc);
                       ^      ~~
rat4.c:1720:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        fprintf(stderr,in);
                                       ^~
rat4.c:1721:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        fprintf(stderr,(char*)&fnames[i]);
                                       ^      ~~~~~~~~~~
rat4.c:1758:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fold(token)
^~~~
rat4.c:1795:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
scopy(from, i, to, j)
^~~~~
rat4.c:1867:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
cascod (lab, token)
^~~~~~
rat4.c:1876:3: error: non-void function 'cascod' should return a value [-Wreturn-type]
                return;
                ^
rat4.c:1882:10: warning: implicit declaration of function 'caslab' is invalid in C99 [-Wimplicit-function-declaration]
                while (caslab (&lb, &t) != EOF) {
                       ^
rat4.c:1969:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
swcode (lab)
^~~~~~
rat4.c:1984:2: warning: implicit declaration of function 'swvar' is invalid in C99 [-Wimplicit-function-declaration]
        swvar(*lab);
        ^
rat4.c:2002:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
swend(lab)
^~~~~
rat4.c:2099:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
swvar  (lab)
^~~~~
106 warnings and 8 errors generated.
gmake: *** [rat4.o] Error 1
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/devel/ratfor
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/devel/ratfor
