From owner-freebsd-questions Wed Apr 3 22:38:46 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA02381 for questions-outgoing; Wed, 3 Apr 1996 22:38:46 -0800 (PST) Received: from riley-net170-164.uoregon.edu (riley-net170-164.uoregon.edu [128.223.170.164]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id WAA02368 for ; Wed, 3 Apr 1996 22:38:40 -0800 (PST) Received: (from dwhite@localhost) by riley-net170-164.uoregon.edu (8.6.12/8.6.12) id WAA01180; Wed, 3 Apr 1996 22:38:57 -0800 Date: Wed, 3 Apr 1996 22:38:56 -0800 (PST) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Terry Lambert cc: questions@freebsd.org Subject: Re: How do you declare an enum ? In-Reply-To: <199604032029.NAA19898@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 3 Apr 1996, Terry Lambert wrote: > > Is there a different way to declare an enum type? > > You missed the meeting! 8-). I didn't get an invitation! > You are trying to enum a C++ reserved word. This is a fairly recent > addition to the list of reserved words. Aah. Apparently other compilers haven't caught up. Removing the enum and changing all references of "boolean" to "bool" got it up. Thanks for the help, guys! Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major