Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 8/28/84; site lll-crg.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!tektronix!hplabs!well!ptsfa!dual!lll-crg!brooks
From: brooks@lll-crg.UUCP (Eugene D. Brooks III)
Newsgroups: net.lang.c
Subject: Re: if (X) <==> if (X != 0)  (enums)
Message-ID: <874@lll-crg.UUCP>
Date: Fri, 27-Sep-85 20:34:09 EDT
Article-I.D.: lll-crg.874
Posted: Fri Sep 27 20:34:09 1985
Date-Received: Wed, 2-Oct-85 00:51:13 EDT
References: <118@mit-hector.UUCP> <2792@sun.uucp> <173@myriasa.UUCP> <57@opus.UUCP> <811@rlvd.UUCP>
Reply-To: brooks@lll-crg.UUCP (Eugene D. Brooks III)
Organization: Lawrence Livermore Labs, CRG
Lines: 6

If you are using enums in such a way that changing the values that the various
items {apples, oranges, pears} have then you deserve the SERIOUS trouble that
you will eventually get into.

Just because the compiler allows it, even an ANSI standard compiler, is not
justification for doing it!