From owner-freebsd-questions Thu Apr 4 12:21:51 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA27023 for questions-outgoing; Thu, 4 Apr 1996 12:21:51 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA27017 for ; Thu, 4 Apr 1996 12:21:46 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA22438; Thu, 4 Apr 1996 13:13:35 -0700 From: Terry Lambert Message-Id: <199604042013.NAA22438@phaeton.artisoft.com> Subject: Re: How do you declare an enum ? To: jfieber@indiana.edu (John Fieber) Date: Thu, 4 Apr 1996 13:13:35 -0700 (MST) Cc: terry@lambert.org, dwhite@resnet.uoregon.edu, questions@FreeBSD.org In-Reply-To: from "John Fieber" at Apr 4, 96 02:35:38 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > You are trying to enum a C++ reserved word. This is a fairly recent > > addition to the list of reserved words. > > Here is a good one: one of the Motif 2.0 demo programs has a > variable named `inline'. It took a little puzzling before it > dawned on me what the problem was. ;-P Let me guess... "inline", like "volatile" and "const" and "near" and "far" and "__attribute" and "..." are evil, and lazy compiler and linker writers will be the first up against the wall come the revoloution? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.