Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: Type checking for typedef's (new feature) Message-ID: <6763@utzoo.UUCP> Date: Tue, 3-Jun-86 19:44:49 EDT Article-I.D.: utzoo.6763 Posted: Tue Jun 3 19:44:49 1986 Date-Received: Tue, 3-Jun-86 19:44:49 EDT References: <361@batcomputer.TN.CORNELL.EDU> Organization: U of Toronto Zoology Lines: 12 > What I would like is for typedef names to be considered by the compiler as > DIFFERENT from the underlying types.... > Is it reasonable? Is it hard to implement? Comments?... Not unreasonable. Not too hard to implement. Not C, either. Too many existing programs would break. Typedef is often used to parameterize machine-dependencies like integer sizes, where the "macro" interpretation of typedef is necessary. It's much too late to change this now. -- Usenet(n): AT&T scheme to earn revenue from otherwise-unused Henry Spencer @ U of Toronto Zoology late-night phone capacity. {allegra,ihnp4,decvax,pyramid}!utzoo!henry