From: Piotr Kania Newsgroups: comp.os.msdos.djgpp Subject: Re: enum and djgpp Date: Wed, 9 Apr 1997 20:55:02 +0200 Organization: Technical Univeristy of Wroclaw Lines: 24 Message-ID: References: <33494D3F DOT 606307FA AT cs DOT buffalo DOT edu> NNTP-Posting-Host: ci3ux.ci.pwr.wroc.pl Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <33494D3F.606307FA@cs.buffalo.edu> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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