Date: Thu, 10 Apr 1997 11:18:05 -0400 (EDT) From: Michael Phelps To: Piotr Kania cc: djgpp AT delorie DOT com Subject: Re: enum and djgpp In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > > > 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