Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!purdue!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: forward references in typedefs (puzzling) Message-ID: <10591@smoke.BRL.MIL> Date: 23 Jul 89 10:51:26 GMT References: <55480@tut.cis.ohio-state.edu> <1196@cbnewsl.ATT.COM> <11341@cit-vax.Caltech.Edu> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <11341@cit-vax.Caltech.Edu> wen-king@cit-vax.UUCP (Wen-King Su) writes: -I have often wondered about this. Is it legal? Since pointers for -different data objects are not required to have the same binary format -or even storage size, how would a compiler allocate space and initialize -a pointer of an unknown type? All pointers-to-structures have the same size, that's how.