Date: Wed, 22 Jan 1997 13:30:10 +0100 (MET) From: Miguel Murillo To: Alan Bostick cc: djgpp AT delorie DOT com Subject: Re: New to djgpp -- curious compilation problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII #if 0 Hello Alan the problem is : bool typedefined in C++ false (1==0) true (1==1) you don't need defined enum Boolean { false =0, true }; or change name false for False ,Fal,... and true for True , truee, ... //////////////////////////////////////////////////////// #endif #include int main() { enum Boolean { false = 0, true }; if (false) { cout << "Something is seriously wrong here!\n"; } else // if !false { cout << "This is what you ought to see.\n"; } return 0; } bye Alan ;-) MIGUEL MURILLO