Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ucsfcgl.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!ucbvax!ucsfcgl!arnold From: arnold@ucsfcgl.UUCP (Ken Arnold%CGL) Newsgroups: net.sources.bugs Subject: Re: Bug in English to Phoneme Translation Message-ID: <480@ucsfcgl.UUCP> Date: Thu, 11-Apr-85 13:45:47 EST Article-I.D.: ucsfcgl.480 Posted: Thu Apr 11 13:45:47 1985 Date-Received: Sat, 13-Apr-85 04:40:31 EST References: <1451@decwrl.UUCP> Reply-To: arnold@ucsfcgl.UUCP (PUT YOUR NAME HERE) Organization: UCSF Computer Graphics Lab Lines: 14 Summary: In article <1451@decwrl.UUCP> wasser_1@viking.DEC (John A. Wasser) writes: > The file containing this bug also needs definitions of TRUE and > FALSE: > #define FALSE 0 > #define TRUE (!FALSE) > These seem to be pre-defined in VAX VMS 'C' under which the > code was developed. > -John A. Wasser Using '#define TRUE (!FALSE)' (or vice versa) like this causes a huge number of lint complaints about "constant used in conditional context". This makes it difficult to use lint. If one is going so far as to make the assumption that 0 == FALSE, why not take the (relatively tiny) extra step and assume that 1 == TRUE?