[comp.sys.atari.st] Problem with ST C compilers

S.Usher@ucl-cs.UUCP (07/14/89)

From:     Stephen Usher <S.Usher@uk.ac.ucl.cs>


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 -------------------------