* Package: dev-util/yacc-1.9.1-r6:0 * Repository: gentoo * Maintainer: monsieurp@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking yacc-1.9.1.tar.Z to /var/tmp/portage/dev-util/yacc-1.9.1-r6/work >>> Source unpacked in /var/tmp/portage/dev-util/yacc-1.9.1-r6/work >>> Preparing source in /var/tmp/portage/dev-util/yacc-1.9.1-r6/work/yacc-1.9.1 ... * Applying yacc-1.9.1-mkstemp.patch ... [ ok ] * Applying yacc-1.9.1-ia64.patch ... [ ok ] * Applying yacc-1.9.1-CVE-2008-3196.patch ... patching file skeleton.c Hunk #1 succeeded at 18 with fuzz 2. [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/yacc-1.9.1-r6/work/yacc-1.9.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/yacc-1.9.1-r6/work/yacc-1.9.1 ... make -j4 clean rm yacc make -j4 CC=clang 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int' clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o yacc closure.c error.c lalr.c lr0.c main.c mkpar.c output.c reader.c skeleton.c symtab.c verbose.c warshall.c closure.c:15:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] set_EFF() ^ int closure.c:25:11: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EFF = NEW2(nvars * rowsize, unsigned); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ closure.c:43:5: error: call to undeclared function 'reflexive_transitive_closure'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] reflexive_transitive_closure(EFF, nvars); ^ closure.c:48:1: warning: non-void function does not return a value [-Wreturn-type] } ^ closure.c:51:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] set_first_derives() ^ int closure.c:67:21: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] first_derives = NEW2(nvars * rulesetsize, unsigned) - ntokens * rulesetsize; ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ closure.c:103:1: warning: non-void function does not return a value [-Wreturn-type] } ^ closure.c:106:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] closure(nucleus, n) ^ int closure.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] closure.c:172:1: warning: non-void function does not return a value [-Wreturn-type] } ^ closure.c:176:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] finalize_closure() ^ int closure.c:181:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 7 warnings and 5 errors generated. error.c:10:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] fatal(msg) ^ int error.c:14:5: error: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] done(2); ^ error.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fatal(msg) ^ error.c:15:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:18:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] no_space() ^ int error.c:21:5: error: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] done(2); ^ error.c:22:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:25:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] open_error(filename) ^ int error.c:29:5: error: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] done(2); ^ error.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_error(filename) ^ error.c:30:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:33:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] unexpected_EOF() ^ int error.c:37:5: error: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] done(1); ^ error.c:38:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:41:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] print_pos(st_line, st_cptr) ^ int error.c:47:23: error: non-void function 'print_pos' should return a value [-Wreturn-type] if (st_line == 0) return; ^ error.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_pos(st_line, st_cptr) ^ error.c:68:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] syntax_error(st_lineno, st_line, st_cptr) ^ int error.c:76:5: error: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] done(1); ^ error.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] syntax_error(st_lineno, st_line, st_cptr) ^ error.c:80:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] unterminated_comment(c_lineno, c_line, c_cptr) ^ int error.c:88:5: error: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] done(1); ^ error.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unterminated_comment(c_lineno, c_line, c_cptr) ^ error.c:92:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] unterminated_string(s_lineno, s_line, s_cptr) ^ int error.c:100:5: error: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] done(1); ^ error.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unterminated_string(s_lineno, s_line, s_cptr) ^ error.c:104:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] unterminated_text(t_lineno, t_line, t_cptr) ^ int error.c:112:5: error: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] done(1); ^ error.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unterminated_text(t_lineno, t_line, t_cptr) ^ error.c:116:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] unterminated_union(u_lineno, u_line, u_cptr) ^ int fatal error: too many errors emitted, stopping now [-ferror-limit=] 11 warnings and 20 errors generated. lalr.c:41:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] lalr() ^ int lalr.c:45:5: error: call to undeclared function 'set_state_table'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] set_state_table(); ^ lalr.c:46:5: error: call to undeclared function 'set_accessing_symbol'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] set_accessing_symbol(); ^ lalr.c:47:5: error: call to undeclared function 'set_shift_table'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] set_shift_table(); ^ lalr.c:48:5: error: call to undeclared function 'set_reduction_table'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] set_reduction_table(); ^ lalr.c:49:5: error: call to undeclared function 'set_maxrhs'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] set_maxrhs(); ^ lalr.c:50:5: error: call to undeclared function 'initialize_LA'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] initialize_LA(); ^ lalr.c:51:5: error: call to undeclared function 'set_goto_map'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] set_goto_map(); ^ lalr.c:52:5: error: call to undeclared function 'initialize_F'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] initialize_F(); ^ lalr.c:53:5: error: call to undeclared function 'build_relations'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] build_relations(); ^ lalr.c:54:5: error: call to undeclared function 'compute_FOLLOWS'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] compute_FOLLOWS(); ^ lalr.c:55:5: error: call to undeclared function 'compute_lookaheads'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] compute_lookaheads(); ^ lalr.c:56:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:60:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] set_state_table() ^ int lalr.c:64:19: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] state_table = NEW2(nstates, core *); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:67:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:71:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] set_accessing_symbol() ^ int lalr.c:75:24: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] accessing_symbol = NEW2(nstates, short); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:78:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:82:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] set_shift_table() ^ int lalr.c:86:19: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shift_table = NEW2(nstates, shifts *); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:89:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:93:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] set_reduction_table() ^ int lalr.c:97:23: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reduction_table = NEW2(nstates, reductions *); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:100:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:104:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] set_maxrhs() ^ int lalr.c:128:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:132:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] initialize_LA() ^ int lalr.c:137:16: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lookaheads = NEW2(nstates + 1, short); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:149:8: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LA = NEW2(k * tokensetsize, unsigned); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:150:14: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LAruleno = NEW2(k, short); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:151:14: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lookback = NEW2(k, shorts *); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:166:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:169:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] set_goto_map() ^ int lalr.c:179:14: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goto_map = NEW2(nvars + 1, short) - ntokens; ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:180:14: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp_map = NEW2(nvars + 1, short) - ntokens; ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 17 warnings and 20 errors generated. lr0.c:36:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] allocate_itemsets() ^ int lr0.c:47:20: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] symbol_count = NEW2(nsyms, short); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:60:19: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kernel_base = NEW2(nsyms, short *); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:61:20: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kernel_items = NEW2(count, short); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:74:18: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kernel_end = NEW2(nsyms, short *); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:75:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:78:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] allocate_storage() ^ int lr0.c:81:16: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shiftset = NEW2(nsyms, short); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:82:14: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redset = NEW2(nrules + 1, short); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:83:17: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] state_set = NEW2(nitems, core *); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:84:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:87:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] append_states() ^ int lr0.c:111:25: warning: passing arguments to 'get_state' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shiftset[i] = get_state(symbol); ^ lr0.c:113:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:116:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] free_storage() ^ int lr0.c:125:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:129:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] generate_states() ^ int lr0.c:132:15: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] itemset = NEW2(nitems, short); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:133:15: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ruleset = NEW2(WORDSIZE(nrules), unsigned); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:134:5: error: call to undeclared function 'set_first_derives'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] set_first_derives(); ^ lr0.c:135:5: error: call to undeclared function 'initialize_states'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] initialize_states(); ^ lr0.c:139:2: error: call to undeclared function 'closure'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] closure(this_state->items, this_state->nitems); ^ lr0.c:140:2: error: call to undeclared function 'save_reductions'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] save_reductions(); ^ lr0.c:141:2: error: call to undeclared function 'new_itemsets'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] new_itemsets(); ^ lr0.c:145:6: error: call to undeclared function 'save_shifts'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] save_shifts(); ^ lr0.c:150:5: error: call to undeclared function 'finalize_closure'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] finalize_closure(); ^ lr0.c:152:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:205:32: warning: passing arguments to 'new_state' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sp = sp->link = new_state(symbol); ^ lr0.c:213:33: warning: passing arguments to 'new_state' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] state_set[key] = sp = new_state(symbol); ^ lr0.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_state(symbol) ^ lr0.c:16:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int get_state(); ^ lr0.c:221:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] initialize_states() ^ int lr0.c:232:17: error: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (p == 0) no_space(); ^ lr0.c:245:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:248:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] new_itemsets() ^ int lr0.c:280:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:299:2: error: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fatal("too many states"); ^ lr0.c:305:26: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = (core *) allocate((unsigned) (sizeof(core) + (n - 1) * sizeof(short))); ^ lr0.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_state(symbol) ^ lr0.c:17:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] core *new_state(); ^ lr0.c:325:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] show_cores() ^ int lr0.c:355:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:360:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] show_ritems() ^ int lr0.c:366:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:370:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] show_rrhs() ^ int lr0.c:376:1: warning: non-void function does not return a value [-Wreturn-type] } ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 27 warnings and 20 errors generated. main.c:64:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *mktemp(); ^ /usr/include/stdlib.h:695:14: note: conflicting prototype is here extern char *mktemp (char *__template) __THROW __nonnull ((1)); ^ main.c:65:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *getenv(); ^ /usr/include/stdlib.h:654:14: note: conflicting prototype is here extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; ^ main.c:68:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] done(k) ^ int main.c:71:45: error: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (action_file) { fclose(action_file); unlink(action_file_name); } ^ main.c:72:41: error: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (text_file) { fclose(text_file); unlink(text_file_name); } ^ main.c:73:43: error: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (union_file) { fclose(union_file); unlink(union_file_name); } ^ main.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] done(k) ^ main.c:85:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] set_signals() ^ int main.c:99:1: warning: non-void function does not return a value [-Wreturn-type] } ^ main.c:102:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] usage() ^ int main.c:109:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] getargs(argc, argv) ^ int main.c:126:6: error: non-void function 'getargs' should return a value [-Wreturn-type] return; ^ main.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getargs(argc, argv) ^ main.c:224:10: error: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (!p) no_space(); ^ main.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocate(n) ^ In file included from main.c:6: ./defs.h:276:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *allocate(); ^ main.c:230:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] create_file_names() ^ int main.c:244:32: error: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (action_file_name == 0) no_space(); ^ main.c:313:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] open_files() ^ int main.c:321:6: error: call to undeclared function 'open_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] open_error(input_file_name); ^ main.c:326:2: error: call to undeclared function 'open_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] open_error(action_file_name); ^ main.c:372:5: error: call to undeclared function 'reader'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] reader(); ^ main.c:373:5: error: call to undeclared function 'lr0'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] lr0(); ^ main.c:374:5: error: call to undeclared function 'lalr'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] lalr(); ^ main.c:375:5: error: call to undeclared function 'make_parser'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] make_parser(); ^ main.c:376:5: error: call to undeclared function 'verbose'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] verbose(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 7 warnings and 20 errors generated. mkpar.c:26:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] make_parser() ^ int mkpar.c:30:14: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parser = NEW2(nstates, action *); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ mkpar.c:32:27: warning: passing arguments to 'parse_actions' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parser[i] = parse_actions(i); ^ mkpar.c:34:5: error: call to undeclared function 'find_final_state'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] find_final_state(); ^ mkpar.c:35:5: error: call to undeclared function 'remove_conflicts'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] remove_conflicts(); ^ mkpar.c:36:5: error: call to undeclared function 'unused_rules'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] unused_rules(); ^ mkpar.c:37:32: error: call to undeclared function 'total_conflicts'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (SRtotal + RRtotal > 0) total_conflicts(); ^ mkpar.c:38:5: error: call to undeclared function 'defreds'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] defreds(); ^ mkpar.c:39:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:48:25: warning: passing arguments to 'get_shifts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] actions = get_shifts(stateno); ^ mkpar.c:49:29: warning: passing arguments to 'add_reductions' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] actions = add_reductions(stateno, actions); ^ mkpar.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_actions(stateno) ^ mkpar.c:20:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern action *parse_actions(); ^ mkpar.c:75:10: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp = NEW(action); ^ ./defs.h:107:30: note: expanded from macro 'NEW' #define NEW(t) ((t*)allocate(sizeof(t))) ^ mkpar.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_shifts(stateno) ^ mkpar.c:21:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern action *get_shifts(); ^ mkpar.c:108:23: warning: passing arguments to 'add_reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] actions = add_reduce(actions, ruleno, j); ^ mkpar.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_reductions(stateno, actions) ^ mkpar.c:22:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern action *add_reductions(); ^ mkpar.c:139:12: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp = NEW(action); ^ ./defs.h:107:30: note: expanded from macro 'NEW' #define NEW(t) ((t*)allocate(sizeof(t))) ^ mkpar.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_reduce(actions, ruleno, symbol) ^ mkpar.c:23:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern action *add_reduce(); ^ mkpar.c:156:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] find_final_state() ^ int mkpar.c:170:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:173:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] unused_rules() ^ int mkpar.c:179:26: error: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (rules_used == 0) no_space(); ^ mkpar.c:200:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ mkpar.c:202:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:205:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] remove_conflicts() ^ int mkpar.c:213:19: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SRconflicts = NEW2(nstates, short); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ mkpar.c:214:19: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RRconflicts = NEW2(nstates, short); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ mkpar.c:277:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:280:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] total_conflicts() ^ int mkpar.c:297:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sole_reduction(stateno) ^ mkpar.c:329:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] defreds() ^ int mkpar.c:333:14: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] defred = NEW2(nstates, short); ^ ./defs.h:108:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ mkpar.c:336:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:338:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] free_action_row(p) ^ int mkpar.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkpar.c:349:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:351:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] free_parser() ^ int mkpar.c:359:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 29 warnings and 14 errors generated. output.c:24:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] output() ^ int output.c:26:5: error: call to undeclared function 'free_itemsets'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] free_itemsets(); ^ output.c:27:5: error: call to undeclared function 'free_shifts'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] free_shifts(); ^ output.c:28:5: error: call to undeclared function 'free_reductions'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] free_reductions(); ^ output.c:29:5: error: call to undeclared function 'output_prefix'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] output_prefix(); ^ output.c:30:5: error: call to undeclared function 'output_stored_text'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] output_stored_text(); ^ output.c:31:5: error: call to undeclared function 'output_defines'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] output_defines(); ^ output.c:32:5: error: call to undeclared function 'output_rule_data'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] output_rule_data(); ^ output.c:33:5: error: call to undeclared function 'output_yydefred'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] output_yydefred(); ^ output.c:34:5: error: call to undeclared function 'output_actions'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] output_actions(); ^ output.c:35:5: error: call to undeclared function 'free_parser'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] free_parser(); ^ output.c:36:5: error: call to undeclared function 'output_debug'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] output_debug(); ^ output.c:37:5: error: call to undeclared function 'output_stype'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] output_stype(); ^ output.c:38:16: error: call to undeclared function 'write_section'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (rflag) write_section(tables); ^ output.c:40:5: error: call to undeclared function 'output_trailing_text'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] output_trailing_text(); ^ output.c:42:5: error: call to undeclared function 'output_semantic_actions'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] output_semantic_actions(); ^ output.c:44:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:47:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] output_prefix() ^ int output.c:104:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:107:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] output_rule_data() ^ int output.c:151:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:154:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] output_yydefred() ^ int output.c:178:1: warning: non-void function does not return a value [-Wreturn-type] } ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. reader.c:41:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] cachec(c) ^ int reader.c:49:18: error: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (cache == 0) no_space(); ^ reader.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cachec(c) ^ reader.c:53:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ reader.c:56:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] get_line() ^ int reader.c:67:2: error: non-void function 'get_line' should return a value [-Wreturn-type] return; ^ reader.c:75:17: error: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (line == 0) no_space(); ^ reader.c:83:32: error: non-void function 'get_line' should return a value [-Wreturn-type] if (c == '\n') { cptr = line; return; } ^ reader.c:88:22: error: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (line == 0) no_space(); ^ reader.c:96:6: error: non-void function 'get_line' should return a value [-Wreturn-type] return; ^ reader.c:111:17: error: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (p == 0) no_space(); ^ reader.c:120:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] skip_comment() ^ int reader.c:135:6: error: non-void function 'skip_comment' should return a value [-Wreturn-type] return; ^ reader.c:141:3: error: call to undeclared function 'unterminated_comment'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] unterminated_comment(st_lineno, st_line, st_cptr); ^ reader.c:270:5: error: call to undeclared function 'syntax_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] syntax_error(lineno, line, t_cptr); ^ reader.c:275:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] copy_ident() ^ int reader.c:281:19: error: call to undeclared function 'unexpected_EOF'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (c == EOF) unexpected_EOF(); ^ reader.c:282:19: error: call to undeclared function 'syntax_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (c != '"') syntax_error(lineno, line, cptr); ^ reader.c:291:6: error: non-void function 'copy_ident' should return a value [-Wreturn-type] return; ^ reader.c:298:6: error: non-void function 'copy_ident' should return a value [-Wreturn-type] return; ^ reader.c:304:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] copy_text() ^ int fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. skeleton.c:302:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] write_section(section) ^ int skeleton.c:311:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; s = section[i]; ++i) ~~^~~~~~~~~~~~ skeleton.c:311:19: note: place parentheses around the assignment to silence this warning for (i = 0; s = section[i]; ++i) ^ ( ) skeleton.c:311:19: note: use '==' to turn this assignment into an equality comparison for (i = 0; s = section[i]; ++i) ^ == skeleton.c:314:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s) ~~^~~~ skeleton.c:314:11: note: place parentheses around the assignment to silence this warning while (c = *s) ^ ( ) skeleton.c:314:11: note: use '==' to turn this assignment into an equality comparison while (c = *s) ^ == skeleton.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_section(section) ^ skeleton.c:321:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 4 warnings and 1 error generated. symtab.c:28:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *++s) ~~^~~~~~ symtab.c:28:14: note: place parentheses around the assignment to silence this warning while (c = *++s) ^ ( ) symtab.c:28:14: note: use '==' to turn this assignment into an equality comparison while (c = *++s) ^ == symtab.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hash(name) ^ symtab.c:43:18: error: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (bp == 0) no_space(); ^ symtab.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_bucket(name) ^ In file included from symtab.c:5: ./defs.h:278:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern bucket *make_bucket(); ^ symtab.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lookup(name) ^ In file included from symtab.c:5: ./defs.h:277:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern bucket *lookup(); ^ symtab.c:86:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] create_symbol_table() ^ int symtab.c:92:28: error: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (symbol_table == 0) no_space(); ^ symtab.c:103:1: warning: non-void function does not return a value [-Wreturn-type] } ^ symtab.c:106:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] free_symbol_table() ^ int symtab.c:110:1: warning: non-void function does not return a value [-Wreturn-type] } ^ symtab.c:113:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] free_symbols() ^ int symtab.c:122:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 9 warnings and 5 errors generated. verbose.c:10:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] verbose() ^ int verbose.c:14:17: error: non-void function 'verbose' should return a value [-Wreturn-type] if (!vflag) return; ^ verbose.c:17:26: error: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (null_rules == 0) no_space(); ^ verbose.c:20:2: error: call to undeclared function 'print_state'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] print_state(i); ^ verbose.c:24:2: error: call to undeclared function 'log_unused'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] log_unused(); ^ verbose.c:26:2: error: call to undeclared function 'log_conflicts'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] log_conflicts(); ^ verbose.c:34:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] log_unused() ^ int verbose.c:53:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] log_conflicts() ^ int verbose.c:81:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] print_state(state) ^ int verbose.c:87:2: error: call to undeclared function 'print_conflicts'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] print_conflicts(state); ^ verbose.c:87:2: note: did you mean 'log_conflicts'? verbose.c:53:1: note: 'log_conflicts' declared here log_conflicts() ^ verbose.c:89:5: error: call to undeclared function 'print_core'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] print_core(state); ^ verbose.c:90:5: error: call to undeclared function 'print_nulls'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] print_nulls(state); ^ verbose.c:91:5: error: call to undeclared function 'print_actions'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] print_actions(state); ^ verbose.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_state(state) ^ verbose.c:95:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] print_conflicts(state) ^ int verbose.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verbose.c:143:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] print_core(state) ^ int verbose.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verbose.c:179:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] print_nulls(state) ^ int verbose.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verbose.c:223:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] print_actions(stateno) ^ int verbose.c:236:2: error: call to undeclared function 'print_shifts'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] print_shifts(p); ^ verbose.c:236:2: note: did you mean 'print_state'? verbose.c:81:1: note: 'print_state' declared here print_state(state) ^ verbose.c:237:2: error: call to undeclared function 'print_reductions'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] print_reductions(p, defred[stateno]); ^ verbose.c:237:2: note: did you mean 'print_actions'? verbose.c:223:1: note: 'print_actions' declared here print_actions(stateno) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. warshall.c:7:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] transitive_closure(R, n) ^ int warshall.c:7:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] warshall.c:57:1: warning: non-void function does not return a value [-Wreturn-type] } ^ warshall.c:59:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] reflexive_transitive_closure(R, n) ^ int warshall.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] warshall.c:86:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 4 warnings and 2 errors generated. make: *** [Makefile:9: yacc] Error 1 * ERROR: dev-util/yacc-1.9.1-r6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/yacc-1.9.1-r6::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/yacc-1.9.1-r6::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:yacc-1.9.1-r6:20221005-174305.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/yacc-1.9.1-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/yacc-1.9.1-r6/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/yacc-1.9.1-r6/work/yacc-1.9.1' * S: '/var/tmp/portage/dev-util/yacc-1.9.1-r6/work/yacc-1.9.1'