| delorie.com/archives/browse.cgi | search |
| From: | "D. Vrabel" <dv207 AT hermes DOT cam DOT ac DOT uk> |
| 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: | <Pine.HPP.3.96L.981022210249.6848A-100000@tw200.eng.cam.ac.uk> |
| References: | <Pine DOT SUN DOT 3 DOT 91 DOT 981022130542 DOT 3460A-100000 AT is> <gunaalubzrpbz DOT f18t5tb DOT pminews AT news DOT avnl1 DOT nj DOT home DOT com> |
| NNTP-Posting-Host: | tw200.eng.cam.ac.uk |
| Mime-Version: | 1.0 |
| X-Sender: | dv207 AT tw200 DOT eng DOT cam DOT ac DOT uk |
| In-Reply-To: | <gunaalubzrpbz.f18t5tb.pminews@news.avnl1.nj.home.com> |
| 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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |