From: "D. Vrabel" Newsgroups: comp.os.msdos.djgpp Subject: Re: Some questions, and some bugs (perhaps) Date: Thu, 22 Oct 1998 21:05:22 +0100 Organization: University of Cambridge, England Lines: 12 Message-ID: References: NNTP-Posting-Host: tw200.eng.cam.ac.uk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: dv207 AT tw200 DOT eng DOT cam DOT ac DOT uk In-Reply-To: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 22 Oct 1998, Mike Ruskai wrote: > Something I forgot to mention is that the compiler had a problem with this > statement: > > enum BooleanConstants {false=0, true=1}; > > Any ideas why? Works perfectly well with two other compilers. false and true are keywords in C++ (I asume your talking about C++). Use the bool type for boolean variables. Dave.