Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ho95b.UUCP Path: utzoo!linus!vaxine!wjh12!genrad!decvax!harpo!floyd!vax135!houxz!houxm!ho95b!wcs From: wcs@ho95b.UUCP (59577) Newsgroups: net.unix-wizards Subject: Re: C dialects / Death of =+ Message-ID: <168@ho95b.UUCP> Date: Mon, 18-Jun-84 18:21:43 EDT Article-I.D.: ho95b.168 Posted: Mon Jun 18 18:21:43 1984 Date-Received: Thu, 21-Jun-84 04:28:03 EDT Organization: AT&T Bell Labs, Holmdel NJ Lines: 26 Guy Harris gave a good list of C dialects. One comment he made was that the System V C compiler "finally put the old assignment operators and initialization sequence to death." I wish this were true; the standard System V C compiler won't accept these constructs with their old meaning, but it still recognizes and rejects them, preventing you from using identical-looking constructs with different meanings: $ cat junk.c main(){ int i = 1; i =-2; /* That's i equals negative 2 */ printf("i=%d\n",i); } $ cc junk.c "junk.c", line 3: warning: ambiguous assignment: assignment op taken "junk.c", line 3: old-fashioned assignment operator I hope this goes away in System V Release 2; I haven't had a VR2 system to try it on. Bill Stewart -- Bill Stewart AT&T Bell Labs, Holmdel NJ ...!ihnp4!ho95b!wcs