Newsgroups: comp.os.msdos.djgpp From: "Mike Ruskai" Message-ID: References: X-Newsreader: PMINews 2.00.1201 For OS/2 Organization: TLF MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: Some questions, and some bugs (perhaps) Lines: 21 Date: Thu, 22 Oct 1998 20:46:14 GMT NNTP-Posting-Host: 24.3.130.120 NNTP-Posting-Date: Thu, 22 Oct 1998 13:46:14 PDT 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 21:05:22 +0100, D. Vrabel wrote: >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. Since when? They aren't in the other two compilers, which is what makes the above necessary. -- - Mike Remove 'spambegone' to send e-mail.