Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!teddy!jpn From: jpn@teddy.UUCP (John P. Nelson) Newsgroups: net.lang.c Subject: Re: Type checking for typedef's (new feature) Message-ID: <2713@teddy.UUCP> Date: Thu, 5-Jun-86 19:10:46 EDT Article-I.D.: teddy.2713 Posted: Thu Jun 5 19:10:46 1986 Date-Received: Sat, 7-Jun-86 09:19:54 EDT References: <361@batcomputer.TN.CORNELL.EDU> <6763@utzoo.UUCP> Reply-To: jpn@teddy.UUCP (John P. Nelson) Organization: GenRad, Inc., Concord, Mass. Lines: 11 >> What I would like is for typedef names to be considered by the compiler as >> DIFFERENT from the underlying types.... > >Not unreasonable. Not too hard to implement. Not C, either. Too many >existing programs would break. I think what is needed is for LINT to treat such typedef names as true distinct types. Having the COMPILER treat them as different is probably not very useful. Perhaps this should be an OPTION to lint, so that old programs don't lose completely. This would make lint a much more valuable tool, and would make information hiding easier in C programs.