Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!ll-xn!mit-eddie!uw-beaver!uw-june!pardo From: pardo@june.cs.washington.edu (David Keppel) Newsgroups: comp.lang.c Subject: "enum" question Message-ID: <4357@june.cs.washington.edu> Date: 4 Mar 88 19:00:14 GMT References: <3295@mucs.UX.CS.MAN.AC.UK> Reply-To: pardo@uw-june.UUCP (David Keppel) Organization: U of Washington, Computer Science, Seattle Lines: 14 I don't have any documentation about "enum". I've used it pretty happily for awhile and then ran into this the other day: typedef enumm { A, B, C, NELM } foo_t; int a[ NELM ]; Pcc gags on this. I'm wondering (a) if it is supposed to (b) if it is supposed to even when I do typedef enumm { A = 0, B, C, NELM } foo_t; and anything else enlightening. ;-D on (Instead of enumerating the options, I'll define them :-) Pardo