From: Carl Hover Newsgroups: comp.os.msdos.djgpp Subject: Re: enum - Why does true == false? Message-ID: References: <37E1C429 DOT FA787217 AT a DOT crl DOT com> X-Newsreader: Forte Agent 1.6/32.525 X-No-Archive: yes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 11 NNTP-Posting-Date: Fri, 17 Sep 1999 11:50:28 CDT Organization: Giganews.Com - Premium News Outsourcing X-Trace: sv1-RFjET2Zrbsl8Dg8Wyc1mjHMSoxTfoXgUnPSRKvZ0EgzYclqKLhWKi+UgvSsqxCMbeb/tIpPdbSzSrf9!oEaPVw== X-Complaints-To: abuse AT GigaNews DOT Com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Fri, 17 Sep 1999 09:50:30 -0700 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 16 Sep 1999 23:31:37 -0500, Weiqi Gao wrote: >See K&R p.232, l.-11. Ah, there it is ... missed that paragraph. An #if expression can't contain enum constant. I guess I've been making that mistake for many years. The Borland pre-processor says the enum is undefined, but still allows it to be used in #if expressions. :-/ Thanks for answering my non-dgjpp question.