Mail Archives: djgpp/1997/01/21/17:23:40
> I'm new to djgpp and fairly new to C++ and have run into what seems to
> me to be an odd compilation problem.
>
> I'm trying to learn the language from Stanley Lippman's C++ PRIMER, 2nd
> edition, and have downloaded Lippman's examples from his FTP site. I
> have discovered, when compiling his examples, that djgpp chokes on the
> following construction:
> enum Boolean {false = 0, true};
I believe the new standard for C++ results in false, true becoming
part of the language (i.e., key words) and you therefore can use them
in any context in which you would use a #define. Please, someone
correct me if this is not correct.
Regards.
David May, ID Card Administrator
Albuquerque TVI
- Raw text -