The following packages will be installed: LLgen Fetching LLgen.SlackBuild... 0%100%100%100%100%100%Done Fetching LLgen.info... 0%100%100%100%100%100%Done Fetching README... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done LLgen/ LLgen/lib/ LLgen/lib/nc_incl LLgen/lib/.distr LLgen/lib/incl LLgen/lib/rec LLgen/lib/nc_rec LLgen/src/ LLgen/src/savegram.c LLgen/src/Makefile LLgen/src/LLgen.c LLgen/src/.distr LLgen/src/LLgen.g LLgen/src/alloc.c LLgen/src/cclass.h LLgen/src/check.c LLgen/src/compute.c LLgen/src/extern.h LLgen/src/global.c LLgen/src/io.h LLgen/src/machdep.c LLgen/src/main.c LLgen/src/name.c LLgen/src/gencode.c LLgen/src/reach.c LLgen/src/sets.c LLgen/src/sets.h LLgen/src/cclass.c LLgen/src/proto.make LLgen/src/types.h LLgen/src/tokens.c LLgen/src/Lpars.h LLgen/src/Lpars.c LLgen/src/parser LLgen/src/Lpars.c.dist LLgen/src/Lpars.h.dist LLgen/src/LLgen.c.dist LLgen/src/tokens.c.dist LLgen/src/tokens.g LLgen/.distr LLgen/COPYING LLgen/LLgen.1 LLgen/Makefile LLgen/READ_ME LLgen/proto.make LLgen/doc/ LLgen/doc/LLgen.ps LLgen/doc/LLgen_NCER.ps cd src; make LIBDIR=/usr/lib/LLgen make[1]: Entering directory '/usr/src/slapt-src/development/LLgen/LLgen/src' make[2]: Entering directory '/usr/src/slapt-src/development/LLgen/LLgen/src' gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o main.o main.c main.c:31:17: warning: type defaults to ‘int’ in declaration of ‘readgrammar’ [-Wimplicit-int] 31 | STATIC readgrammar(); | ^~~~~~~~~~~ main.c:32:17: warning: type defaults to ‘int’ in declaration of ‘doparse’ [-Wimplicit-int] 32 | STATIC doparse(); | ^~~~~~~ main.c:33:17: warning: type defaults to ‘int’ in declaration of ‘error’ [-Wimplicit-int] 33 | extern error(); | ^~~~~ main.c:34:17: warning: type defaults to ‘int’ in declaration of ‘fatal’ [-Wimplicit-int] 34 | extern fatal(); | ^~~~~ main.c:35:17: warning: type defaults to ‘int’ in declaration of ‘comfatal’ [-Wimplicit-int] 35 | extern comfatal(); | ^~~~~~~~ main.c:36:17: warning: type defaults to ‘int’ in declaration of ‘copyfile’ [-Wimplicit-int] 36 | extern copyfile(); | ^~~~~~~~ main.c:37:17: warning: type defaults to ‘int’ in declaration of ‘install’ [-Wimplicit-int] 37 | extern install(); | ^~~~~~~ main.c:41:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 41 | main(argc,argv) register string argv[]; { | ^~~~ main.c: In function ‘main’: main.c:41:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] main.c:58:66: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration] 58 | min_cases_for_jmptable = atoi(arg); | ^~~~ main.c:123:33: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 123 | exit(1); | ^~~~ main.c:24:1: note: include ‘’ or provide a declaration of ‘exit’ 23 | # include "assert.h" +++ |+#include 24 | main.c:123:33: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] 123 | exit(1); | ^~~~ main.c:123:33: note: include ‘’ or provide a declaration of ‘exit’ main.c:169:17: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] 169 | exit(1); | ^~~~ main.c:169:17: note: include ‘’ or provide a declaration of ‘exit’ main.c:171:9: warning: implicit declaration of function ‘name_init’ [-Wimplicit-function-declaration] 171 | name_init(); | ^~~~~~~~~ main.c:184:9: warning: implicit declaration of function ‘setinit’ [-Wimplicit-function-declaration] 184 | setinit(ntneeded); | ^~~~~~~ main.c:190:9: warning: implicit declaration of function ‘co_reach’ [-Wimplicit-function-declaration] 190 | co_reach(); /* Check for undefined and unreachable */ | ^~~~~~~~ main.c:192:9: warning: implicit declaration of function ‘do_compute’ [-Wimplicit-function-declaration] 192 | do_compute(); | ^~~~~~~~~~ main.c:193:9: warning: implicit declaration of function ‘conflchecks’ [-Wimplicit-function-declaration] 193 | conflchecks(); | ^~~~~~~~~~~ main.c:200:17: warning: implicit declaration of function ‘gencode’ [-Wimplicit-function-declaration] 200 | else gencode(argc); | ^~~~~~~ main.c:201:9: warning: implicit declaration of function ‘UNLINK’ [-Wimplicit-function-declaration] 201 | UNLINK(f_temp); | ^~~~~~ main.c:210:9: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] 210 | exit(0); | ^~~~ main.c:210:9: note: include ‘’ or provide a declaration of ‘exit’ main.c: At top level: main.c:214:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 214 | readgrammar(argc,argv) char *argv[]; { | ^~~~~~~~~~~ main.c: In function ‘readgrammar’: main.c:214:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] main.c: At top level: main.c:253:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 253 | doparse(p) register p_file p; { | ^~~~~~~ main.c: In function ‘doparse’: main.c:261:9: warning: implicit declaration of function ‘LLparse’; did you mean ‘doparse’? [-Wimplicit-function-declaration] 261 | LLparse(); | ^~~~~~~ | doparse main.c: At top level: main.c:267:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 267 | error(lineno,s,t,u) string s,t,u; { | ^~~~~ main.c: In function ‘error’: main.c:267:1: warning: type of ‘lineno’ defaults to ‘int’ [-Wimplicit-int] main.c: At top level: main.c:280:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 280 | warning(lineno,s,t,u) string s,t,u; { | ^~~~~~~ main.c: In function ‘warning’: main.c:280:1: warning: type of ‘lineno’ defaults to ‘int’ [-Wimplicit-int] main.c:285:20: warning: ‘return’ with no value, in function returning non-void 285 | if (wflag) return; | ^~~~~~ main.c:280:1: note: declared here 280 | warning(lineno,s,t,u) string s,t,u; { | ^~~~~~~ main.c: At top level: main.c:293:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 293 | fatal(lineno,s,t,u) string s,t,u; { | ^~~~~ main.c: In function ‘fatal’: main.c:293:1: warning: type of ‘lineno’ defaults to ‘int’ [-Wimplicit-int] main.c: At top level: main.c:301:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 301 | comfatal() { | ^~~~~~~~ main.c: In function ‘comfatal’: main.c:311:9: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] 311 | exit(1); | ^~~~ main.c:311:9: note: include ‘’ or provide a declaration of ‘exit’ main.c: At top level: main.c:314:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 314 | copyfile(file) string file; { | ^~~~~~~~ main.c:328:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 328 | install(target, source) string target, source; { | ^~~~~~~ main.c: In function ‘install’: main.c:349:17: warning: implicit declaration of function ‘RENAME’ [-Wimplicit-function-declaration] 349 | RENAME(f_pars, target); | ^~~~~~ main.c:350:17: warning: ‘return’ with no value, in function returning non-void 350 | return; | ^~~~~~ main.c:328:1: note: declared here 328 | install(target, source) string target, source; { | ^~~~~~~ main.c:356:15: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 356 | cnt = strlen(LLgenid) + strlen(source) - 2; | ^~~~~~ main.c:24:1: note: include ‘’ or provide a declaration of ‘strlen’ 23 | # include "assert.h" +++ |+#include 24 | main.c:356:15: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 356 | cnt = strlen(LLgenid) + strlen(source) - 2; | ^~~~~~ main.c:356:15: note: include ‘’ or provide a declaration of ‘strlen’ gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o gencode.o gencode.c gencode.c:50:17: warning: type defaults to ‘int’ in declaration of ‘gencode’ [-Wimplicit-int] 50 | extern gencode(); | ^~~~~~~ gencode.c:51:17: warning: type defaults to ‘int’ in declaration of ‘opentemp’ [-Wimplicit-int] 51 | STATIC opentemp(); | ^~~~~~~~ gencode.c:52:17: warning: type defaults to ‘int’ in declaration of ‘geninclude’ [-Wimplicit-int] 52 | STATIC geninclude(); | ^~~~~~~~~~ gencode.c:53:17: warning: type defaults to ‘int’ in declaration of ‘genrecovery’ [-Wimplicit-int] 53 | STATIC genrecovery(); | ^~~~~~~~~~~ gencode.c:55:17: warning: type defaults to ‘int’ in declaration of ‘genncrecovery’ [-Wimplicit-int] 55 | STATIC genncrecovery(); | ^~~~~~~~~~~~~ gencode.c:58:17: warning: type defaults to ‘int’ in declaration of ‘generate’ [-Wimplicit-int] 58 | STATIC generate(); | ^~~~~~~~ gencode.c:59:17: warning: type defaults to ‘int’ in declaration of ‘prset’ [-Wimplicit-int] 59 | STATIC prset(); | ^~~~~ gencode.c:60:17: warning: type defaults to ‘int’ in declaration of ‘macro’ [-Wimplicit-int] 60 | STATIC macro(); | ^~~~~ gencode.c:61:17: warning: type defaults to ‘int’ in declaration of ‘controlline’ [-Wimplicit-int] 61 | STATIC controlline(); | ^~~~~~~~~~~ gencode.c:62:17: warning: type defaults to ‘int’ in declaration of ‘getparams’ [-Wimplicit-int] 62 | STATIC getparams(); | ^~~~~~~~~ gencode.c:63:17: warning: type defaults to ‘int’ in declaration of ‘getansiparams’ [-Wimplicit-int] 63 | STATIC getansiparams(); | ^~~~~~~~~~~~~ gencode.c:64:17: warning: type defaults to ‘int’ in declaration of ‘genprototypes’ [-Wimplicit-int] 64 | STATIC genprototypes(); | ^~~~~~~~~~~~~ gencode.c:65:17: warning: type defaults to ‘int’ in declaration of ‘gettok’ [-Wimplicit-int] 65 | STATIC gettok(); | ^~~~~~ gencode.c:66:17: warning: type defaults to ‘int’ in declaration of ‘rulecode’ [-Wimplicit-int] 66 | STATIC rulecode(); | ^~~~~~~~ gencode.c:69:17: warning: type defaults to ‘int’ in declaration of ‘getaction’ [-Wimplicit-int] 69 | STATIC getaction(); | ^~~~~~~~~ gencode.c:70:17: warning: type defaults to ‘int’ in declaration of ‘alternation’ [-Wimplicit-int] 70 | STATIC alternation(); | ^~~~~~~~~~~ gencode.c:71:17: warning: type defaults to ‘int’ in declaration of ‘codeforterm’ [-Wimplicit-int] 71 | STATIC codeforterm(); | ^~~~~~~~~~~ gencode.c:72:17: warning: type defaults to ‘int’ in declaration of ‘genswhead’ [-Wimplicit-int] 72 | STATIC genswhead(); | ^~~~~~~~~ gencode.c:73:17: warning: type defaults to ‘int’ in declaration of ‘gencases’ [-Wimplicit-int] 73 | STATIC gencases(); | ^~~~~~~~ gencode.c:74:17: warning: type defaults to ‘int’ in declaration of ‘genpush’ [-Wimplicit-int] 74 | STATIC genpush(); | ^~~~~~~ gencode.c:75:17: warning: type defaults to ‘int’ in declaration of ‘genpop’ [-Wimplicit-int] 75 | STATIC genpop(); | ^~~~~~ gencode.c:76:17: warning: type defaults to ‘int’ in declaration of ‘genincrdecr’ [-Wimplicit-int] 76 | STATIC genincrdecr(); | ^~~~~~~~~~~ gencode.c:77:17: warning: type defaults to ‘int’ in declaration of ‘add_cases’ [-Wimplicit-int] 77 | STATIC add_cases(); | ^~~~~~~~~ gencode.c:79:17: warning: type defaults to ‘int’ in declaration of ‘out_list’ [-Wimplicit-int] 79 | STATIC out_list(); | ^~~~~~~~ gencode.c:80:17: warning: type defaults to ‘int’ in declaration of ‘genextname’ [-Wimplicit-int] 80 | STATIC genextname(); | ^~~~~~~~~~ gencode.c:81:17: warning: type defaults to ‘int’ in declaration of ‘correct_prefix’ [-Wimplicit-int] 81 | STATIC correct_prefix(); | ^~~~~~~~~~~~~~ gencode.c:87:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 87 | doclose(f) | ^~~~~~~ gencode.c: In function ‘doclose’: gencode.c:91:17: warning: implicit declaration of function ‘fatal’ [-Wimplicit-function-declaration] 91 | fatal(0,"Write error on temporary"); | ^~~~~ gencode.c: At top level: gencode.c:108:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 108 | genhdr() | ^~~~~~ gencode.c: In function ‘genhdr’: gencode.c:119:9: warning: implicit declaration of function ‘copyfile’ [-Wimplicit-function-declaration] 119 | copyfile(incl_file); | ^~~~~~~~ gencode.c: At top level: gencode.c:122:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 122 | gencode(argc) { | ^~~~~~~ gencode.c: In function ‘gencode’: gencode.c:122:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] gencode.c:151:17: warning: implicit declaration of function ‘install’ [-Wimplicit-function-declaration] 151 | install(genname(p->f_name),p->f_name); | ^~~~~~~ gencode.c: At top level: gencode.c:161:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 161 | opentemp(str) string str; { | ^~~~~~~~ gencode.c:171:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 171 | geninclude() { | ^~~~~~~~~~ gencode.c:196:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 196 | genrecovery() { | ^~~~~~~~~~~ gencode.c: In function ‘genrecovery’: gencode.c:216:25: warning: implicit declaration of function ‘findindex’ [-Wimplicit-function-declaration] 216 | findindex(p->n_contains); | ^~~~~~~~~ gencode.c:292:9: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 292 | free((p_mem) index); | ^~~~ gencode.c:27:1: note: include ‘’ or provide a declaration of ‘free’ 26 | # include "cclass.h" +++ |+#include 27 | gencode.c:292:9: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 292 | free((p_mem) index); | ^~~~ gencode.c:292:9: note: include ‘’ or provide a declaration of ‘free’ gencode.c: At top level: gencode.c:308:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 308 | genncrecovery() { | ^~~~~~~~~~~~~ gencode.c: In function ‘genncrecovery’: gencode.c:321:5: warning: implicit declaration of function ‘save_grammar’ [-Wimplicit-function-declaration] 321 | save_grammar(f); | ^~~~~~~~~~~~ gencode.c:336:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 336 | free((p_mem) index); | ^~~~ gencode.c:336:5: note: include ‘’ or provide a declaration of ‘free’ gencode.c: At top level: gencode.c:347:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 347 | generate(f) p_file f; { | ^~~~~~~~ gencode.c:417:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 417 | prset(p) p_set p; { | ^~~~~ gencode.c: In function ‘prset’: gencode.c:430:33: warning: ‘return’ with no value, in function returning non-void 430 | return; | ^~~~~~ gencode.c:417:1: note: declared here 417 | prset(p) p_set p; { | ^~~~~ gencode.c: At top level: gencode.c:438:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 438 | macro(s,n) string s; p_nont n; { | ^~~~~ gencode.c: In function ‘macro’: gencode.c:446:17: warning: ‘return’ with no value, in function returning non-void 446 | return; | ^~~~~~ gencode.c:438:1: note: declared here 438 | macro(s,n) string s; p_nont n; { | ^~~~~ gencode.c: At top level: gencode.c:453:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 453 | controlline() { | ^~~~~~~~~~~ gencode.c:469:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 469 | getparams() { | ^~~~~~~~~ gencode.c:512:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 512 | genprototypes(f) | ^~~~~~~~~~~~~ gencode.c:559:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 559 | getansiparams(mkdef) { | ^~~~~~~~~~~~~ gencode.c: In function ‘getansiparams’: gencode.c:559:1: warning: type of ‘mkdef’ defaults to ‘int’ [-Wimplicit-int] gencode.c: At top level: gencode.c:590:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 590 | gettok() { | ^~~~~~ gencode.c:628:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 628 | rulecode(p,safety,mustscan,mustpop) register p_gram p; { | ^~~~~~~~ gencode.c: In function ‘rulecode’: gencode.c:628:1: warning: type of ‘safety’ defaults to ‘int’ [-Wimplicit-int] gencode.c:628:1: warning: type of ‘mustscan’ defaults to ‘int’ [-Wimplicit-int] gencode.c:628:1: warning: type of ‘mustpop’ defaults to ‘int’ [-Wimplicit-int] gencode.c:655:9: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 655 | free((p_mem) pushlist); | ^~~~ gencode.c:655:9: note: include ‘’ or provide a declaration of ‘free’ gencode.c:663:25: warning: ‘return’ with no value, in function returning non-void 663 | return; | ^~~~~~ gencode.c:628:1: note: declared here 628 | rulecode(p,safety,mustscan,mustpop) register p_gram p; { | ^~~~~~~~ gencode.c:730:25: warning: ‘return’ with no value, in function returning non-void 730 | return; | ^~~~~~ gencode.c:628:1: note: declared here 628 | rulecode(p,safety,mustscan,mustpop) register p_gram p; { | ^~~~~~~~ gencode.c: At top level: gencode.c:738:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 738 | alternation(pp, safety, mustscan, mustpop, lb) | ^~~~~~~~~~~ gencode.c: In function ‘alternation’: gencode.c:738:1: warning: type of ‘safety’ defaults to ‘int’ [-Wimplicit-int] gencode.c:738:1: warning: type of ‘mustscan’ defaults to ‘int’ [-Wimplicit-int] gencode.c:738:1: warning: type of ‘mustpop’ defaults to ‘int’ [-Wimplicit-int] gencode.c:738:1: warning: type of ‘lb’ defaults to ‘int’ [-Wimplicit-int] gencode.c:770:53: warning: ‘return’ with no value, in function returning non-void 770 | if (g_gettype(p) == EORULE) return; | ^~~~~~ gencode.c:738:1: note: declared here 738 | alternation(pp, safety, mustscan, mustpop, lb) | ^~~~~~~~~~~ gencode.c:786:33: warning: implicit declaration of function ‘setunion’ [-Wimplicit-function-declaration] 786 | setunion(set, l->l_others); | ^~~~~~~~ gencode.c:787:33: warning: implicit declaration of function ‘setintersect’ [-Wimplicit-function-declaration] 787 | setintersect(set, l->l_symbs); | ^~~~~~~~~~~~ gencode.c:788:33: warning: implicit declaration of function ‘setminus’ [-Wimplicit-function-declaration] 788 | setminus(l->l_symbs, set); | ^~~~~~~~ gencode.c:804:33: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 804 | free((p_mem) set); | ^~~~ gencode.c:804:33: note: include ‘’ or provide a declaration of ‘free’ gencode.c:807:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 807 | free((p_mem) set); | ^~~~ gencode.c:807:25: note: include ‘’ or provide a declaration of ‘free’ gencode.c:890:9: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 890 | free((p_mem) tokenlist); | ^~~~ gencode.c:890:9: note: include ‘’ or provide a declaration of ‘free’ gencode.c: In function ‘dopush’: gencode.c:894:1: warning: type of ‘safety’ defaults to ‘int’ [-Wimplicit-int] 894 | dopush(p,safety,toplevel,pp) register p_gram p; int **pp; { | ^~~~~~ gencode.c:894:1: warning: type of ‘toplevel’ defaults to ‘int’ [-Wimplicit-int] gencode.c: At top level: gencode.c:959:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 959 | getaction(flag) { | ^~~~~~~~~ gencode.c: In function ‘getaction’: gencode.c:959:1: warning: type of ‘flag’ defaults to ‘int’ [-Wimplicit-int] gencode.c:980:35: warning: ‘return’ with no value, in function returning non-void 980 | if (mark) return; | ^~~~~~ gencode.c:959:1: note: declared here 959 | getaction(flag) { | ^~~~~~~~~ gencode.c: At top level: gencode.c:995:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 995 | codeforterm(q,safety,toplevel) register p_term q; { | ^~~~~~~~~~~ gencode.c: In function ‘codeforterm’: gencode.c:995:1: warning: type of ‘safety’ defaults to ‘int’ [-Wimplicit-int] gencode.c:995:1: warning: type of ‘toplevel’ defaults to ‘int’ [-Wimplicit-int] gencode.c:1053:18: warning: implicit declaration of function ‘t_safety’ [-Wimplicit-function-declaration] 1053 | t_safety(rep_kind,rep_count,term_is_persistent,safety), | ^~~~~~~~ gencode.c:1081:16: warning: implicit declaration of function ‘t_after’ [-Wimplicit-function-declaration] 1081 | return t_after(rep_kind, rep_count, gettout(q)); | ^~~~~~~ gencode.c: At top level: gencode.c:1085:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1085 | genswhead(q, rep_kind, rep_count, safety, ispushed) register p_term q; { | ^~~~~~~~~ gencode.c: In function ‘genswhead’: gencode.c:1085:1: warning: type of ‘rep_kind’ defaults to ‘int’ [-Wimplicit-int] gencode.c:1085:1: warning: type of ‘rep_count’ defaults to ‘int’ [-Wimplicit-int] gencode.c:1085:1: warning: type of ‘safety’ defaults to ‘int’ [-Wimplicit-int] gencode.c:1085:1: warning: type of ‘ispushed’ defaults to ‘int’ [-Wimplicit-int] gencode.c:1118:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1118 | free((p_mem) p1); | ^~~~ gencode.c:1118:25: note: include ‘’ or provide a declaration of ‘free’ gencode.c:1180:9: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1180 | free((p_mem) tokenlist); | ^~~~ gencode.c:1180:9: note: include ‘’ or provide a declaration of ‘free’ gencode.c: At top level: gencode.c:1184:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1184 | gencases(tokenlist, caseno, compacted) | ^~~~~~~~ gencode.c: In function ‘gencases’: gencode.c:1184:1: warning: type of ‘caseno’ defaults to ‘int’ [-Wimplicit-int] gencode.c:1184:1: warning: type of ‘compacted’ defaults to ‘int’ [-Wimplicit-int] gencode.c: At top level: gencode.c:1250:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1250 | genpush(d) { | ^~~~~~~ gencode.c: In function ‘genpush’: gencode.c:1250:1: warning: type of ‘d’ defaults to ‘int’ [-Wimplicit-int] gencode.c: At top level: gencode.c:1255:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1255 | genincrdecr(s, d) string s; { | ^~~~~~~~~~~ gencode.c: In function ‘genincrdecr’: gencode.c:1255:1: warning: type of ‘d’ defaults to ‘int’ [-Wimplicit-int] gencode.c:1256:25: warning: ‘return’ with no value, in function returning non-void 1256 | if (d == NOPOP) return; | ^~~~~~ gencode.c:1255:1: note: declared here 1255 | genincrdecr(s, d) string s; { | ^~~~~~~~~~~ gencode.c:1259:17: warning: ‘return’ with no value, in function returning non-void 1259 | return; | ^~~~~~ gencode.c:1255:1: note: declared here 1255 | genincrdecr(s, d) string s; { | ^~~~~~~~~~~ gencode.c: At top level: gencode.c:1265:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1265 | genpop(d) { | ^~~~~~ gencode.c: In function ‘genpop’: gencode.c:1265:1: warning: type of ‘d’ defaults to ‘int’ [-Wimplicit-int] gencode.c: At top level: gencode.c:1294:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1294 | add_cases(s, tokenlist, caseno) | ^~~~~~~~~ gencode.c: In function ‘add_cases’: gencode.c:1294:1: warning: type of ‘caseno’ defaults to ‘int’ [-Wimplicit-int] gencode.c: At top level: gencode.c:1308:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1308 | out_list(tokenlist, listno, casecnt) | ^~~~~~~~ gencode.c: In function ‘out_list’: gencode.c:1308:1: warning: type of ‘listno’ defaults to ‘int’ [-Wimplicit-int] gencode.c:1308:1: warning: type of ‘casecnt’ defaults to ‘int’ [-Wimplicit-int] gencode.c: At top level: gencode.c:1326:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1326 | genextname(d, s, f) | ^~~~~~~~~~ gencode.c: In function ‘genextname’: gencode.c:1326:1: warning: type of ‘d’ defaults to ‘int’ [-Wimplicit-int] gencode.c: At top level: gencode.c:1334:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1334 | correct_prefix() | ^~~~~~~~~~~~~~ gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o compute.o compute.c compute.c:41:8: warning: type defaults to ‘int’ in declaration of ‘do_compute’ [-Wimplicit-int] 41 | extern do_compute(); | ^~~~~~~~~~ compute.c:42:8: warning: type defaults to ‘int’ in declaration of ‘createsets’ [-Wimplicit-int] 42 | STATIC createsets(); | ^~~~~~~~~~ compute.c:43:8: warning: type defaults to ‘int’ in declaration of ‘walk’ [-Wimplicit-int] 43 | STATIC walk(); | ^~~~ compute.c:44:8: warning: type defaults to ‘int’ in declaration of ‘co_trans’ [-Wimplicit-int] 44 | STATIC co_trans(); | ^~~~~~~~ compute.c:46:8: warning: type defaults to ‘int’ in declaration of ‘empty’ [-Wimplicit-int] 46 | extern empty(); | ^~~~~ compute.c:48:8: warning: type defaults to ‘int’ in declaration of ‘first’ [-Wimplicit-int] 48 | STATIC first(); | ^~~~~ compute.c:50:8: warning: type defaults to ‘int’ in declaration of ‘follow’ [-Wimplicit-int] 50 | STATIC follow(); | ^~~~~~ compute.c:51:8: warning: type defaults to ‘int’ in declaration of ‘co_dirsymb’ [-Wimplicit-int] 51 | STATIC co_dirsymb(); | ^~~~~~~~~~ compute.c:52:8: warning: type defaults to ‘int’ in declaration of ‘co_others’ [-Wimplicit-int] 52 | STATIC co_others(); | ^~~~~~~~~ compute.c:53:8: warning: type defaults to ‘int’ in declaration of ‘do_lengthcomp’ [-Wimplicit-int] 53 | STATIC do_lengthcomp(); | ^~~~~~~~~~~~~ compute.c:54:8: warning: type defaults to ‘int’ in declaration of ‘complength’ [-Wimplicit-int] 54 | STATIC complength(); | ^~~~~~~~~~ compute.c:55:8: warning: type defaults to ‘int’ in declaration of ‘add’ [-Wimplicit-int] 55 | STATIC add(); | ^~~ compute.c:57:8: warning: type defaults to ‘int’ in declaration of ‘setdefaults’ [-Wimplicit-int] 57 | STATIC setdefaults(); | ^~~~~~~~~~~ compute.c:58:8: warning: type defaults to ‘int’ in declaration of ‘do_contains’ [-Wimplicit-int] 58 | STATIC do_contains(); | ^~~~~~~~~~~ compute.c:59:8: warning: type defaults to ‘int’ in declaration of ‘contains’ [-Wimplicit-int] 59 | STATIC contains(); | ^~~~~~~~ compute.c:64:8: warning: type defaults to ‘int’ in declaration of ‘nc_first’ [-Wimplicit-int] 64 | STATIC nc_first(); | ^~~~~~~~ compute.c:66:8: warning: type defaults to ‘int’ in declaration of ‘nc_follow’ [-Wimplicit-int] 66 | STATIC nc_follow(); | ^~~~~~~~~ compute.c:69:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 69 | do_compute() { | ^~~~~~~~~~ compute.c: In function ‘do_compute’: compute.c:134:21: warning: implicit declaration of function ‘setunion’ [-Wimplicit-function-declaration] 134 | s = setunion(start_firsts, (&nonterms[st->ff_nont])->n_first); | ^~~~~~~~ compute.c: At top level: compute.c:164:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 164 | createsets() { | ^~~~~~~~~~ compute.c:211:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 211 | walk(u, p) p_set u; register p_gram p; { | ^~~~ compute.c: In function ‘walk’: compute.c:247:25: warning: ‘return’ with no value, in function returning non-void 247 | return; | ^~~~~~ compute.c:211:1: note: declared here 211 | walk(u, p) p_set u; register p_gram p; { | ^~~~ compute.c: At top level: compute.c:254:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 254 | co_trans(fc) int (*fc)(); { | ^~~~~~~~ compute.c:275:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 275 | empty(p) register p_gram p; { | ^~~~~ compute.c:323:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 323 | first(setp,p,flag) p_set setp; register p_gram p; { | ^~~~~ compute.c: In function ‘first’: compute.c:323:1: warning: type of ‘flag’ defaults to ‘int’ [-Wimplicit-int] compute.c:331:25: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int] 331 | register s; /* Will gather return value */ | ^ compute.c: At top level: compute.c:402:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 402 | nc_first(setp,p,flag) p_set setp; register p_gram p; { | ^~~~~~~~ compute.c: In function ‘nc_first’: compute.c:402:1: warning: type of ‘flag’ defaults to ‘int’ [-Wimplicit-int] compute.c:414:25: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int] 414 | register s; /* Will gather return value */ | ^ compute.c: At top level: compute.c:508:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 508 | follow(setp,p) p_set setp; register p_gram p; { | ^~~~~~ compute.c: In function ‘follow’: compute.c:514:25: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int] 514 | register s; /* Will gather return value */ | ^ compute.c: At top level: compute.c:587:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 587 | nc_follow(setp,p) p_set setp; register p_gram p; { | ^~~~~~~~~ compute.c: In function ‘nc_follow’: compute.c:593:25: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int] 593 | register s; /* Will gather return value */ | ^ compute.c: At top level: compute.c:661:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 661 | co_dirsymb(setp,p) p_set setp; register p_gram p; { | ^~~~~~~~~~ compute.c: In function ‘co_dirsymb’: compute.c:670:25: warning: ‘return’ with no value, in function returning non-void 670 | return; | ^~~~~~ compute.c:661:1: note: declared here 661 | co_dirsymb(setp,p) p_set setp; register p_gram p; { | ^~~~~~~~~~ compute.c:701:33: warning: ‘return’ with no value, in function returning non-void 701 | return; | ^~~~~~ compute.c:661:1: note: declared here 661 | co_dirsymb(setp,p) p_set setp; register p_gram p; { | ^~~~~~~~~~ compute.c: At top level: compute.c:709:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 709 | co_others(p) register p_gram p; { | ^~~~~~~~~ compute.c:736:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 736 | ncomplength(p) | ^~~~~~~~~~~ compute.c:748:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 748 | do_lengthcomp() { | ^~~~~~~~~~~~~ compute.c: In function ‘do_lengthcomp’: compute.c:776:9: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 776 | free ((p_mem) length); | ^~~~ compute.c:25:1: note: include ‘’ or provide a declaration of ‘free’ 24 | # include "io.h" +++ |+#include 25 | compute.c:776:9: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 776 | free ((p_mem) length); | ^~~~ compute.c:776:9: note: include ‘’ or provide a declaration of ‘free’ compute.c: At top level: compute.c:780:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 780 | complength(p,le) register p_gram p; p_length le; { | ^~~~~~~~~~ compute.c: In function ‘complength’: compute.c:826:25: warning: ‘return’ with no value, in function returning non-void 826 | return; | ^~~~~~ compute.c:780:1: note: declared here 780 | complength(p,le) register p_gram p; p_length le; { | ^~~~~~~~~~ compute.c: At top level: compute.c:865:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 865 | add(a, c, v) register p_length a; { | ^~~ compute.c: In function ‘add’: compute.c:865:1: warning: type of ‘c’ defaults to ‘int’ [-Wimplicit-int] compute.c:865:1: warning: type of ‘v’ defaults to ‘int’ [-Wimplicit-int] compute.c:869:17: warning: ‘return’ with no value, in function returning non-void 869 | return; | ^~~~~~ compute.c:865:1: note: declared here 865 | add(a, c, v) register p_length a; { | ^~~ compute.c: At top level: compute.c:882:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 882 | setdefaults(p) register p_gram p; { | ^~~~~~~~~~~ compute.c: In function ‘setdefaults’: compute.c:886:25: warning: ‘return’ with no value, in function returning non-void 886 | return; | ^~~~~~ compute.c:882:1: note: declared here 882 | setdefaults(p) register p_gram p; { | ^~~~~~~~~~~ compute.c:917:25: warning: ‘return’ with no value, in function returning non-void 917 | return; } | ^~~~~~ compute.c:882:1: note: declared here 882 | setdefaults(p) register p_gram p; { | ^~~~~~~~~~~ compute.c: At top level: compute.c:924:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 924 | do_contains(n) register p_nont n; { | ^~~~~~~~~~~ compute.c: In function ‘do_contains’: compute.c:941:25: warning: implicit declaration of function ‘setminus’ [-Wimplicit-function-declaration] 941 | setminus(n->n_contains,n->n_follow); | ^~~~~~~~ compute.c: At top level: compute.c:952:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 952 | contains(p,set) register p_gram p; register p_set set; { | ^~~~~~~~ compute.c: In function ‘contains’: compute.c:960:25: warning: ‘return’ with no value, in function returning non-void 960 | return; | ^~~~~~ compute.c:952:1: note: declared here 952 | contains(p,set) register p_gram p; register p_set set; { | ^~~~~~~~ compute.c:1008:34: warning: type defaults to ‘int’ in declaration of ‘hulp’ [-Wimplicit-int] 1008 | register hulp; | ^~~~ compute.c: In function ‘do_safes’: compute.c:1041:1: warning: type of ‘safe’ defaults to ‘int’ [-Wimplicit-int] 1041 | do_safes(p,safe,ch) register p_gram p; register int *ch; { | ^~~~~~~~ compute.c:1065:32: warning: implicit declaration of function ‘t_safety’ [-Wimplicit-function-declaration] 1065 | t_safety(rep,i,q->t_flags&PERSISTENT,safe),ch); | ^~~~~~~~ compute.c:1067:32: warning: implicit declaration of function ‘t_after’ [-Wimplicit-function-declaration] 1067 | safe = t_after(rep, i, retval); | ^~~~~~~ compute.c: At top level: compute.c:1125:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1125 | t_safety(rep, count, persistent, safety) { | ^~~~~~~~ compute.c: In function ‘t_safety’: compute.c:1125:1: warning: type of ‘rep’ defaults to ‘int’ [-Wimplicit-int] compute.c:1125:1: warning: type of ‘count’ defaults to ‘int’ [-Wimplicit-int] compute.c:1125:1: warning: type of ‘persistent’ defaults to ‘int’ [-Wimplicit-int] compute.c:1125:1: warning: type of ‘safety’ defaults to ‘int’ [-Wimplicit-int] compute.c: At top level: compute.c:1150:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1150 | t_after(rep, count, outsafety) { | ^~~~~~~ compute.c: In function ‘t_after’: compute.c:1150:1: warning: type of ‘rep’ defaults to ‘int’ [-Wimplicit-int] compute.c:1150:1: warning: type of ‘count’ defaults to ‘int’ [-Wimplicit-int] compute.c:1150:1: warning: type of ‘outsafety’ defaults to ‘int’ [-Wimplicit-int] gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o LLgen.o LLgen.c LLgen.g:49:17: warning: type defaults to ‘int’ in declaration of ‘newnorder’ [-Wimplicit-int] 49 | STATIC newnorder(); | ^~~~~~~~~ LLgen.g:50:17: warning: type defaults to ‘int’ in declaration of ‘newtorder’ [-Wimplicit-int] 50 | STATIC newtorder(); | ^~~~~~~~~ LLgen.g:51:17: warning: type defaults to ‘int’ in declaration of ‘mkalt’ [-Wimplicit-int] 51 | STATIC mkalt(); | ^~~~~ LLgen.g:52:17: warning: type defaults to ‘int’ in declaration of ‘mkterm’ [-Wimplicit-int] 52 | STATIC mkterm(); | ^~~~~~ LLgen.g:57:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 57 | newnorder(index) { | ^~~~~~~~~ LLgen.g: In function ‘newnorder’: LLgen.g:57:1: warning: type of ‘index’ defaults to ‘int’ [-Wimplicit-int] LLgen.g: At top level: LLgen.g:69:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 69 | newtorder(index) { | ^~~~~~~~~ LLgen.g: In function ‘newtorder’: LLgen.g:69:1: warning: type of ‘index’ defaults to ‘int’ [-Wimplicit-int] LLgen.g: At top level: LLgen.g:80:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 80 | p_init() | ^~~~~~ LLgen.g: In function ‘LL0_spec’: LLgen.g:101:33: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 101 | free((p_mem) rule_table); | ^~~~ LLgen.g:26:1: note: include ‘’ or provide a declaration of ‘free’ 25 | # include "cclass.h" +++ |+#include 26 | LLgen.g:101:33: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 101 | free((p_mem) rule_table); | ^~~~ LLgen.g:101:33: note: include ‘’ or provide a declaration of ‘free’ LLgen.g: In function ‘LL1_def’: LLgen.g:135:47: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] 135 | if (! strcmp(p, ff->ff_name)) { | ^~~~~~ LLgen.g:26:1: note: include ‘’ or provide a declaration of ‘strcmp’ 25 | # include "cclass.h" +++ |+#include 26 | LLgen.g:136:49: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 136 | error(linecount, "\"%s\" already used in a %%start", p); | ^~~~~ | perror LLgen.g:159:45: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 159 | if (strlen(prefix) > 6) { | ^~~~~~ LLgen.g:26:1: note: include ‘’ or provide a declaration of ‘strlen’ 25 | # include "cclass.h" +++ |+#include 26 | LLgen.g:159:45: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 159 | if (strlen(prefix) > 6) { | ^~~~~~ LLgen.g:159:45: note: include ‘’ or provide a declaration of ‘strlen’ LLgen.g:172:41: warning: implicit declaration of function ‘warning’ [-Wimplicit-function-declaration] 172 | warning(linecount, "%%onerror conflicts with -n option"); | ^~~~~~~ LLgen.g: At top level: LLgen.g:307:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 307 | mkalt(prod,condition,lc,res) p_gram prod; register p_gram res; { | ^~~~~ LLgen.g: In function ‘mkalt’: LLgen.g:307:1: warning: type of ‘condition’ defaults to ‘int’ [-Wimplicit-int] LLgen.g:307:1: warning: type of ‘lc’ defaults to ‘int’ [-Wimplicit-int] LLgen.g: At top level: LLgen.g:455:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 455 | mkterm(prod,flags,lc,result) p_gram prod; register p_gram result; { | ^~~~~~ LLgen.g: In function ‘mkterm’: LLgen.g:455:1: warning: type of ‘flags’ defaults to ‘int’ [-Wimplicit-int] LLgen.g:455:1: warning: type of ‘lc’ defaults to ‘int’ [-Wimplicit-int] LLgen.g: In function ‘copyrule’: LLgen.g:648:1: warning: type of ‘length’ defaults to ‘int’ [-Wimplicit-int] 648 | copyrule(p,length) register p_gram p; { | ^~~~~~~~ gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o tokens.o tokens.c tokens.g:33:17: warning: type defaults to ‘int’ in declaration of ‘LLmessage’ [-Wimplicit-int] 33 | extern LLmessage(); | ^~~~~~~~~ tokens.g:35:17: warning: type defaults to ‘int’ in declaration of ‘unput’ [-Wimplicit-int] 35 | extern unput(); | ^~~~~ tokens.g:36:17: warning: type defaults to ‘int’ in declaration of ‘skipcomment’ [-Wimplicit-int] 36 | extern skipcomment(); | ^~~~~~~~~~~ tokens.g:42:17: warning: type defaults to ‘int’ in declaration of ‘copyact’ [-Wimplicit-int] 42 | STATIC copyact(); | ^~~~~~~ tokens.g:118:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 118 | copyact(ch1,ch2,flag,level) char ch1,ch2; { | ^~~~~~~ tokens.g: In function ‘copyact’: tokens.g:118:1: warning: type of ‘flag’ defaults to ‘int’ [-Wimplicit-int] tokens.g:118:1: warning: type of ‘level’ defaults to ‘int’ [-Wimplicit-int] tokens.g:127:25: warning: type defaults to ‘int’ in declaration of ‘ch’ [-Wimplicit-int] 127 | register ch; /* Current char */ | ^~ tokens.g:128:25: warning: type defaults to ‘int’ in declaration of ‘match’ [-Wimplicit-int] 128 | register match; /* used to read strings */ | ^~~~~ tokens.g:153:25: warning: ‘return’ with no value, in function returning non-void 153 | return; | ^~~~~~ tokens.g:118:1: note: declared here 118 | copyact(ch1,ch2,flag,level) char ch1,ch2; { | ^~~~~~~ tokens.g:159:25: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 159 | error(linecount,"Parentheses mismatch"); | ^~~~~ | perror tokens.g:190:41: warning: implicit declaration of function ‘warning’ [-Wimplicit-function-declaration] 190 | warning(linecount, "Parameters may not be separated with a ','"); | ^~~~~~~ tokens.g:221:25: warning: ‘return’ with no value, in function returning non-void 221 | return; | ^~~~~~ tokens.g:118:1: note: declared here 118 | copyact(ch1,ch2,flag,level) char ch1,ch2; { | ^~~~~~~ tokens.g: At top level: tokens.g:229:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 229 | scanner() { | ^~~~~~~ tokens.g: In function ‘scanner’: tokens.g:299:34: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int] 299 | register i = 0; | ^ tokens.g:331:47: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] 331 | if (! strcmp(ltext,w->w_word)) { | ^~~~~~ tokens.g:26:1: note: include ‘’ or provide a declaration of ‘strcmp’ 25 | # include "cclass.h" +++ |+#include 26 | tokens.g: At top level: tokens.g:354:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 354 | input() { | ^~~~~ tokens.g: In function ‘input’: tokens.g:358:25: warning: type defaults to ‘int’ in declaration of ‘c’ [-Wimplicit-int] 358 | register c; | ^ tokens.g: At top level: tokens.g:385:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 385 | unput(c) { | ^~~~~ tokens.g: In function ‘unput’: tokens.g:385:1: warning: type of ‘c’ defaults to ‘int’ [-Wimplicit-int] tokens.g: At top level: tokens.g:392:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 392 | skipcomment(flag) { | ^~~~~~~~~~~ tokens.g: In function ‘skipcomment’: tokens.g:392:1: warning: type of ‘flag’ defaults to ‘int’ [-Wimplicit-int] tokens.g:409:40: warning: ‘return’ with no value, in function returning non-void 409 | if (ch == '/') return; | ^~~~~~ tokens.g:392:1: note: declared here 392 | skipcomment(flag) { | ^~~~~~~~~~~ tokens.g: In function ‘vallookup’: tokens.g:466:1: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int] 466 | vallookup(s) { | ^~~~~~~~~ tokens.g: In function ‘cpy’: tokens.g:480:1: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int] 480 | cpy(s,p,inserted) register string p; { | ^~~ tokens.g:480:1: warning: type of ‘inserted’ defaults to ‘int’ [-Wimplicit-int] tokens.g: At top level: tokens.g:552:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 552 | LLmessage(d) { | ^~~~~~~~~ tokens.g: In function ‘LLmessage’: tokens.g:552:1: warning: type of ‘d’ defaults to ‘int’ [-Wimplicit-int] gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o check.o check.c check.c:36:8: warning: type defaults to ‘int’ in declaration of ‘conflchecks’ [-Wimplicit-int] 36 | extern conflchecks(); | ^~~~~~~~~~~ check.c:37:8: warning: type defaults to ‘int’ in declaration of ‘prline’ [-Wimplicit-int] 37 | STATIC prline(); | ^~~~~~ check.c:38:8: warning: type defaults to ‘int’ in declaration of ‘printset’ [-Wimplicit-int] 38 | STATIC printset(); | ^~~~~~~~ check.c:40:8: warning: type defaults to ‘int’ in declaration of ‘moreverbose’ [-Wimplicit-int] 40 | STATIC moreverbose(); | ^~~~~~~~~~~ check.c:41:8: warning: type defaults to ‘int’ in declaration of ‘prrule’ [-Wimplicit-int] 41 | STATIC prrule(); | ^~~~~~ check.c:42:8: warning: type defaults to ‘int’ in declaration of ‘cfcheck’ [-Wimplicit-int] 42 | STATIC cfcheck(); | ^~~~~~~ check.c:43:8: warning: type defaults to ‘int’ in declaration of ‘resolve’ [-Wimplicit-int] 43 | STATIC resolve(); | ^~~~~~~ check.c:44:8: warning: type defaults to ‘int’ in declaration of ‘propagate’ [-Wimplicit-int] 44 | STATIC propagate(); | ^~~~~~~~~ check.c:45:8: warning: type defaults to ‘int’ in declaration of ‘spaces’ [-Wimplicit-int] 45 | STATIC spaces(); | ^~~~~~ check.c:47:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 47 | conflchecks() { | ^~~~~~~~~~~ check.c: In function ‘conflchecks’: check.c:64:56: warning: implicit declaration of function ‘fatal’ [-Wimplicit-function-declaration] 64 | if ((fout = fopen(f_out,"w")) == NULL) fatal(1,e_noopen,f_out); | ^~~~~ check.c:82:25: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 82 | error(p->n_lineno, | ^~~~~ | perror check.c: At top level: check.c:112:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 112 | prline(s) char *s; { | ^~~~~~ check.c:118:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 118 | printset(p,s) register p_set p; string s; { | ^~~~~~~~ check.c: In function ‘printset’: check.c:129:13: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 129 | k = strlen(s) + 2 + level; | ^~~~~~ check.c:24:1: note: include ‘’ or provide a declaration of ‘strlen’ 23 | # include "assert.h" +++ |+#include 24 | check.c:129:13: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 129 | k = strlen(s) + 2 + level; | ^~~~~~ check.c:129:13: note: include ‘’ or provide a declaration of ‘strlen’ check.c: In function ‘check’: check.c:200:29: warning: implicit declaration of function ‘setempty’ [-Wimplicit-function-declaration] 200 | if (setempty(q->t_first)) { | ^~~~~~~~ check.c:205:29: warning: implicit declaration of function ‘empty’ [-Wimplicit-function-declaration] 205 | if (empty(q->t_rule)) { | ^~~~~ check.c:211:25: warning: implicit declaration of function ‘setunion’ [-Wimplicit-function-declaration] 211 | setunion(temp,q->t_first); | ^~~~~~~~ check.c:212:30: warning: implicit declaration of function ‘setintersect’ [-Wimplicit-function-declaration] 212 | if (!setintersect(temp,q->t_follow)) { | ^~~~~~~~~~~~ check.c:229:41: warning: implicit declaration of function ‘warning’ [-Wimplicit-function-declaration] 229 | warning(p->g_lineno, | ^~~~~~~ check.c:233:25: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 233 | free((p_mem) temp); | ^~~~ check.c:24:1: note: include ‘’ or provide a declaration of ‘free’ 23 | # include "assert.h" +++ |+#include 24 | check.c:233:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 233 | free((p_mem) temp); | ^~~~ check.c:233:25: note: include ‘’ or provide a declaration of ‘free’ check.c:259:25: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 259 | free( (p_mem) temp); | ^~~~ check.c:259:25: note: include ‘’ or provide a declaration of ‘free’ check.c: At top level: check.c:269:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 269 | moreverbose(t) register p_set t; { | ^~~~~~~~~~~ check.c:284:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 284 | prrule(p) register p_gram p; { | ^~~~~~ check.c: In function ‘prrule’: check.c:297:25: warning: ‘return’ with no value, in function returning non-void 297 | return; | ^~~~~~ check.c:284:1: note: declared here 284 | prrule(p) register p_gram p; { | ^~~~~~ check.c:375:33: warning: ‘return’ with no value, in function returning non-void 375 | return; | ^~~~~~ check.c:284:1: note: declared here 284 | prrule(p) register p_gram p; { | ^~~~~~ check.c: At top level: check.c:396:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 396 | cfcheck(s1,s2,flag) p_set s1,s2; { | ^~~~~~~ check.c: In function ‘cfcheck’: check.c:396:1: warning: type of ‘flag’ defaults to ‘int’ [-Wimplicit-int] check.c:417:9: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 417 | free((p_mem) temp); | ^~~~ check.c:417:9: note: include ‘’ or provide a declaration of ‘free’ check.c: At top level: check.c:421:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 421 | resolve(p) register p_gram p; { | ^~~~~~~ check.c: In function ‘resolve’: check.c:428:25: warning: ‘return’ with no value, in function returning non-void 428 | return; | ^~~~~~ check.c:421:1: note: declared here 421 | resolve(p) register p_gram p; { | ^~~~~~~ check.c:441:33: warning: implicit declaration of function ‘setminus’ [-Wimplicit-function-declaration] 441 | setminus(l->l_symbs,l->l_others); | ^~~~~~~~ check.c: At top level: check.c:457:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 457 | propagate(set,p) p_set set; register p_gram p; { | ^~~~~~~~~ check.c:469:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 469 | spaces() { | ^~~~~~ gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o reach.o reach.c reach.c:30:8: warning: type defaults to ‘int’ in declaration of ‘co_reach’ [-Wimplicit-int] 30 | extern co_reach(); | ^~~~~~~~ reach.c:31:8: warning: type defaults to ‘int’ in declaration of ‘reachable’ [-Wimplicit-int] 31 | STATIC reachable(); | ^~~~~~~~~ reach.c:32:8: warning: type defaults to ‘int’ in declaration of ‘reachwalk’ [-Wimplicit-int] 32 | STATIC reachwalk(); | ^~~~~~~~~ reach.c:34:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 34 | co_reach() { | ^~~~~~~~ reach.c: In function ‘co_reach’: reach.c:48:25: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 48 | error(p->n_lineno,"Nonterminal %s not defined", | ^~~~~ | perror reach.c:69:25: warning: implicit declaration of function ‘warning’ [-Wimplicit-function-declaration] 69 | warning(p->n_lineno,"nonterminal %s unreachable", | ^~~~~~~ reach.c: At top level: reach.c:84:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 84 | reachable(p) register p_nont p; { | ^~~~~~~~~ reach.c:98:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 98 | reachwalk(p) register p_gram p; { | ^~~~~~~~~ reach.c: In function ‘reachwalk’: reach.c:131:25: warning: ‘return’ with no value, in function returning non-void 131 | return; | ^~~~~~ reach.c:98:1: note: declared here 98 | reachwalk(p) register p_gram p; { | ^~~~~~~~~ gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o global.o global.c gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o name.o name.c name.c:40:17: warning: type defaults to ‘int’ in declaration of ‘name_init’ [-Wimplicit-int] 40 | extern name_init(); | ^~~~~~~~~ name.c:48:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 48 | name_init() { | ^~~~~~~~~ name.c: In function ‘search’: name.c:116:1: warning: type of ‘type’ defaults to ‘int’ [-Wimplicit-int] 116 | search(type,str,option) register string str; { | ^~~~~~ name.c:116:1: warning: type of ‘option’ defaults to ‘int’ [-Wimplicit-int] name.c:132:21: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] 132 | if(!strcmp(p->h_name,str)) { | ^~~~~~ name.c:24:1: note: include ‘’ or provide a declaration of ‘strcmp’ 23 | # include "io.h" +++ |+#include 24 | name.c:139:41: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 139 | error(linecount, | ^~~~~ | perror gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o sets.o sets.c sets.c:29:17: warning: type defaults to ‘int’ in declaration of ‘setinit’ [-Wimplicit-int] 29 | extern setinit(); | ^~~~~~~ sets.c:34:17: warning: type defaults to ‘int’ in declaration of ‘setminus’ [-Wimplicit-int] 34 | extern setminus(); | ^~~~~~~~ sets.c:46:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 46 | setinit(nt_needed) { | ^~~~~~~ sets.c: In function ‘setinit’: sets.c:46:1: warning: type of ‘nt_needed’ defaults to ‘int’ [-Wimplicit-int] sets.c: At top level: sets.c:135:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 135 | setminus(a,b) register p_set a,b; { | ^~~~~~~~ gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o Lpars.o Lpars.c gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o alloc.o alloc.c alloc.c: In function ‘alloc’: alloc.c:34:17: warning: conflicting types for built-in function ‘malloc’; expected ‘void *(unsigned int)’ [-Wbuiltin-declaration-mismatch] 34 | p_mem malloc(); | ^~~~~~ alloc.c:21:1: note: ‘malloc’ is declared in header ‘’ 20 | # include "extern.h" +++ |+#include 21 | alloc.c:36:38: warning: implicit declaration of function ‘fatal’ [-Wimplicit-function-declaration] 36 | if ((p = malloc(size)) == 0) fatal(linecount,e_nomem); | ^~~~~ alloc.c: In function ‘ralloc’: alloc.c:46:17: warning: conflicting types for built-in function ‘realloc’; expected ‘void *(void *, unsigned int)’ [-Wbuiltin-declaration-mismatch] 46 | p_mem realloc(); | ^~~~~~~ alloc.c:46:17: note: ‘realloc’ is declared in header ‘’ gcc -O2 -march=i586 -mtune=i686 -c -O -DNDEBUG -DNON_CORRECTING -DLIBDIR=\"/usr/lib/LLgen\" machdep.c machdep.c:26:9: warning: type defaults to ‘int’ in declaration of ‘UNLINK’ [-Wimplicit-int] 26 | extern UNLINK(); | ^~~~~~ machdep.c:27:9: warning: type defaults to ‘int’ in declaration of ‘RENAME’ [-Wimplicit-int] 27 | extern RENAME(); | ^~~~~~ machdep.c:30:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 30 | UNLINK(x) string x; { | ^~~~~~ machdep.c: In function ‘UNLINK’: machdep.c:36:9: warning: implicit declaration of function ‘unlink’ [-Wimplicit-function-declaration] 36 | unlink(x); | ^~~~~~ machdep.c: At top level: machdep.c:40:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 40 | RENAME(x,y) string x,y; { | ^~~~~~ machdep.c: In function ‘RENAME’: machdep.c:47:13: warning: implicit declaration of function ‘link’ [-Wimplicit-function-declaration] 47 | if (link(x,y) != 0) fatal(1,"Cannot rename to %s",y); | ^~~~ machdep.c:47:29: warning: implicit declaration of function ‘fatal’ [-Wimplicit-function-declaration] 47 | if (link(x,y) != 0) fatal(1,"Cannot rename to %s",y); | ^~~~~ machdep.c: In function ‘libpath’: machdep.c:60:18: warning: type defaults to ‘int’ in declaration of ‘length’ [-Wimplicit-int] 60 | register length; | ^~~~~~ machdep.c:64:18: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 64 | length = strlen(libdir) + strlen(s) + 2; | ^~~~~~ machdep.c:20:1: note: include ‘’ or provide a declaration of ‘strlen’ 19 | # include "types.h" +++ |+#include 20 | machdep.c:64:18: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 64 | length = strlen(libdir) + strlen(s) + 2; | ^~~~~~ machdep.c:64:18: note: include ‘’ or provide a declaration of ‘strlen’ gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o cclass.o cclass.c gcc -O2 -march=i586 -mtune=i686 -O -DNDEBUG -DNON_CORRECTING -c -o savegram.o savegram.c savegram.c:43:8: warning: type defaults to ‘int’ in declaration of ‘save_rule’ [-Wimplicit-int] 43 | STATIC save_rule(); | ^~~~~~~~~ savegram.c:44:8: warning: type defaults to ‘int’ in declaration of ‘save_set’ [-Wimplicit-int] 44 | STATIC save_set(); | ^~~~~~~~ savegram.c:71:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 71 | save_grammar(f) FILE *f; { | ^~~~~~~~~~~~ savegram.c: In function ‘save_grammar’: savegram.c:132:25: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 132 | error(p->n_lineno,"Nonterminal %s not defined", | ^~~~~ | perror savegram.c:180:29: warning: implicit declaration of function ‘empty’ [-Wimplicit-function-declaration] 180 | if (empty((t_list +i)->term->t_rule)) | ^~~~~ savegram.c:237:29: warning: implicit declaration of function ‘setunion’ [-Wimplicit-function-declaration] 237 | s = setunion(temp_set, | ^~~~~~~~ savegram.c:244:25: warning: implicit declaration of function ‘warning’ [-Wimplicit-function-declaration] 244 | warning((sub_list + i)->sub_action->g_lineno, | ^~~~~~~ savegram.c:250:17: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 250 | free(temp_set); | ^~~~ savegram.c:33:1: note: include ‘’ or provide a declaration of ‘free’ 32 | # include "sets.h" +++ |+#include 33 | savegram.c:250:17: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 250 | free(temp_set); | ^~~~ savegram.c:250:17: note: include ‘’ or provide a declaration of ‘free’ savegram.c: At top level: savegram.c:270:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 270 | save_rule(p, tail) register p_gram p; int tail; { | ^~~~~~~~~ savegram.c: In function ‘save_rule’: savegram.c:359:25: warning: ‘return’ with no value, in function returning non-void 359 | return; | ^~~~~~ savegram.c:270:1: note: declared here 270 | save_rule(p, tail) register p_gram p; int tail; { | ^~~~~~~~~ savegram.c: At top level: savegram.c:366:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 366 | save_set(p) p_set p; { | ^~~~~~~~ savegram.c: In function ‘save_set’: savegram.c:379:33: warning: ‘return’ with no value, in function returning non-void 379 | return; | ^~~~~~ savegram.c:366:1: note: declared here 366 | save_set(p) p_set p; { | ^~~~~~~~ gcc -O2 -march=i586 -mtune=i686 main.o gencode.o compute.o LLgen.o tokens.o check.o reach.o global.o name.o sets.o Lpars.o alloc.o machdep.o cclass.o savegram.o -o LLgen /usr/bin/ld: main.o: in function `main': main.c:(.text+0x289): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' text data bss dec hex filename 52242 1556 1568 55366 d846 LLgen make[2]: Leaving directory '/usr/src/slapt-src/development/LLgen/LLgen/src' make[1]: Leaving directory '/usr/src/slapt-src/development/LLgen/LLgen/src' cd src; make LIBDIR=/usr/src/slapt-src/development/LLgen/package-LLgen/usr/lib/LLgen first make[1]: Entering directory '/usr/src/slapt-src/development/LLgen/LLgen/src' cp LLgen.c.dist LLgen.c cp tokens.c.dist tokens.c cp Lpars.c.dist Lpars.c cp Lpars.h.dist Lpars.h make[2]: Entering directory '/usr/src/slapt-src/development/LLgen/LLgen/src' cc -O -DNDEBUG -DNON_CORRECTING -c -o LLgen.o LLgen.c LLgen.g:49:17: warning: type defaults to ‘int’ in declaration of ‘newnorder’ [-Wimplicit-int] 49 | STATIC newnorder(); | ^~~~~~~~~ LLgen.g:50:17: warning: type defaults to ‘int’ in declaration of ‘newtorder’ [-Wimplicit-int] 50 | STATIC newtorder(); | ^~~~~~~~~ LLgen.g:51:17: warning: type defaults to ‘int’ in declaration of ‘mkalt’ [-Wimplicit-int] 51 | STATIC mkalt(); | ^~~~~ LLgen.g:52:17: warning: type defaults to ‘int’ in declaration of ‘mkterm’ [-Wimplicit-int] 52 | STATIC mkterm(); | ^~~~~~ LLgen.g:57:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 57 | newnorder(index) { | ^~~~~~~~~ LLgen.g: In function ‘newnorder’: LLgen.g:57:1: warning: type of ‘index’ defaults to ‘int’ [-Wimplicit-int] LLgen.g: At top level: LLgen.g:69:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 69 | newtorder(index) { | ^~~~~~~~~ LLgen.g: In function ‘newtorder’: LLgen.g:69:1: warning: type of ‘index’ defaults to ‘int’ [-Wimplicit-int] LLgen.g: At top level: LLgen.g:80:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 80 | p_init() | ^~~~~~ LLgen.g: In function ‘LL0_spec’: LLgen.g:101:33: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 101 | free((p_mem) rule_table); | ^~~~ LLgen.g:26:1: note: include ‘’ or provide a declaration of ‘free’ 25 | # include "cclass.h" +++ |+#include 26 | LLgen.g:101:33: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 101 | free((p_mem) rule_table); | ^~~~ LLgen.g:101:33: note: include ‘’ or provide a declaration of ‘free’ LLgen.g: In function ‘LL1_def’: LLgen.g:135:47: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] 135 | if (! strcmp(p, ff->ff_name)) { | ^~~~~~ LLgen.g:26:1: note: include ‘’ or provide a declaration of ‘strcmp’ 25 | # include "cclass.h" +++ |+#include 26 | LLgen.g:136:49: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 136 | error(linecount, "\"%s\" already used in a %%start", p); | ^~~~~ | perror LLgen.g:159:45: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 159 | if (strlen(prefix) > 6) { | ^~~~~~ LLgen.g:26:1: note: include ‘’ or provide a declaration of ‘strlen’ 25 | # include "cclass.h" +++ |+#include 26 | LLgen.g:159:45: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 159 | if (strlen(prefix) > 6) { | ^~~~~~ LLgen.g:159:45: note: include ‘’ or provide a declaration of ‘strlen’ LLgen.g:172:41: warning: implicit declaration of function ‘warning’ [-Wimplicit-function-declaration] 172 | warning(linecount, "%%onerror conflicts with -n option"); | ^~~~~~~ LLgen.g: At top level: LLgen.g:307:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 307 | mkalt(prod,condition,lc,res) p_gram prod; register p_gram res; { | ^~~~~ LLgen.g: In function ‘mkalt’: LLgen.g:307:1: warning: type of ‘condition’ defaults to ‘int’ [-Wimplicit-int] LLgen.g:307:1: warning: type of ‘lc’ defaults to ‘int’ [-Wimplicit-int] LLgen.g: At top level: LLgen.g:455:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 455 | mkterm(prod,flags,lc,result) p_gram prod; register p_gram result; { | ^~~~~~ LLgen.g: In function ‘mkterm’: LLgen.g:455:1: warning: type of ‘flags’ defaults to ‘int’ [-Wimplicit-int] LLgen.g:455:1: warning: type of ‘lc’ defaults to ‘int’ [-Wimplicit-int] LLgen.g: In function ‘copyrule’: LLgen.g:648:1: warning: type of ‘length’ defaults to ‘int’ [-Wimplicit-int] 648 | copyrule(p,length) register p_gram p; { | ^~~~~~~~ cc -O -DNDEBUG -DNON_CORRECTING -c -o tokens.o tokens.c tokens.g:33:17: warning: type defaults to ‘int’ in declaration of ‘LLmessage’ [-Wimplicit-int] 33 | extern LLmessage(); | ^~~~~~~~~ tokens.g:35:17: warning: type defaults to ‘int’ in declaration of ‘unput’ [-Wimplicit-int] 35 | extern unput(); | ^~~~~ tokens.g:36:17: warning: type defaults to ‘int’ in declaration of ‘skipcomment’ [-Wimplicit-int] 36 | extern skipcomment(); | ^~~~~~~~~~~ tokens.g:42:17: warning: type defaults to ‘int’ in declaration of ‘copyact’ [-Wimplicit-int] 42 | STATIC copyact(); | ^~~~~~~ tokens.g:118:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 118 | copyact(ch1,ch2,flag,level) char ch1,ch2; { | ^~~~~~~ tokens.g: In function ‘copyact’: tokens.g:118:1: warning: type of ‘flag’ defaults to ‘int’ [-Wimplicit-int] tokens.g:118:1: warning: type of ‘level’ defaults to ‘int’ [-Wimplicit-int] tokens.g:127:25: warning: type defaults to ‘int’ in declaration of ‘ch’ [-Wimplicit-int] 127 | register ch; /* Current char */ | ^~ tokens.g:128:25: warning: type defaults to ‘int’ in declaration of ‘match’ [-Wimplicit-int] 128 | register match; /* used to read strings */ | ^~~~~ tokens.g:153:25: warning: ‘return’ with no value, in function returning non-void 153 | return; | ^~~~~~ tokens.g:118:1: note: declared here 118 | copyact(ch1,ch2,flag,level) char ch1,ch2; { | ^~~~~~~ tokens.g:159:25: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 159 | error(linecount,"Parentheses mismatch"); | ^~~~~ | perror tokens.g:190:41: warning: implicit declaration of function ‘warning’ [-Wimplicit-function-declaration] 190 | warning(linecount, "Parameters may not be separated with a ','"); | ^~~~~~~ tokens.g:221:25: warning: ‘return’ with no value, in function returning non-void 221 | return; | ^~~~~~ tokens.g:118:1: note: declared here 118 | copyact(ch1,ch2,flag,level) char ch1,ch2; { | ^~~~~~~ tokens.g: At top level: tokens.g:229:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 229 | scanner() { | ^~~~~~~ tokens.g: In function ‘scanner’: tokens.g:299:34: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int] 299 | register i = 0; | ^ tokens.g:331:47: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] 331 | if (! strcmp(ltext,w->w_word)) { | ^~~~~~ tokens.g:26:1: note: include ‘’ or provide a declaration of ‘strcmp’ 25 | # include "cclass.h" +++ |+#include 26 | tokens.g: At top level: tokens.g:354:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 354 | input() { | ^~~~~ tokens.g: In function ‘input’: tokens.g:358:25: warning: type defaults to ‘int’ in declaration of ‘c’ [-Wimplicit-int] 358 | register c; | ^ tokens.g: At top level: tokens.g:385:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 385 | unput(c) { | ^~~~~ tokens.g: In function ‘unput’: tokens.g:385:1: warning: type of ‘c’ defaults to ‘int’ [-Wimplicit-int] tokens.g: At top level: tokens.g:392:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 392 | skipcomment(flag) { | ^~~~~~~~~~~ tokens.g: In function ‘skipcomment’: tokens.g:392:1: warning: type of ‘flag’ defaults to ‘int’ [-Wimplicit-int] tokens.g:409:40: warning: ‘return’ with no value, in function returning non-void 409 | if (ch == '/') return; | ^~~~~~ tokens.g:392:1: note: declared here 392 | skipcomment(flag) { | ^~~~~~~~~~~ tokens.g: In function ‘vallookup’: tokens.g:466:1: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int] 466 | vallookup(s) { | ^~~~~~~~~ tokens.g: In function ‘cpy’: tokens.g:480:1: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int] 480 | cpy(s,p,inserted) register string p; { | ^~~ tokens.g:480:1: warning: type of ‘inserted’ defaults to ‘int’ [-Wimplicit-int] tokens.g: At top level: tokens.g:552:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 552 | LLmessage(d) { | ^~~~~~~~~ tokens.g: In function ‘LLmessage’: tokens.g:552:1: warning: type of ‘d’ defaults to ‘int’ [-Wimplicit-int] cc -O -DNDEBUG -DNON_CORRECTING -c -o Lpars.o Lpars.c cc main.o gencode.o compute.o LLgen.o tokens.o check.o reach.o global.o name.o sets.o Lpars.o alloc.o machdep.o cclass.o savegram.o -o LLgen /usr/bin/ld: main.o: in function `main': main.c:(.text+0x289): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' text data bss dec hex filename 53626 1556 1568 56750 ddae LLgen make[2]: Leaving directory '/usr/src/slapt-src/development/LLgen/LLgen/src' make[1]: Leaving directory '/usr/src/slapt-src/development/LLgen/LLgen/src' rm -f /usr/src/slapt-src/development/LLgen/package-LLgen/usr/bin/LLgen /usr/src/slapt-src/development/LLgen/package-LLgen/usr/lib/LLgen/rec /usr/src/slapt-src/development/LLgen/package-LLgen/usr/lib/LLgen/incl /usr/src/slapt-src/development/LLgen/package-LLgen/usr/man/man1/LLgen.1 cp src/LLgen /usr/src/slapt-src/development/LLgen/package-LLgen/usr/bin/LLgen mkdir /usr/src/slapt-src/development/LLgen/package-LLgen/usr/lib/LLgen cp lib/rec /usr/src/slapt-src/development/LLgen/package-LLgen/usr/lib/LLgen/rec cp lib/incl /usr/src/slapt-src/development/LLgen/package-LLgen/usr/lib/LLgen/incl cp lib/nc_rec /usr/src/slapt-src/development/LLgen/package-LLgen/usr/lib/LLgen/nc_rec cp lib/nc_incl /usr/src/slapt-src/development/LLgen/package-LLgen/usr/lib/LLgen/nc_incl cp LLgen.1 /usr/src/slapt-src/development/LLgen/package-LLgen/usr/man/man1/LLgen.1 Slackware package maker, version 3.14159265. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src/development/LLgen/LLgen-1.4-i586-1salix15.0.txz ./ install/ install/slack-desc usr/ usr/bin/ usr/bin/LLgen usr/doc/ usr/doc/LLgen-1.4/ usr/doc/LLgen-1.4/COPYING usr/doc/LLgen-1.4/LLgen.SlackBuild usr/doc/LLgen-1.4/LLgen.ps usr/doc/LLgen-1.4/LLgen_NCER.ps usr/lib/ usr/lib/LLgen/ usr/lib/LLgen/incl usr/lib/LLgen/nc_incl usr/lib/LLgen/nc_rec usr/lib/LLgen/rec usr/man/ usr/man/man1/ usr/man/man1/LLgen.1.gz Slackware package /usr/src/slapt-src/development/LLgen/LLgen-1.4-i586-1salix15.0.txz created. Installing package LLgen-1.4-i586-1salix15.0... | LLgen (an ELL(1) | | LLgen is a tool for generating an efficient recursive descent parser | from an ELL(1) grammar. The grammar may be ambiguous or more general | than ELL(1): there are both static and dynamic facilities to resolve | the ambiguities. | | | | | | |