Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mprvaxa.UUCP Path: utzoo!linus!philabs!cmcl2!floyd!vax135!cornell!uw-beaver!ubc-visi!mprvaxa!wolfe From: wolfe@mprvaxa Newsgroups: net.lang.c Subject: Re: typedef in c Message-ID: <429@mprvaxa.UUCP> Date: Mon, 19-Dec-83 11:26:44 EST Article-I.D.: mprvaxa.429 Posted: Mon Dec 19 11:26:44 1983 Date-Received: Wed, 21-Dec-83 05:33:26 EST References: <319@aecom.UUCP> Organization: Microtel Pacific Research, Burnaby BC Lines: 17 Well our best interpretation of typedef is that they are not "known" until AFTER they are completley defined. You are expecting the compiler to know about the name 'newtyp' before you have completely defined the typedef. Structures on the other hand don't seem to have this problem. You can happily reference a structure from inside it's declaration. No, I don't think K & R say anything about this. I think this is life in the world of C. -- Peter Wolfe Microtel Pacific Research ..decvax!microsoft!ubc-vision!mprvaxa!wolfe