Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watdaisy.UUCP Path: utzoo!watmath!watdaisy!ndiamond From: ndiamond@watdaisy.UUCP (Norman Diamond) Newsgroups: net.lang.c Subject: Re: C question Message-ID: <7192@watdaisy.UUCP> Date: Fri, 12-Apr-85 17:30:06 EST Article-I.D.: watdaisy.7192 Posted: Fri Apr 12 17:30:06 1985 Date-Received: Sat, 13-Apr-85 02:43:45 EST References: <5272@tektronix.UUCP> <230@aluxp.UUCP> <288@bdaemon.UUCP> <26@harvard.ARPA> Organization: U of Waterloo, Ontario Lines: 23 > Regarding the question about x = x++ and a[i] = i++ and similarly > ambiguous constructs: Why the (*@#$%^*^ can't the compiler complain > rather than flipping a coin? The C compiler is perfectly capable of generating code for one of the valid meanings. (At least some compilers are. Some are capable of generating invalid code, but that's beside the point.) > Programs with statements like these are > WRONG, just as wrong as one with a missing brace. True. Is lint still occasionally maintained? Will new tests be added as their necessity becomes apparent? -- Norman Diamond UUCP: {decvax|utzoo|ihnp4|allegra}!watmath!watdaisy!ndiamond CSNET: ndiamond%watdaisy@waterloo.csnet ARPA: ndiamond%watdaisy%waterloo.csnet@csnet-relay.arpa "Opinions are those of the keyboard, and do not reflect on me or higher-ups."