Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!ukma!gatech!dcc1!emcard!fedeva!csun!aeusesef From: aeusesef@csun.UUCP (sean fagan) Newsgroups: comp.lang.c Subject: Re: reserved words or what? Message-ID: <898@csun.UUCP> Date: Mon, 16-Nov-87 12:30:28 EST Article-I.D.: csun.898 Posted: Mon Nov 16 12:30:28 1987 Date-Received: Sat, 21-Nov-87 08:21:07 EST References: <3086@psuvax1.psu.edu> Reply-To: aeusesef@csun.UUCP (Sean Eric Fagan) Organization: California State University, Northridge Lines: 23 In article <3086@psuvax1.psu.edu> schwartz@gondor.psu.edu (Scott E. Schwartz) writes: >given: > main() > { > int a,b,signed; > > a = b = signed = 1; > } [is this legal? PCC doesn't complain, but gcc does] >Disclaimer: I don't have a copy of the latest ANSI draft, or even an old >copy of K&R at hand. The ANSI draft would work better; gcc is an ANSI C compiler, and ANSI created a modifier to be the opposite of unsigned, signed. gcc rightly complains, and pcc rightly doesn't. >-- Scott Schwartz schwartz@gondor.psu.edu ----- Sean Eric Fagan Office of Computing/Communications Resources (213) 852 5742 Suite 2600 1GTLSEF@CALSTATE.BITNET 5670 Wilshire Boulevard Los Angeles, CA 90036 {litvax, rdlvax, psivax, hplabs, ihnp4}!csun!aeusesef