Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: mutual reference in structures Message-ID: <10252@smoke.BRL.MIL> Date: 11 May 89 21:39:03 GMT References: <6712@medusa.cs.purdue.edu> <1822@ubu.warwick.UUCP> <2346@wheat-chex.ai.mit.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <2346@wheat-chex.ai.mit.edu> jym@wheaties.ai.mit.edu (Jym Dyer) writes: -VAX C accepts this (which seems wrong to me): - typedef struct - { - struct NODE_T * flink_p; - struct NODE_T * blink_p; - char data[512]; - } NODE_T; That's valid, but "struct NODE_T" is still an incomplete type afterwards. The final NODE_T is the type name being defined, not a structure tag.