derek@UUNET.UU.NET (Derek Clegg) (01/06/89)
/* Version: * gcc version 1.31 * File: * <this file> * Compile with: * gcc -c <this file> * Problem: * cc1 aborts. * Output: * <this file>:19: undeclared variable `LEXMAX' (first use here) * <this file>:19: field `string' has incomplete type * gcc: Program cc1 got fatal signal 6. * Notes: * gcc was compiled with `tm-sun3.h' && `xm-m68k.h' * I am using a Sun 3/60 with UNIX 4.2 (Sun release 3.5). */ struct ScanContext { char string[LEXMAX]; char *ptr; } *sc; void start() { sc->ptr = sc->string; } #if 0 Derek B Clegg ({uunet,ucbcad,sun}!island!fiji!derek) #endif