From: "Martin Ambuhl" Newsgroups: comp.os.msdos.djgpp Subject: Re: I'm a Newbie with DJGPP Date: Tue, 26 May 1998 03:25:31 -0400 Organization: Nocturnal Aviation Lines: 40 Message-ID: <6kdqf5$ln3@news-central.tiac.net> References: <356A5A68 DOT B044EF5E AT est DOT fib DOT upc DOT es> NNTP-Posting-Host: p36.tc4.newyo.ny.tiac.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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! :