Mail Archives: djgpp/2001/10/12/06:49:16
ROLAND <roland_asmann AT yahoo DOT com> wrote:
> I still have problems. I get 'type clashes'??? What can I do about
> this.
We don't know --- you provided far too less information for any
sensible advice to be given. We'ld at the very least need the exact
compiler error messages, and a meaningful code snipped that triggered
them.
> Also my compiler is falling on the next piece of code:
> typedef struct outfileset {
> char *filename;
> u_long loadstart,
> loadend,
> carrstart;
> struct outfileset *nextfile;
> } OUTFLSET
> It tells me that it has a parse error before u_long.
Impossible to diagnose, too --- you don't show enough context, nor the
exact error message from your compiler. Most importantly, there is no
definition of u_long in sight, so it's impossible for anybody but you
to check what might be wrong with it.
> And last, I need a header to replace my sparc's sgtty.h, the header
> should be used on a PC.
You should ask this in a Unix programming newsgroup, not here. AFAIK,
<sgtty.h> is a rather oldfashioned, now deprecated part of Unix
systems. On this Digital Unix system here, e.g., all it really does
is #include <ioctl.h>. IOW: your program probably had better not use
<sgtty.h> on the Solaris end, either.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -