WARNING: [license.mk] Every package should define a LICENSE. ===> Building for caml-light-0.74nb2 cd runtime; make CC="gcc" OPTS="-Dunix" LIBS="" all awk -f ../tools/make-jumptbl instruct.h > jumptbl.h gcc -O2 -Dunix -I.. -c interp.c In file included from interp.c:4: In file included from ./alloc.h:5: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ interp.c:696:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] accu = (cprim[u16pc])(accu); ^ interp.c:702:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] accu = (cprim[u16pc])(accu, asp[0]); ^ interp.c:709:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] accu = (cprim[u16pc])(accu, asp[0], asp[1]); ^ interp.c:716:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] accu = (cprim[u16pc])(accu, asp[0], asp[1], asp[2]); ^ interp.c:723:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] accu = (cprim[u16pc])(accu, asp[0], asp[1], asp[2], asp[3]); ^ interp.c:732:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] accu = (cprim[u16pc])(asp, n); ^ interp.c:136:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value interprete(prog) ^ interp.c:950:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value callback(closure, argument) ^ 9 warnings generated. gcc -O2 -Dunix -I.. -c misc.c In file included from misc.c:2: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ misc.c:19:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void gc_message (msg, arg) ^ misc.c:33:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void fatal_error (msg) ^ misc.c:39:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void fatal_error_arg (fmt, arg) ^ misc.c:132:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * aligned_malloc (size, modulo) ^ 5 warnings generated. gcc -O2 -Dunix -I.. -c stacks.c In file included from stacks.c:3: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ 1 warning generated. gcc -O2 -Dunix -I.. -c fix_code.c In file included from fix_code.c:3: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ 1 warning generated. gcc -O2 -Dunix -I.. -c main.c In file included from main.c:10: In file included from ./alloc.h:5: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ main.c:51:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static unsigned long read_size(p) ^ main.c:70:32: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] trail->code_size = read_size(buffer); ^~~~~~ main.c:71:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] trail->data_size = read_size(buffer+4); ^~~~~~~~ main.c:72:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] trail->symbol_size = read_size(buffer+8); ^~~~~~~~ main.c:73:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] trail->debug_size = read_size(buffer+12); ^~~~~~~~~ main.c:74:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] trail->magic = read_size(buffer+16); ^~~~~~~~~ main.c:62:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int read_trailer(fd, trail) ^ main.c:90:24: warning: passing arguments to 'searchpath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] truename = searchpath(*name); ^ main.c:80:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int attempt_open(name, trail, do_open_script) ^ main.c:248:15: warning: passing arguments to 'interprete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] interprete(start_code); ^ main.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 12 warnings generated. gcc -O2 -Dunix -I.. -c fail.c In file included from fail.c:3: In file included from ./alloc.h:5: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ fail.c:12:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void mlraise(v) ^ fail.c:20:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void raise_with_arg(tag, arg) ^ fail.c:34:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void raise_with_string(tag, msg) ^ fail.c:41:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void failwith (msg) ^ fail.c:47:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void invalid_argument (msg) ^ 6 warnings generated. gcc -O2 -Dunix -I.. -c signals.c In file included from signals.c:1: In file included from ./alloc.h:5: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ signals.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void execute_signal (signal_handler, signal_number) ^ signals.c:27:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void handle_signal(signal_handler, signal_number) ^ 3 warnings generated. gcc -O2 -Dunix -I.. -c debugcom.c In file included from debugcom.c:7: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ debugcom.c:85:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void open_connection(connect_type) ^ debugcom.c:112:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void debugger_init(address) ^ debugcom.c:152:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static value getval(chan) ^ debugcom.c:161:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void putval(chan, val) ^ debugcom.c:175:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int debugger(event) ^ 6 warnings generated. gcc -O2 -Dunix -I.. -c freelist.c In file included from freelist.c:1: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ freelist.c:71:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *allocate_block (wh_sz, prev, cur) ^ freelist.c:99:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *fl_allocate (wo_sz) ^ freelist.c:141:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *fl_merge_block (bp) ^ freelist.c:205:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void fl_add_block (bp) ^ 5 warnings generated. gcc -O2 -Dunix -I.. -c major_gc.c In file included from major_gc.c:1: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ major_gc.c:71:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void darken (v) ^ major_gc.c:81:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void darken_root (p, v) ^ major_gc.c:98:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void mark_slice (work) ^ major_gc.c:151:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void sweep_slice (work) ^ major_gc.c:254:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] asize_t round_heap_chunk_size (request) ^ major_gc.c:265:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ major_gc.c:267:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void init_major_heap (heap_size) ^ 8 warnings generated. gcc -O2 -Dunix -I.. -c minor_gc.c In file included from minor_gc.c:1: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ minor_gc.c:19:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void set_minor_heap_size (size) ^ minor_gc.c:51:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void oldify (p, v) ^ 3 warnings generated. gcc -O2 -Dunix -I.. -c memory.c In file included from memory.c:1: In file included from ./debugger.h:4: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ memory.c:18:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *expand_heap (request) ^ memory.c:118:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value alloc_shr (wosize, tag) ^ memory.c:152:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void adjust_gc_speed (mem, max) ^ memory.c:173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void initialize (fp, val) ^ memory.c:191:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void modify (fp, val) ^ memory.c:198:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *stat_alloc (sz) ^ memory.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void stat_free (blk) ^ memory.c:213:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *stat_resize (blk, sz) ^ 9 warnings generated. gcc -O2 -Dunix -I.. -c alloc.c In file included from alloc.c:8: In file included from ./alloc.h:5: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ alloc.c:18:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value alloc (wosize, tag) ^ alloc.c:29:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value alloc_tuple(n) ^ alloc.c:35:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value alloc_string (len) ^ alloc.c:53:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value alloc_final (len, fun, mem, max) ^ alloc.c:65:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value copy_double(d) ^ alloc.c:75:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value copy_string(s) ^ alloc.c:87:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value alloc_array(funct, arr) ^ alloc.c:116:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value copy_string_array(arr) ^ alloc.c:122:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int convert_flag_list(list, flags) ^ 10 warnings generated. gcc -O2 -Dunix -I.. -c roots.c In file included from roots.c:3: In file included from ./debugger.h:4: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ roots.c:17:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (*sp != MARK) copy_fn (sp, *sp); ^ roots.c:22:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_fn (&((struct return_frame *) sp)->env, ^ roots.c:28:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_fn (sp, *sp); ^ roots.c:39:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_fn (sp, *sp); ^ roots.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void local_roots (copy_fn) ^ 6 warnings generated. gcc -O2 -Dunix -I.. -c compare.c In file included from compare.c:1: In file included from ./fail.h:6: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ compare.c:10:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static long compare_val(v1, v2) ^ compare.c:69:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value compare(v1, v2) /* ML */ ^ compare.c:75:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value equal(v1, v2) /* ML */ ^ compare.c:81:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value notequal(v1, v2) /* ML */ ^ compare.c:87:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value lessthan(v1, v2) /* ML */ ^ compare.c:93:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value lessequal(v1, v2) /* ML */ ^ compare.c:99:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value greaterthan(v1, v2) /* ML */ ^ compare.c:105:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value greaterequal(v1, v2) /* ML */ ^ 9 warnings generated. gcc -O2 -Dunix -I.. -c ints.c In file included from ints.c:2: In file included from ./alloc.h:5: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ ints.c:7:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value int_of_string(s) /* ML */ ^ ints.c:54:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value format_int(fmt, arg) /* ML */ ^ 3 warnings generated. gcc -O2 -Dunix -I.. -c floats.c In file included from floats.c:3: In file included from ./alloc.h:5: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ floats.c:37:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value format_float(fmt, arg) /* ML */ ^ floats.c:79:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value float_of_string(s) /* ML */ ^ floats.c:85:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value exp_float(f) /* ML */ ^ floats.c:91:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value fabs_float(f) /* ML */ ^ floats.c:97:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value floor_float(f) /* ML */ ^ floats.c:103:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value fmod_float(f1, f2) /* ML */ ^ floats.c:109:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value frexp_float(f) /* ML */ ^ floats.c:124:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value ldexp_float(f, i) /* ML */ ^ floats.c:130:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value log_float(f) /* ML */ ^ floats.c:136:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value log10_float(f) /* ML */ ^ floats.c:142:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value modf_float(f) /* ML */ ^ floats.c:159:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sqrt_float(f) /* ML */ ^ floats.c:165:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value power_float(f, g) /* ML */ ^ floats.c:171:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sin_float(f) /* ML */ ^ floats.c:177:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sinh_float(f) /* ML */ ^ floats.c:183:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value cos_float(f) /* ML */ ^ floats.c:189:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value cosh_float(f) /* ML */ ^ floats.c:195:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value tan_float(f) /* ML */ ^ floats.c:201:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value tanh_float(f) /* ML */ ^ floats.c:207:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value asin_float(f) /* ML */ ^ floats.c:213:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value acos_float(f) /* ML */ ^ floats.c:219:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value atan_float(f) /* ML */ ^ floats.c:225:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value atan2_float(f, g) /* ML */ ^ floats.c:231:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value ceil_float(f) /* ML */ ^ 25 warnings generated. gcc -O2 -Dunix -I.. -c str.c In file included from str.c:3: In file included from ./alloc.h:5: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ str.c:7:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mlsize_t string_length(s) ^ str.c:16:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value create_string(len) /* ML */ ^ str.c:22:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value compare_strings(s1, s2) /* ML */ ^ str.c:37:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return (*p1 < *p2 ? Val_long(-1) : Val_long(1)); ^~~~~~~~~~~~ ./mlvalues.h:62:37: note: expanded from macro 'Val_long' #define Val_long(x) (((long)(x) << 1) + 1) ~~~~~~~~~ ^ str.c:41:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return Val_long(-2); ^~~~~~~~~~~~ ./mlvalues.h:62:37: note: expanded from macro 'Val_long' #define Val_long(x) (((long)(x) << 1) + 1) ~~~~~~~~~ ^ str.c:46:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value blit_string(s1, offset1, s2, offset2, len) /* ML */ ^ str.c:55:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value fill_string(s, offset, len, init) /* ML */ ^ str.c:84:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value is_printable(chr) /* ML */ ^ 9 warnings generated. gcc -O2 -Dunix -I.. -c io.c In file included from io.c:10: In file included from ./alloc.h:5: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ io.c:25:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct channel * open_descr(fd) ^ io.c:38:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value open_descriptor(fd) /* ML */ ^ io.c:44:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value channel_descriptor(channel) /* ML */ ^ io.c:50:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value channel_size(channel) /* ML */ ^ io.c:64:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void really_write(fd, p, n) ^ io.c:86:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value flush(channel) /* ML */ ^ io.c:100:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value output_char(channel, ch) /* ML */ ^ io.c:108:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void putword(channel, w) ^ io.c:118:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value output_int(channel, w) /* ML */ ^ io.c:126:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void putblock(channel, p, n) ^ io.c:159:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value output(channel, buff, start, length) /* ML */ ^ io.c:168:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value seek_out(channel, pos) /* ML */ ^ io.c:186:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value pos_out(channel) /* ML */ ^ io.c:192:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value close_out(channel) /* ML */ ^ io.c:203:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int really_read(fd, p, n) ^ io.c:225:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned char refill(channel) ^ io.c:238:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value input_char(channel) /* ML */ ^ io.c:246:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uint32 getword(channel) ^ io.c:259:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value input_int(channel) /* ML */ ^ io.c:270:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned getblock(channel, p, n) ^ io.c:303:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int really_getblock(chan, p, n) ^ io.c:318:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value input(channel, buff, start, length) /* ML */ ^ io.c:326:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value seek_in(channel, pos) /* ML */ ^ io.c:344:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value pos_in(channel) /* ML */ ^ io.c:350:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value close_in(channel) /* ML */ ^ io.c:358:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value input_scan_line(channel) /* ML */ ^ 27 warnings generated. gcc -O2 -Dunix -I.. -c extern.c In file included from extern.c:3: In file included from ./debugger.h:4: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ extern.c:56:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static byteoffset_t emit(v) ^ extern.c:93:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static byteoffset_t emit_all(root) ^ extern.c:132:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value extern_val(chan, v) /* ML */ ^ 4 warnings generated. gcc -O2 -Dunix -I.. -c externcp.c In file included from externcp.c:3: In file included from ./debugger.h:4: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ externcp.c:12:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void output_number(chan, code, val, nbits) ^ externcp.c:85:24: warning: call to undeclared function 'string_length'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] mlsize_t len = string_length(v); ^ externcp.c:26:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void emit_compact(chan, v) ^ externcp.c:137:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value extern_compact_val(chan, v) /* ML */ ^ externcp.c:143:15: warning: call to undeclared function 'pos_out'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] start_loc = pos_out(chan); ^ externcp.c:162:3: warning: call to undeclared function 'seek_out'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] seek_out(chan, start_loc); ^ 7 warnings generated. gcc -O2 -Dunix -I.. -c intern.c In file included from intern.c:3: In file included from ./debugger.h:4: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ intern.c:15:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void adjust_pointers(start, size, color) ^ intern.c:60:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void rev_pointers(p, size) ^ intern.c:98:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void rev_pointers_32(p, size) ^ intern.c:130:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static mlsize_t size_after_expansion(p, len) ^ intern.c:162:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void expand_block(source, dest, source_len, dest_len, color) ^ intern.c:495:25: warning: passing 'header_t *' (aka 'unsigned long *') to parameter of type 'value *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] expand_block(block, Hp_val(res), whsize32, whsize, color); ^~~~~~~~~~~ ./mlvalues.h:93:21: note: expanded from macro 'Hp_val' #define Hp_val(val) (& Hd_val (val)) ^~~~~~~~~~~~~~~~ intern.c:508:20: warning: passing 'header_t *' (aka 'unsigned long *') to parameter of type 'value *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] rev_pointers(Hp_val (res), whsize); ^~~~~~~~~~~~ ./mlvalues.h:93:21: note: expanded from macro 'Hp_val' #define Hp_val(val) (& Hd_val (val)) ^~~~~~~~~~~~~~~~ intern.c:509:21: warning: passing 'header_t *' (aka 'unsigned long *') to parameter of type 'value *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] adjust_pointers(Hp_val (res), whsize, color); ^~~~~~~~~~~~ ./mlvalues.h:93:21: note: expanded from macro 'Hp_val' #define Hp_val(val) (& Hd_val (val)) ^~~~~~~~~~~~~~~~ intern.c:454:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static value intern_fast_val(chan, magic) ^ intern.c:568:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value intern_val(chan) /* ML */ ^ 11 warnings generated. gcc -O2 -Dunix -I.. -c interncp.c In file included from interncp.c:3: In file included from ./debugger.h:4: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ interncp.c:19:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static long input_bytes(chan, nbytes, sign_extend) ^ interncp.c:33:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void read_compact(chan, dest) ^ interncp.c:148:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value intern_compact_val(chan) ^ 4 warnings generated. gcc -O2 -Dunix -I.. -c hash.c In file included from hash.c:3: In file included from ./mlvalues.h:5: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ hash.c:18:11: warning: passing arguments to 'hash_aux' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hash_aux(obj); ^ hash.c:12:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value hash_univ_param(count, limit, obj) /* ML */ ^ hash.c:29:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void hash_aux(obj) ^ hash.c:10:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void hash_aux(); ^ 5 warnings generated. gcc -O2 -Dunix -I.. -c sys.c In file included from sys.c:14: In file included from ./alloc.h:5: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ sys.c:41:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char * strerror(); ^ sys.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void sys_error(arg) ^ sys.c:73:19: warning: call to undeclared function 'string_length'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] int arg_len = string_length(arg); ^ sys.c:86:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sys_exit(retcode) /* ML */ ^ sys.c:116:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sys_open(path, flags, perm) /* ML */ ^ sys.c:133:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sys_close(fd) /* ML */ ^ sys.c:140:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sys_remove(name) /* ML */ ^ sys.c:153:7: warning: call to undeclared function 'rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (rename(String_val(oldname), String_val(newname)) != 0) ^ sys.c:149:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sys_rename(oldname, newname) /* ML */ ^ sys.c:161:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sys_chdir(dirname) /* ML */ ^ sys.c:168:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char * getenv(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ sys.c:170:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sys_getenv(var) /* ML */ ^ sys.c:182:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sys_system_command(command) /* ML */ ^ sys.c:195:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sys_time(unit) /* ML */ ^ sys.c:233:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void sys_init(argv) ^ sys.c:258:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sighandler_return_type intr_handler(sig) ^ sys.c:267:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value sys_catch_break(onoff) /* ML */ ^ sys.c:283:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * searchpath(name) ^ 19 warnings generated. gcc -O2 -Dunix -I.. -c meta.c In file included from meta.c:3: In file included from ./alloc.h:5: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ meta.c:19:20: warning: passing arguments to 'interprete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return interprete(&Byte(prog, Long_val(offset))); ^ meta.c:13:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value start_interp(prog, offset, len) /* ML */ ^ meta.c:22:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value realloc_global(size) /* ML */ ^ meta.c:45:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value static_alloc(size) /* ML */ ^ meta.c:51:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value static_free(blk) /* ML */ ^ meta.c:58:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value static_resize(blk, new_size) /* ML */ ^ meta.c:64:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value obj_is_block(arg) /* ML */ ^ meta.c:70:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value obj_block(tag, size) /* ML */ ^ 9 warnings generated. gcc -O2 -Dunix -I.. -c parsing.c In file included from parsing.c:3: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ parsing.c:73:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value parse_engine(tables, env, cmd, arg) /* ML */ ^ parsing.c:165:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] env->curr_char = Val_int(-1); ^~~~~~~~~~~ ./mlvalues.h:66:17: note: expanded from macro 'Val_int' #define Val_int Val_long ^ ./mlvalues.h:62:37: note: expanded from macro 'Val_long' #define Val_long(x) (((long)(x) << 1) + 1) ~~~~~~~~~ ^ parsing.c:214:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 4 warnings generated. gcc -O2 -Dunix -I.. -c lexing.c In file included from lexing.c:3: In file included from ./mlvalues.h:5: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ lexing.c:19:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value get_next_char(lexbuf) /* ML */ ^ 2 warnings generated. gcc -O2 -Dunix -I.. -c gc_ctrl.c In file included from gc_ctrl.c:1: In file included from ./alloc.h:5: In file included from ./misc.h:7: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ gc_ctrl.c:26:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value gc_stat (v) /* ML */ ^ gc_ctrl.c:105:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value gc_get (v) /* ML */ ^ gc_ctrl.c:119:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int norm_pfree (p) ^ gc_ctrl.c:126:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static long norm_heapincr (i) ^ gc_ctrl.c:135:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static long norm_minsize (s) ^ gc_ctrl.c:143:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value gc_set (v) /* ML */ ^ gc_ctrl.c:171:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value gc_minor (v) /* ML */ ^ gc_ctrl.c:178:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value gc_major (v) /* ML */ ^ gc_ctrl.c:186:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value gc_full_major (v) /* ML */ ^ gc_ctrl.c:195:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void init_gc (minor_size, major_incr, percent_fr, verb) ^ gc_ctrl.c:210:3: warning: call to undeclared function 'init_c_roots'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] init_c_roots (); ^ 12 warnings generated. sed -n -e '/\/\* ML \*\//s/.* \([a-z0-9_][a-z0-9_]*\) *(.*/\1/p' compare.c extern.c externcp.c floats.c gc_ctrl.c hash.c intern.c interncp.c interp.c ints.c io.c lexing.c meta.c parsing.c str.c sys.c > primitives2 sh -c 'if cmp -s primitives primitives2; then rm primitives2; else mv primitives2 primitives; fi' (echo '#include "mlvalues.h"'; echo '#include "prims.h"'; sed -e 's/.*/extern value &();/' primitives; echo 'c_primitive cprim[] = {'; sed -e 's/.*/ &,/' primitives; echo ' 0 };'; echo 'char * names_of_cprim[] = {'; sed -e 's/.*/ "&",/' primitives; echo ' 0 };') > prims.c gcc -O2 -Dunix -I.. -c prims.c In file included from prims.c:1: In file included from ./mlvalues.h:5: ./config.h:18:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ 1 warning generated. gcc -O2 -Dunix -I.. -o camlrun prims.o interp.o misc.o stacks.o fix_code.o main.o fail.o signals.o debugcom.o freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o compare.o ints.o floats.o str.o io.o extern.o externcp.o intern.o interncp.o hash.o sys.o meta.o parsing.o lexing.o gc_ctrl.o -lm rm -f libcaml.a ar rc libcaml.a interp.o misc.o stacks.o fix_code.o main.o fail.o signals.o debugcom.o freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o compare.o ints.o floats.o str.o io.o extern.o externcp.o intern.o interncp.o hash.o sys.o meta.o parsing.o lexing.o gc_ctrl.o if test -f /usr/bin/ranlib -o -f /bin/ranlib; then ranlib libcaml.a; else true; fi cp runtime/camlrun . cd yacc; make CC="gcc" OPTS="-Dunix" all gcc -O -DNDEBUG -Dunix -c closure.c closure.c:11:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_EFF() ^ int closure.c:21: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ closure.c:39:5: warning: call to undeclared function 'reflexive_transitive_closure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] reflexive_transitive_closure(EFF, nvars); ^ closure.c:44:1: warning: non-void function does not return a value [-Wreturn-type] } ^ closure.c:47:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_first_derives() ^ int closure.c:63: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] first_derives = NEW2(nvars * rulesetsize, unsigned) - ntokens * rulesetsize; ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ closure.c:101:1: warning: non-void function does not return a value [-Wreturn-type] } ^ closure.c:104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] closure(nucleus, n) ^ int closure.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] closure.c:175:1: warning: non-void function does not return a value [-Wreturn-type] } ^ closure.c:179:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] finalize_closure() ^ int closure.c:184:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 12 warnings generated. gcc -O -DNDEBUG -Dunix -c error.c error.c:6:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fatal(msg) ^ int error.c:10:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(2); ^ error.c:6: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:11:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:14:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] no_space() ^ int error.c:17:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(2); ^ error.c:18:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:21:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] open_error(filename) ^ int error.c:25:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(2); ^ error.c:21: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:26:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:29:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unexpected_EOF() ^ int error.c:33:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:34:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:37:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void print_pos(st_line, st_cptr) ^ error.c:64:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] syntax_error(st_lineno, st_line, st_cptr) ^ int error.c:72:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:64: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:73:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unterminated_comment(c_lineno, c_line, c_cptr) ^ int error.c:84:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:76: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:85:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:88:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unterminated_string(s_lineno, s_line, s_cptr) ^ int error.c:96:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:88: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:97:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:100:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unterminated_text(t_lineno, t_line, t_cptr) ^ int error.c:108:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:100: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:109:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:112:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unterminated_union(u_lineno, u_line, u_cptr) ^ int error.c:120:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:112: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_union(u_lineno, u_line, u_cptr) ^ error.c:121:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:124:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] over_unionized(u_cptr) ^ int error.c:130:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] over_unionized(u_cptr) ^ error.c:131:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:134:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] illegal_tag(t_lineno, t_line, t_cptr) ^ int error.c:142:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] illegal_tag(t_lineno, t_line, t_cptr) ^ error.c:143:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:146:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] illegal_character(c_cptr) ^ int error.c:152:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] illegal_character(c_cptr) ^ error.c:153:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:156:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] used_reserved(s) ^ int error.c:161:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] used_reserved(s) ^ error.c:162:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] tokenized_start(s) ^ int error.c:170:6: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tokenized_start(s) ^ error.c:171:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:174:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] retyped_warning(s) ^ int error.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error.c:179:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:182:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] reprec_warning(s) ^ int error.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error.c:187:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:190:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] revalued_warning(s) ^ int error.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error.c:195:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:198:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] terminal_start(s) ^ int error.c:203:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] terminal_start(s) ^ error.c:204:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:206:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] too_many_entries() ^ int error.c:210:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:211:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:214:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] no_grammar() ^ int error.c:218:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:219:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:222:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] terminal_lhs(s_lineno) ^ int error.c:227:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] terminal_lhs(s_lineno) ^ error.c:228:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:231:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] prec_redeclared() ^ int error.c:235:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:238:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unterminated_action(a_lineno, a_line, a_cptr) ^ int error.c:246:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:238: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_action(a_lineno, a_line, a_cptr) ^ error.c:247:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:250:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dollar_warning(a_lineno, i) ^ int error.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error.c:256:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:259:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dollar_error(a_lineno, a_line, a_cptr) ^ int error.c:267:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dollar_error(a_lineno, a_line, a_cptr) ^ error.c:268:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:271:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] untyped_lhs() ^ int error.c:275:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:276:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:279:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] untyped_rhs(i, s) ^ int error.c:285:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] untyped_rhs(i, s) ^ error.c:286:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:289:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unknown_rhs(i) ^ int error.c:294:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unknown_rhs(i) ^ error.c:295:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:297:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] illegal_token_ref(i, name) ^ int error.c:304:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] illegal_token_ref(i, name) ^ error.c:305:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:307:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] default_action_error() ^ int error.c:312:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:313:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:316:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] undefined_goal(s) ^ int error.c:320:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] undefined_goal(s) ^ error.c:321:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:324:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] undefined_symbol_warning(s) ^ int error.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error.c:328:1: warning: non-void function does not return a value [-Wreturn-type] } ^ error.c:331:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] entry_without_type(s) ^ int error.c:337:5: warning: call to undeclared function 'done'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] done(1); ^ error.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entry_without_type(s) ^ error.c:338:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 120 warnings generated. gcc -O -DNDEBUG -Dunix -c lalr.c lalr.c:37:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lalr() ^ int lalr.c:41:5: warning: call to undeclared function 'set_state_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_state_table(); ^ lalr.c:42:5: warning: call to undeclared function 'set_accessing_symbol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_accessing_symbol(); ^ lalr.c:43:5: warning: call to undeclared function 'set_shift_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_shift_table(); ^ lalr.c:44:5: warning: call to undeclared function 'set_reduction_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_reduction_table(); ^ lalr.c:45:5: warning: call to undeclared function 'set_maxrhs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_maxrhs(); ^ lalr.c:46:5: warning: call to undeclared function 'initialize_LA'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] initialize_LA(); ^ lalr.c:47:5: warning: call to undeclared function 'set_goto_map'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_goto_map(); ^ lalr.c:48:5: warning: call to undeclared function 'initialize_F'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] initialize_F(); ^ lalr.c:49:5: warning: call to undeclared function 'build_relations'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] build_relations(); ^ lalr.c:50:5: warning: call to undeclared function 'compute_FOLLOWS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] compute_FOLLOWS(); ^ lalr.c:51:5: warning: call to undeclared function 'compute_lookaheads'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] compute_lookaheads(); ^ lalr.c:52:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:56:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_state_table() ^ int lalr.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] state_table = NEW2(nstates, core *); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:63:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_accessing_symbol() ^ int lalr.c:71: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:74:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:78:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_shift_table() ^ int lalr.c:82: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:85:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_reduction_table() ^ int lalr.c:93: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:96:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:100:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_maxrhs() ^ int lalr.c:124:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:128:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] initialize_LA() ^ int lalr.c:133: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:145: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:146: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:147: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:162:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_goto_map() ^ int lalr.c:175: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:176: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:188:6: warning: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fatal("too many gotos"); ^ lalr.c:208: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] from_state = NEW2(ngotos, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:209: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] to_state = NEW2(ngotos, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:228:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] map_goto(state, symbol) ^ lalr.c:263:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] initialize_F() ^ int lalr.c:279:7: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] F = NEW2(nwords, unsigned); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:281: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] reads = NEW2(ngotos, short *); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:282: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] edge = NEW2(ngotos + 1, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:312: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] reads[i] = rp = NEW2(nedges + 1, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:326:3: warning: call to undeclared function 'digraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] digraph(reads); ^ lalr.c:336:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:340:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] build_relations() ^ int lalr.c:360: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] includes = NEW2(ngotos, short *); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:361: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] edge = NEW2(ngotos + 1, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:362: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] states = NEW2(maxrhs + 1, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:391:4: warning: call to undeclared function 'add_lookback_edge'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] add_lookback_edge(stateno, *rulep, i); ^ lalr.c:410:27: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] includes[i] = shortp = NEW2(nedges + 1, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:417:27: warning: passing arguments to 'transpose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_includes = transpose(includes, ngotos); ^ lalr.c:429:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:432:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] add_lookback_edge(stateno, ruleno, gotono) ^ int lalr.c:451: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] sp = NEW(shorts); ^ ./defs.h:144:30: note: expanded from macro 'NEW' #define NEW(t) ((t*)allocate(sizeof(t))) ^ lalr.c:432: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_lookback_edge(stateno, ruleno, gotono) ^ lalr.c:455:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:471: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] nedges = NEW2(n, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:483: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] new_R = NEW2(n, short *); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:484: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_R = NEW2(n, short *); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:491:9: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sp = NEW2(k + 1, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] transpose(R, n) ^ lalr.c:23:9: 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] short **transpose(); ^ lalr.c:517:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] compute_FOLLOWS() ^ int lalr.c:519:3: warning: call to undeclared function 'digraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] digraph(includes); ^ lalr.c:520:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:523:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] compute_lookaheads() ^ int lalr.c:554:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:557:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] digraph(relation) ^ int lalr.c:563: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] INDEX = NEW2(ngotos + 1, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:564: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] VERTICES = NEW2(ngotos + 1, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lalr.c:575:2: warning: call to undeclared function 'traverse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] traverse(i); ^ lalr.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] digraph(relation) ^ lalr.c:580:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lalr.c:584:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] traverse(i) ^ int lalr.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lalr.c:638:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 80 warnings generated. gcc -O -DNDEBUG -Dunix -c lr0.c lr0.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] allocate_itemsets() ^ int lr0.c:44: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:57: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:58: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:71: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:72:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:75:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] allocate_storage() ^ int lr0.c:78: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:79: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:80: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:81:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:84:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] append_states() ^ int lr0.c:108: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:110:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] free_storage() ^ int lr0.c:122:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] generate_states() ^ int lr0.c:129: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:130: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:131:5: warning: call to undeclared function 'set_first_derives'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_first_derives(); ^ lr0.c:132:5: warning: call to undeclared function 'initialize_states'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] initialize_states(); ^ lr0.c:136:2: warning: call to undeclared function 'closure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] closure(this_state->items, this_state->nitems); ^ lr0.c:137:2: warning: call to undeclared function 'save_reductions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] save_reductions(); ^ lr0.c:138:2: warning: call to undeclared function 'new_itemsets'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] new_itemsets(); ^ lr0.c:142:6: warning: call to undeclared function 'save_shifts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] save_shifts(); ^ lr0.c:147:5: warning: call to undeclared function 'finalize_closure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] finalize_closure(); ^ lr0.c:149:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:202: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:210: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:154: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:13: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:218:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] initialize_states() ^ int lr0.c:229:17: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (p == 0) no_space(); ^ lr0.c:242:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:245:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] new_itemsets() ^ int lr0.c:277:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:296:2: warning: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fatal("too many states"); ^ lr0.c:302: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:282: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:14: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:322:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] show_cores() ^ int lr0.c:352:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:357:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] show_ritems() ^ int lr0.c:363:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:367:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] show_rrhs() ^ int lr0.c:373:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:378:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] show_shifts() ^ int lr0.c:393:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:396:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] save_shifts() ^ int lr0.c:403:28: 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 = (shifts *) allocate((unsigned) (sizeof(shifts) + ^ lr0.c:426:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:430:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] save_reductions() ^ int lr0.c:452:29: 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 = (reductions *) allocate((unsigned) (sizeof(reductions) + ^ lr0.c:476:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:479:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_derives() ^ int lr0.c:485: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] derives = NEW2(nsyms, short *); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:486:13: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rules = NEW2(nvars + nrules, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ lr0.c:507:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:509:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] free_derives() ^ int lr0.c:513:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:538:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_nullable() ^ int lr0.c:545:24: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (nullable == 0) no_space(); ^ lr0.c:584:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:587:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] free_nullable() ^ int lr0.c:590:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lr0.c:593:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lr0() ^ int lr0.c:598:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 67 warnings generated. gcc -O -DNDEBUG -Dunix -c main.c main.c:79:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] done(k) ^ int main.c:82:45: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (action_file) { fclose(action_file); unlink(action_file_name); } ^ main.c:83:43: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (entry_file) { fclose(entry_file); unlink(entry_file_name); } ^ main.c:84:41: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (text_file) { fclose(text_file); unlink(text_file_name); } ^ main.c:85:43: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (union_file) { fclose(union_file); unlink(union_file_name); } ^ main.c:87:28: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fclose(output_file); unlink(output_file_name); ^ main.c:90:31: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fclose(interface_file); unlink(interface_file_name); ^ main.c:79: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:96:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void onintr(dummy) ^ main.c:103:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_signals() ^ int main.c:117:1: warning: non-void function does not return a value [-Wreturn-type] } ^ main.c:120:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] usage() ^ int main.c:200:29: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (file_prefix == 0) no_space(); ^ main.c:127:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void getargs(argc, argv) ^ main.c:223:10: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!p) no_space(); ^ main.c:214: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:3: ./defs.h:321: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:229:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] create_file_names() ^ int main.c:247:32: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (action_file_name == 0) no_space(); ^ main.c:289:2: warning: call to undeclared function 'open_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] open_error(action_file_name); ^ main.c:322:1: warning: non-void function does not return a value [-Wreturn-type] } ^ main.c:325:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] open_files() ^ int main.c:333:6: warning: call to undeclared function 'open_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] open_error(input_file_name); ^ main.c:338:2: warning: call to undeclared function 'open_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] open_error(action_file_name); ^ main.c:382:1: warning: non-void function does not return a value [-Wreturn-type] } ^ main.c:385:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int main.c:392:5: warning: call to undeclared function 'reader'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] reader(); ^ main.c:393:5: warning: call to undeclared function 'lr0'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] lr0(); ^ main.c:394:5: warning: call to undeclared function 'lalr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] lalr(); ^ main.c:395:5: warning: call to undeclared function 'make_parser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] make_parser(); ^ main.c:396:5: warning: call to undeclared function 'verbose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] verbose(); ^ main.c:397:5: warning: call to undeclared function 'output'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output(); ^ main.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 33 warnings generated. gcc -O -DNDEBUG -Dunix -c mkpar.c mkpar.c:23:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] make_parser() ^ int mkpar.c:27: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ mkpar.c:29: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:31:5: warning: call to undeclared function 'find_final_state'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] find_final_state(); ^ mkpar.c:32:5: warning: call to undeclared function 'remove_conflicts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] remove_conflicts(); ^ mkpar.c:33:5: warning: call to undeclared function 'unused_rules'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unused_rules(); ^ mkpar.c:34:32: warning: call to undeclared function 'total_conflicts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (SRtotal + RRtotal > 0) total_conflicts(); ^ mkpar.c:35:5: warning: call to undeclared function 'defreds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] defreds(); ^ mkpar.c:36:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:45: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:46: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:40: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:17: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:72: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:144:30: note: expanded from macro 'NEW' #define NEW(t) ((t*)allocate(sizeof(t))) ^ mkpar.c:52: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:18: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:105: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:87: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:19: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:136: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:144:30: note: expanded from macro 'NEW' #define NEW(t) ((t*)allocate(sizeof(t))) ^ mkpar.c:113: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: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 *add_reduce(); ^ mkpar.c:153:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] find_final_state() ^ int mkpar.c:167:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:170:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unused_rules() ^ int mkpar.c:176:26: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (rules_used == 0) no_space(); ^ mkpar.c:197:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ mkpar.c:199:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] remove_conflicts() ^ int mkpar.c:210: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ mkpar.c:211: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ mkpar.c:274:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:277:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] total_conflicts() ^ int mkpar.c:294:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:298: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:326:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] defreds() ^ int mkpar.c:330: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:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ mkpar.c:333:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:335:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] free_action_row(p) ^ int mkpar.c:335: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:346:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mkpar.c:348:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] free_parser() ^ int mkpar.c:356:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 43 warnings generated. gcc -O -DNDEBUG -Dunix -c output.c output.c:23:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output() ^ int output.c:27:3: warning: call to undeclared function 'free_itemsets'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free_itemsets(); ^ output.c:28:3: warning: call to undeclared function 'free_shifts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free_shifts(); ^ output.c:29:3: warning: call to undeclared function 'free_reductions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free_reductions(); ^ output.c:30:3: warning: call to undeclared function 'write_section'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write_section(header); ^ output.c:32:3: warning: call to undeclared function 'output_transl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output_transl(); ^ output.c:33:3: warning: call to undeclared function 'output_rule_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output_rule_data(); ^ output.c:34:3: warning: call to undeclared function 'output_yydefred'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output_yydefred(); ^ output.c:35:3: warning: call to undeclared function 'output_actions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output_actions(); ^ output.c:36:3: warning: call to undeclared function 'free_parser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free_parser(); ^ output.c:37:3: warning: call to undeclared function 'output_debug'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output_debug(); ^ output.c:45:3: warning: call to undeclared function 'output_semantic_actions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output_semantic_actions(); ^ output.c:49:3: warning: call to undeclared function 'output_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output_entries(); ^ output.c:51:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:54:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void output_char(n) ^ output.c:64:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void output_short(n) ^ output.c:71:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output_rule_data() ^ int output.c:116:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:119:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output_yydefred() ^ int output.c:143:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:146:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output_actions() ^ int output.c:150:13: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] froms = NEW2(nvectors, short *); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:151: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] tos = NEW2(nvectors, short *); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:152:13: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tally = NEW2(nvectors, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:153:13: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] width = NEW2(nvectors, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:155:5: warning: call to undeclared function 'token_actions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] token_actions(); ^ output.c:161:5: warning: call to undeclared function 'goto_actions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] goto_actions(); ^ output.c:166:5: warning: call to undeclared function 'sort_actions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sort_actions(); ^ output.c:167:5: warning: call to undeclared function 'pack_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pack_table(); ^ output.c:168:5: warning: call to undeclared function 'output_base'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output_base(); ^ output.c:169:5: warning: call to undeclared function 'output_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output_table(); ^ output.c:170:5: warning: call to undeclared function 'output_check'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] output_check(); ^ output.c:171:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:174:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] token_actions() ^ int output.c:182: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] actionrow = NEW2(2*ntokens, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:215: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] froms[i] = r = NEW2(shiftcount, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:216: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] tos[i] = s = NEW2(shiftcount, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:235: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] froms[nstates+i] = r = NEW2(reducecount, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:236: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] tos[nstates+i] = s = NEW2(reducecount, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:256:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:258:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] goto_actions() ^ int output.c:262: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_count = NEW2(nstates, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:264:9: warning: call to undeclared function 'default_goto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] k = default_goto(start_symbol + 1); ^ output.c:290:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] default_goto(symbol) ^ output.c:353:31: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] froms[symno] = sp1 = sp = NEW2(count, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:354: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] tos[symno] = sp2 = NEW2(count, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:369:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] sort_actions() ^ int output.c:377: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] order = NEW2(nvectors, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:401:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:404:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] pack_table() ^ int output.c:410: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] base = NEW2(nvectors, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:411: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] pos = NEW2(nentries, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:414:13: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] table = NEW2(maxtable, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:415:13: warning: passing arguments to 'allocate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check = NEW2(maxtable, short); ^ ./defs.h:145:32: note: expanded from macro 'NEW2' #define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t)))) ^ output.c:425:10: warning: call to undeclared function 'matching_vector'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] state = matching_vector(i); ^ output.c:428:14: warning: call to undeclared function 'pack_vector'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] place = pack_vector(i); ^ output.c:447:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] matching_vector(vector) ^ output.c:541:7: warning: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fatal("maximum table size exceeded"); ^ output.c:546:19: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (table == 0) no_space(); ^ output.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pack_vector(vector) ^ output.c:585:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output_base() ^ int output.c:652:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:656:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output_table() ^ int output.c:684:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:688:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output_check() ^ int output.c:714:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:717:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output_transl() ^ int output.c:728:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:738:2: warning: call to undeclared function 'open_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] open_error(text_file_name); ^ output.c:757:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output_debug() ^ int output.c:759:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:828:2: warning: call to undeclared function 'open_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] open_error(file_name); ^ output.c:818:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void copy_file(file, file_name) ^ output.c:854:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output_semantic_actions() ^ int output.c:857:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:859:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output_entries() ^ int output.c:862:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:864:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] free_itemsets() ^ int output.c:874:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:877:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] free_shifts() ^ int output.c:887:1: warning: non-void function does not return a value [-Wreturn-type] } ^ output.c:891:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] free_reductions() ^ int output.c:901:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 85 warnings generated. gcc -O -DNDEBUG -Dunix -c reader.c reader.c:37:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cachec(c) ^ int reader.c:45:18: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (cache == 0) no_space(); ^ reader.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cachec(c) ^ reader.c:49:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:71:17: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (line == 0) no_space(); ^ reader.c:84:22: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (line == 0) no_space(); ^ reader.c:107:17: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (p == 0) no_space(); ^ reader.c:137:3: warning: call to undeclared function 'unterminated_comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unterminated_comment(st_lineno, st_line, st_cptr); ^ reader.c:266:5: warning: call to undeclared function 'syntax_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] syntax_error(lineno, line, t_cptr); ^ reader.c:268:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ reader.c:277:19: warning: call to undeclared function 'unexpected_EOF'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (c == EOF) unexpected_EOF(); ^ reader.c:278:19: warning: call to undeclared function 'syntax_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (c != '"') syntax_error(lineno, line, cptr); ^ reader.c:314:6: warning: call to undeclared function 'unterminated_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unterminated_text(t_lineno, t_line, t_cptr); ^ reader.c:327:2: warning: call to undeclared function 'unterminated_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unterminated_text(t_lineno, t_line, t_cptr); ^ reader.c:349:7: warning: call to undeclared function 'unterminated_string'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unterminated_string(s_lineno, s_line, s_cptr); ^ reader.c:391:4: warning: call to undeclared function 'unterminated_comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unterminated_comment(c_lineno, c_line, c_cptr); ^ reader.c:426:20: warning: call to undeclared function 'over_unionized'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (unionized) over_unionized(cptr - 6); ^ reader.c:447:17: warning: call to undeclared function 'unterminated_union'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (line == 0) unterminated_union(u_lineno, u_line, u_cptr); ^ reader.c:482:7: warning: call to undeclared function 'unterminated_string'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unterminated_string(s_lineno, s_line, s_cptr); ^ reader.c:526:4: warning: call to undeclared function 'unterminated_comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unterminated_comment(c_lineno, c_line, c_cptr); ^ reader.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hexval(c) ^ reader.c:570:17: warning: call to undeclared function 'unterminated_string'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (c == '\n') unterminated_string(s_lineno, s_line, s_cptr); ^ reader.c:597:20: warning: call to undeclared function 'illegal_character'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (n > MAXCHAR) illegal_character(c_cptr); ^ reader.c:633:17: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (s == 0) no_space(); ^ reader.c:681:16: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bp = lookup(cache); ^ reader.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_reserved(name) ^ reader.c:723:29: warning: call to undeclared function 'used_reserved'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (is_reserved(cache)) used_reserved(cache); ^ reader.c:725:19: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (lookup(cache)); ^ reader.c:756:21: warning: call to undeclared function 'unexpected_EOF'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (c == EOF) unexpected_EOF(); ^ reader.c:775:22: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (tag_table == 0) no_space(); ^ reader.c:779:18: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (s == 0) no_space(); ^ reader.c:798:19: warning: call to undeclared function 'unexpected_EOF'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (c == EOF) unexpected_EOF(); ^ reader.c:815:18: warning: call to undeclared function 'tokenized_start'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (bp == goal) tokenized_start(bp->name); ^ reader.c:821:3: warning: call to undeclared function 'retyped_warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] retyped_warning(bp->name); ^ reader.c:832:3: warning: call to undeclared function 'reprec_warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] reprec_warning(bp->name); ^ reader.c:845:3: warning: call to undeclared function 'revalued_warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] revalued_warning(bp->name); ^ reader.c:861:19: warning: call to undeclared function 'unexpected_EOF'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (c == EOF) unexpected_EOF(); ^ reader.c:862:19: warning: call to undeclared function 'syntax_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (c != '<') syntax_error(lineno, line, cptr); ^ reader.c:876:6: warning: call to undeclared function 'retyped_warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] retyped_warning(bp->name); ^ reader.c:894:2: warning: call to undeclared function 'terminal_start'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] terminal_start(bp->name); ^ reader.c:897:9: warning: call to undeclared function 'too_many_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] too_many_entries(); ^ reader.c:908:21: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (cache == 0) no_space(); ^ reader.c:913:16: warning: call to undeclared function 'unexpected_EOF'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (c == EOF) unexpected_EOF(); ^ reader.c:914:16: warning: call to undeclared function 'syntax_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (c != '%') syntax_error(lineno, line, cptr); ^ reader.c:950:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] output_token_type() ^ int reader.c:967:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:969:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] initialize_grammar() ^ int reader.c:974:21: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (pitem == 0) no_space(); ^ reader.c:997:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1000:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] expand_items() ^ int reader.c:1004:21: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (pitem == 0) no_space(); ^ reader.c:1005:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1008:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] expand_rules() ^ int reader.c:1012:20: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (plhs == 0) no_space(); ^ reader.c:1017:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1020:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] advance_to_start() ^ int reader.c:1035:6: warning: call to undeclared function 'no_grammar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] no_grammar(); ^ reader.c:1046:6: warning: call to undeclared function 'syntax_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] syntax_error(lineno, line, s_cptr); ^ reader.c:1052:2: warning: call to undeclared function 'syntax_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] syntax_error(lineno, line, cptr); ^ reader.c:1057:6: warning: call to undeclared function 'terminal_start'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] terminal_start(bp->name); ^ reader.c:1063:19: warning: call to undeclared function 'unexpected_EOF'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (c == EOF) unexpected_EOF(); ^ reader.c:1065:5: warning: call to undeclared function 'start_rule'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] start_rule(bp, s_lineno); ^ reader.c:1067:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1070:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] start_rule(bp, s_lineno) ^ int reader.c:1075:2: warning: call to undeclared function 'terminal_lhs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] terminal_lhs(s_lineno); ^ reader.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_rule(bp, s_lineno) ^ reader.c:1082:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1085:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] end_rule() ^ int reader.c:1087:27: warning: call to undeclared function 'default_action_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!last_was_action) default_action_error(); ^ reader.c:1094:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1097:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] insert_empty_rule() ^ int reader.c:1103:21: warning: passing arguments to 'make_bucket' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bp = make_bucket(cache); ^ reader.c:1113:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (bpp[0] = bpp[-1]) --bpp; ~~~~~~~^~~~~~~~~ reader.c:1113:19: note: place parentheses around the assignment to silence this warning while (bpp[0] = bpp[-1]) --bpp; ^ ( ) reader.c:1113:19: note: use '==' to turn this assignment into an equality comparison while (bpp[0] = bpp[-1]) --bpp; ^ == reader.c:1123:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1197:15: warning: call to undeclared function 'unknown_rhs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unknown_rhs(i); ^ reader.c:1203:17: warning: call to undeclared function 'illegal_token_ref'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] illegal_token_ref(i, item->name); ^ reader.c:1242:2: warning: call to undeclared function 'unterminated_action'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unterminated_action(a_lineno, a_line, a_cptr); ^ reader.c:1270:7: warning: call to undeclared function 'unterminated_string'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unterminated_string(s_lineno, s_line, s_cptr); ^ reader.c:1310:4: warning: call to undeclared function 'unterminated_comment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unterminated_comment(c_lineno, c_line, c_cptr); ^ reader.c:1344:2: warning: call to undeclared function 'syntax_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] syntax_error(lineno, line, cptr); ^ reader.c:1358:2: warning: call to undeclared function 'prec_redeclared'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] prec_redeclared(); ^ reader.c:1366:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] read_grammar() ^ int reader.c:1393:6: warning: call to undeclared function 'syntax_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] syntax_error(lineno, line, cptr); ^ reader.c:1396:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1414:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] pack_names() ^ int reader.c:1423:25: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (name_pool == 0) no_space(); ^ reader.c:1432:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*t++ = *s++) continue; ~~~~~^~~~~~ reader.c:1432:14: note: place parentheses around the assignment to silence this warning while (*t++ = *s++) continue; ^ ( ) reader.c:1432:14: note: use '==' to turn this assignment into an equality comparison while (*t++ = *s++) continue; ^ == reader.c:1436:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1439:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] check_symbols() ^ int reader.c:1444:2: warning: call to undeclared function 'undefined_goal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] undefined_goal(goal->name); ^ reader.c:1450:6: warning: call to undeclared function 'undefined_symbol_warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] undefined_symbol_warning(bp->name); ^ reader.c:1454:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1457:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] pack_symbols() ^ int reader.c:1474:27: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (symbol_name == 0) no_space(); ^ reader.c:1590:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1593:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] make_goal() ^ int reader.c:1599:16: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goal = lookup("%entry%"); ^ reader.c:1609:18: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bc = lookup(name); ^ reader.c:1618:9: warning: call to undeclared function 'entry_without_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] entry_without_type(bp->name); ^ reader.c:1637:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1639:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] pack_grammar() ^ int reader.c:1645:21: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (ritem == 0) no_space(); ^ reader.c:1695:1: warning: non-void function does not return a value [-Wreturn-type] } ^ reader.c:1734:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] reader() ^ int reader.c:1736:5: warning: call to undeclared function 'create_symbol_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] create_symbol_table(); ^ reader.c:1741:5: warning: call to undeclared function 'free_symbol_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free_symbol_table(); ^ reader.c:1747:5: warning: call to undeclared function 'free_symbols'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free_symbols(); ^ reader.c:1749:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 108 warnings generated. gcc -O -DNDEBUG -Dunix -c skeleton.c skeleton.c:28:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] write_section(section) ^ int skeleton.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skeleton.c:40:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 3 warnings generated. gcc -O -DNDEBUG -Dunix -c symtab.c symtab.c:19:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *++s) ~~^~~~~~ symtab.c:19:14: note: place parentheses around the assignment to silence this warning while (c = *++s) ^ ( ) symtab.c:19:14: note: use '==' to turn this assignment into an equality comparison while (c = *++s) ^ == symtab.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] hash(name) ^ symtab.c:34:18: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (bp == 0) no_space(); ^ symtab.c:27: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:1: ./defs.h:323: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:56: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:1: ./defs.h:322: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:79:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] create_symbol_table() ^ int symtab.c:85:28: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (symbol_table == 0) no_space(); ^ symtab.c:96:1: warning: non-void function does not return a value [-Wreturn-type] } ^ symtab.c:99:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] free_symbol_table() ^ int symtab.c:103:1: warning: non-void function does not return a value [-Wreturn-type] } ^ symtab.c:106:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] free_symbols() ^ int symtab.c:115:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 14 warnings generated. gcc -O -DNDEBUG -Dunix -c verbose.c verbose.c:14:26: warning: call to undeclared function 'no_space'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (null_rules == 0) no_space(); ^ verbose.c:17:2: warning: call to undeclared function 'print_state'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_state(i); ^ verbose.c:21:2: warning: call to undeclared function 'log_unused'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] log_unused(); ^ verbose.c:23:2: warning: call to undeclared function 'log_conflicts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] log_conflicts(); ^ verbose.c:31:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] log_unused() ^ int verbose.c:47:1: warning: non-void function does not return a value [-Wreturn-type] } ^ verbose.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] log_conflicts() ^ int verbose.c:75:1: warning: non-void function does not return a value [-Wreturn-type] } ^ verbose.c:78:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] print_state(state) ^ int verbose.c:84:2: warning: call to undeclared function 'print_conflicts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_conflicts(state); ^ verbose.c:86:5: warning: call to undeclared function 'print_core'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_core(state); ^ verbose.c:87:5: warning: call to undeclared function 'print_nulls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_nulls(state); ^ verbose.c:88:5: warning: call to undeclared function 'print_actions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_actions(state); ^ verbose.c:78: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:89:1: warning: non-void function does not return a value [-Wreturn-type] } ^ verbose.c:92:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] print_conflicts(state) ^ int verbose.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] verbose.c:137:1: warning: non-void function does not return a value [-Wreturn-type] } ^ verbose.c:140:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] print_core(state) ^ int verbose.c:140: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:173:1: warning: non-void function does not return a value [-Wreturn-type] } ^ verbose.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] print_nulls(state) ^ int verbose.c:176: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:217:1: warning: non-void function does not return a value [-Wreturn-type] } ^ verbose.c:220:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] print_actions(stateno) ^ int verbose.c:233:2: warning: call to undeclared function 'print_shifts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_shifts(p); ^ verbose.c:234:2: warning: call to undeclared function 'print_reductions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_reductions(p, defred[stateno]); ^ verbose.c:242:6: warning: call to undeclared function 'print_gotos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_gotos(stateno); ^ verbose.c:220: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_actions(stateno) ^ verbose.c:244:1: warning: non-void function does not return a value [-Wreturn-type] } ^ verbose.c:247:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] print_shifts(p) ^ int verbose.c:247: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:269:1: warning: non-void function does not return a value [-Wreturn-type] } ^ verbose.c:272:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] print_reductions(p, defred) ^ int verbose.c:272: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:307:1: warning: non-void function does not return a value [-Wreturn-type] } ^ verbose.c:310:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] print_gotos(stateno) ^ int verbose.c:310: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:328:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 39 warnings generated. gcc -O -DNDEBUG -Dunix -c warshall.c warshall.c:3:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] transitive_closure(R, n) ^ int warshall.c:3: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:54:1: warning: non-void function does not return a value [-Wreturn-type] } ^ warshall.c:56:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] reflexive_transitive_closure(R, n) ^ int warshall.c:56: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:84:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 6 warnings generated. gcc -O -DNDEBUG -Dunix -o camlyacc closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o cp yacc/camlyacc . cd lib; make CPP="cpp -P -C -Dunix" all ../camlrun ../camlcomp -stdlib . -O none -g -W arg.mli ../camlrun ../camlcomp -stdlib . -O none -g -W bool.mli ../camlrun ../camlcomp -stdlib . -O none -g -W char.mli ../camlrun ../camlcomp -stdlib . -O none -g -W string.mli ../camlrun ../camlcomp -stdlib . -O none -g -W vect.mli ../camlrun ../camlcomp -stdlib . -O none -g -W eq.mli ../camlrun ../camlcomp -stdlib . -O none -g -W exc.mli ../camlrun ../camlcomp -stdlib . -O none -g -W fchar.mli ../camlrun ../camlcomp -stdlib . -O none -g -W sys.mli ../camlrun ../camlcomp -stdlib . -O none -g -W filename.mli ../camlrun ../camlcomp -stdlib . -O none -g -W float.mli ../camlrun ../camlcomp -stdlib . -O none -g -W fstring.mli ../camlrun ../camlcomp -stdlib . -O none -g -W fvect.mli ../camlrun ../camlcomp -stdlib . -O none -g -W hashtbl.mli ../camlrun ../camlcomp -stdlib . -O none -g -W int.mli ../camlrun ../camlcomp -stdlib . -O none -g -W io.mli ../camlrun ../camlcomp -stdlib . -O none -g -W obj.mli ../camlrun ../camlcomp -stdlib . -O none -g -W lexing.mli ../camlrun ../camlcomp -stdlib . -O none -g -W list.mli ../camlrun ../camlcomp -stdlib . -O none -g -W pair.mli ../camlrun ../camlcomp -stdlib . -O none -g -W parsing.mli ../camlrun ../camlcomp -stdlib . -O none -g -W printexc.mli ../camlrun ../camlcomp -stdlib . -O none -g -W ref.mli ../camlrun ../camlcomp -stdlib . -O none -g -W sort.mli ../camlrun ../camlcomp -stdlib . -O none -g -W printf.mli ../camlrun ../camlcomp -stdlib . -O none -g -W stream.mli ../camlrun ../camlcomp -stdlib . -O none -g -W stack.mli ../camlrun ../camlcomp -stdlib . -O none -g -W queue.mli ../camlrun ../camlcomp -stdlib . -O none -g -W random.mli ../camlrun ../camlcomp -stdlib . -O none -g -W genlex.mli ../camlrun ../camlcomp -stdlib . -O none -g -W baltree.mli ../camlrun ../camlcomp -stdlib . -O none -g -W set.mli ../camlrun ../camlcomp -stdlib . -O none -g -W map.mli ../camlrun ../camlcomp -stdlib . -O none -g -W gc.mli ../camlrun ../camlcomp -stdlib . -O none -g -W format.mli ../camlrun ../camlcomp -stdlib . -O none -g -W bool.ml ../camlrun ../camlcomp -stdlib . -O none -g -W eq.ml ../camlrun ../camlcomp -stdlib . -O none -g -W exc.ml ../camlrun ../camlcomp -stdlib . -O none -g -W int.ml ../camlrun ../camlcomp -stdlib . -O none -g -W fstring.ml ../camlrun ../camlcomp -stdlib . -O none -g -W string.ml ../camlrun ../camlcomp -stdlib . -O none -g -W fchar.ml ../camlrun ../camlcomp -stdlib . -O none -g -W char.ml ../camlrun ../camlcomp -stdlib . -O none -g -W float.ml ../camlrun ../camlcomp -stdlib . -O none -g -W list.ml ../camlrun ../camlcomp -stdlib . -O none -g -W fvect.ml ../camlrun ../camlcomp -stdlib . -O none -g -W vect.ml ../camlrun ../camlcomp -stdlib . -O none -g -W io.ml ../camlrun ../camlcomp -stdlib . -O none -g -W pair.ml ../camlrun ../camlcomp -stdlib . -O none -g -W arg.ml cpp -P -C -Dunix filename.mlp > filename.ml exec failed *** Error code 255 Stop. make[1]: stopped making "all" in /Users/pbulk/build/lang/caml-light/work/cl74/src/lib *** Error code 1 Stop. bmake: stopped making "world" in /Users/pbulk/build/lang/caml-light/work/cl74/src *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/caml-light *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/caml-light