Mail Archives: djgpp/1998/05/26/03:32:11
Victor Viudez Gonzalez wrote in message <356A5A68 DOT B044EF5E AT est DOT fib DOT upc DOT es>...
:I don't understand this,
:
: typedef struct TAD{
: int code;
: struct TAD *next;
: struct TAD *prior;
: .
: .
: }Tad;
:The compiler says:
:
: file.h : Error: syntax error before `typedef ´
============
This means to look BEFORE `typedef' for your error.
Since that context is missing, no one can do more than
guess what is wrong (a missing ';' is often a good guess).
=============
:
:And, if I use this
:
: struct Tad {
: int code;
: Tad *next;
: Tad *prior;
: };
:
: Tad MyTad;
:
: file.h : Error: syntax error before `struct ´
===========
The same story as above (plus the possibility that this
code is being compiled as C, in which case it is illegal).
===========
:
: HELP PLEASE!
:
- Raw text -