Message-ID: <364DE461.7D6FCE6D@montana.com> Date: Sat, 14 Nov 1998 13:13:21 -0700 From: bowman X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: recursive structures? References: <364DD66B DOT 3CB7DAD1 AT nospam DOT student DOT tue DOT nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Wouter Bijlsma wrote: > > How can I define a recursive structure without getting parse errors or > 'incomplete data type' errors? > > typedef struct { > unsigned Tag; > Plane *RootPlane; > BSPNode *FrontNode,BackNode; > Polygon *Polygons; > } BSPNode; BackNode needs to be a pointer to BSPNode, also.