Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!cs.utexas.edu!uunet!mcvax!ukc!strath-cs!nott-cs!ucl-cs!S.Usher From: S.Usher@ucl-cs.UUCP Newsgroups: comp.sys.atari.st Subject: Problem with ST C compilers Message-ID: <335@ucl-cs.UUCP> Date: 14 Jul 89 12:55:19 GMT Sender: S.Usher@ucl-cs.UUCP Lines: 48 From: Stephen Usher Whilst trying to compile the sources of the JOVE editor on my ST I found I could not get any further than the declaration of the structure "buffer" in the file jove.h. Both Laser C and Sozobon C error at the line "ino_t b_ino" saying that it expects a "}". Sozobon C tries skipping, but fails miserably. The structure is reproduced below, can you find what's happening? struct buffer { Buffer *b_next; /* next buffer in chain */ char *b_name, /* buffer name */ *b_fname; /* file name associated with buffer */ dev_t b_dev; /* device of file name. */ ino_t b_ino; /* inode of file name */ time_t b_mtime; /* last modify time ... to detect two people writing to the same file */ Line *b_first, /* pointer to first line in list */ *b_dot, /* current line */ *b_last; /* last line in list */ int b_char; /* current character in line */ #define NMARKS 8 /* number of marks in the ring */ Mark *b_markring[NMARKS], /* new marks are pushed saved here */ *b_marks; /* all the marks for this buffer */ char b_themark, /* current mark (in b_markring) */ b_type, /* file, scratch, process, iprocess */ b_ntbf, /* needs to be found when we first select? */ b_modified; /* is the buffer modified? */ int b_major, /* major mode */ b_minor; /* and minor mode */ keymap *b_keybinds; /* local bindings (if any) */ #ifdef IPROCS Process *b_process; /* process we're attached to */ #endif }; Stephen Usher Addresses:- (JANET) S.Usher@uk.ac.ucl.cs or UCACMSU@uk.ac.ucl.euclid --8<-------------- Cut --------------------- Here -------------------------