Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sftri.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!mhuxr!mhuxv!mhuxt!mhuxm!sftig!sftri!jss From: jss@sftri.UUCP (J.S.Schwarz) Newsgroups: net.lang.c Subject: Re: ANSI standard and enums Message-ID: <225@sftri.UUCP> Date: Mon, 29-Oct-84 17:28:28 EST Article-I.D.: sftri.225 Posted: Mon Oct 29 17:28:28 1984 Date-Received: Wed, 31-Oct-84 00:13:16 EST References: <4125@tekecs.UUCP> <369@ucsfcgl.UUCP> Organization: AT&T Bell Laboratories, Summit N.J. Lines: 18 > So I would add > d. make enum constants be considered exactly like integer > constants. > This is exactly what the Aug 21, Draft of the ANSI standard says. Section 2.3.4: "An identifier declared as an enumberation constant has type int." Section 5.2.3: "The properties of an object of enum type in an expression are identical to those of an int." Jerry Schwarz Bell Labs Summit, N.J ihnp4!btlunix!jss