Mail Archives: djgpp/1997/04/10/11:35:53
>
>
> On Mon, 7 Apr 1997 mtc AT acsu DOT buffalo DOT edu wrote:
>
> >
> > I am just try to do a simple enum like
> >
> > enum constants { false = 0, true = 1};
> >
> > This statement which will compile under other compilers will not
> > with djgpp I get a parse error before false and a missing ';' after
> > right bracket error. any ideas ?
> >
> > thanks
> >
> > Michael T Collins
> >
> >
> >
> Im my opionion you must compile it as c++ (with extension .cpp) becouse
> enum works only with c++
>
> Cornholio ;-D
>
>
Huh? enum is a valid keyword in both C and C++.
---Michael Phelps
morphine AT cs DOT jhu DOT edu
- Raw text -