Xref: utzoo comp.sys.att:6334 comp.lang.c:18325 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!uxc!iuvax!cdaf From: cdaf@iuvax.cs.indiana.edu (Charles Daffinger) Newsgroups: comp.sys.att,comp.lang.c Subject: Re: compiler chokes on 1986th #define Message-ID: <20271@iuvax.cs.indiana.edu> Date: 3 May 89 18:02:30 GMT References: <1710@currant.bbn.com> <29028@ucbvax.BERKELEY.EDU> Reply-To: cdaf@iuvax.cs.indiana.edu (Charles Daffinger) Organization: Indiana University, Bloomington Lines: 31 In article <29028@ucbvax.BERKELEY.EDU> jas@ernie.Berkeley.EDU (Jim Shankland) writes: >In article <1710@currant.bbn.com> ceide@bbn.com (Chantal Eide) writes: >> >>When compiling a file with a large number of '#define's on our AT&T3B2 >>machine I encountered the following error message: >> >>too much defining > I've had analogous problems while abusing cpp by creating some huge #defines. (a different application, not a C program).... "too much pushdown", at which case, instead of bombing, it just decides it really didn't want to do any substitutions anyway, and continues on its merry way... This is on the Ultrix cpp. The solution? Make a smaller #define with other defines nested inside of it, which in this case was kind of unwieldy....(but worked), and #include'd a file of the smaller #defines wherever I needed the larger one.. Gak. or: > * port GNU's cpp to your 3B2; (or vax) Works wonders. -charles -- Charles Daffinger >Take me to the river, Drop me in the water< (812) 339-7354 cdaf@iuvax.cs.indiana.edu {pur-ee,rutgers,pyramid,ames}!iuvax!cdaf Home of the Whitewater mailing list: whitewater-request@iuvax.cs.indiana.edu