Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!rochester!quiroz From: quiroz@cs.rochester.edu (Cesar Quiroz) Newsgroups: comp.std.c Subject: Re: Macro names imbedded in pp-numbers [repost] Summary: #define F_LIMIT (0x14e) Message-ID: <1989Nov17.205004.19236@cs.rochester.edu> Date: 17 Nov 89 20:50:04 GMT Article-I.D.: cs.1989Nov17.205004.19236 References: <11134@riks.csl.sony.co.jp> <15217@haddock.ima.isc.com> <1643@crdos1.crd.ge.COM> Reply-To: quiroz@cs.rochester.edu (Cesar Quiroz) Organization: University of Rochester, Department of Computer Science Lines: 17 In <1643@crdos1.crd.ge.COM>, davidsen@crdos1.UUCP (bill davidsen) wrote: | #define F_LIMIT 0x14e | | /* and later in the program */ | long error_count[F_LIMIT+5]; /* room for quadrant totals */ Aside: Over-parenthesizing your defines for paranoid reasons would have saved this program. Of course, the criticized behavior remains buggy in the general case. -- Cesar Augusto Quiroz Gonzalez Department of Computer Science University of Rochester Rochester, NY 14627