Re: [PATCH] Fix IRIX64 warnings

2001-09-25 Thread Dan Sugalski
At 12:39 AM 9/25/2001 -0400, Steven W McDougall wrote: So the declaration of opcode_funcs was at a different level of indirection than its allocation and use. The compilers weren't complaining about this because of all the (void *) casts. The IRIX64 compiler did complain, not about indirection

Re: [PATCH] Fix IRIX64 warnings

2001-09-24 Thread Steven W McDougall
-opcode_t *(*(*opcode_funcs)[2048])(); /* Opcode */ - /* function table */ -STRING_FUNCS *(*(*string_funcs)[64])(); /* String function table */ +opcode_t *(**opcode_funcs)(); /* Opcode function table */ +STRING_FUNCS

[PATCH] Fix IRIX64 warnings

2001-09-23 Thread Steven W McDougall
IRIX64 6.2 cc -n32 issues 123 warnings (one per op code) complaining that interpreter.c, line 219: warning(1048): cast between pointer-to-object and pointer-to-function BUILD_TABLE(foo); ^ This patch makes them go away. - SWM Index: build_interp_starter.pl