Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!hogpc!houti!ariel!vax135!cornell!uw-beaver!tektronix!hplabs!sri-unix!SATZ@SU-SIERRA.ARPA From: SATZ@SU-SIERRA.ARPA@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: V7 C vs. PCC Message-ID: <12987@sri-arpa.UUCP> Date: Wed, 29-Aug-84 21:32:35 EDT Article-I.D.: sri-arpa.12987 Posted: Wed Aug 29 21:32:35 1984 Date-Received: Sat, 1-Sep-84 12:00:39 EDT Lines: 28 From: Greg Satz I scaned the last two years of unix-wizards archives looking for some information about the portable C compiler. Since I couldn't find what I was looking there, I thought I would ask here: I have a C compiler for the DEC-20. It faithfully parses what is specified in Kernighan and Ritchie's book. The problem with this is that it can't parse much code that comes from Berkeley. I don't want to start any religious battles over what is better. I only want to modifiy this compiler to make it the best it can be. >From K+R, page 197: "The names of members and tags may be the same as ordinary variables. However, names of tags and members must be mutually distinct. Two members may share a common initial sequence of members; that is, the same member may appear in two different structures if it has the same type in both and if all previous members are the same in both." My question becomes: Why did PCC diverge from this condiition? What other features are in PCC that aren't in K+R's V7 compiler? I guess I am asking for a comprehensive list of differences. -------