Date: Wed, 14 Sep 1994 08:42:13 -0700 (PDT) From: Gordon Hogenson Subject: Re: named enum? To: d791013 Cc: DJGPP list On Wed, 14 Sep 1994, d791013 wrote: > > enum bool {false, true}; > void main () { > bool foo = false; > } > > the g++ told me: > > temp.cc:1: parse error before `bool'. This is because 'bool' is a built in type in C++ now. G++ is the first compiler to implement this. "It's a feature, not a bug!" ;-) The other example looks like a bug in the iostreams library. Send mail to bug-lib-g++@prep.ai.mit.edu to report it. Gordon