Date: Tue, 27 Aug 1996 16:05:51 +0200 Message-Id: <199608271405.QAA15906@ohm.fast.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: djgpp AT delorie DOT com From: Alf Stockton Subject: Post define structs Is there any way to tell DJGPP's gcc or cpp to accept that if it comes across a variable type not already defined that this variable will be defined later? I have a situation were code contains a #include for a *.h that includes a #include for another file. The second included file contains a reference to a struct that will only be defined in the first include file after than said #include of the second file. Now obviously the easy way around this is to move the typedef to before the #include of the second file but I don't want to solve the problem this way. This code has previously compiled under MSC 6.0 so I am assuming that MSC first processes all includes and then in a second pass resolves references, where, and here I am assuming, gcc or cpp resolves as it goes. Regards, Alf stockton AT fast DOT co DOT za