Path: utzoo!attcan!ram From: ram@attcan.UUCP (Richard Meesters) Newsgroups: comp.sys.att Subject: Re: cc / cpp problem on 3B2 600G ( 3.2.2 ) -- too many defines Message-ID: <12157@attcan.UUCP> Date: 7 Aug 90 14:21:22 GMT References: <8953@arctic.nprdc.arpa> Distribution: usa Organization: AT&T Canada Inc., Toronto Lines: 37 In article <8953@arctic.nprdc.arpa>, apple@nprdc.navy.mil (Jim Apple) writes: > > I have run into a problem with cpp on a 600G ( 3.2.2 ) > "too many defines". I created some test files and it appears > that there is a hard limit on the number of defines. The size of > both the name and value affect the number of defines that I can > get. Simple names and a value of 1 gives me around 1980 defines > if I change the value to a string I'm down to 1200. I also ran into this problem compiling, of all things, nethack sources. There is, however a fix, which should be available to you by calling the AT&T Support Hotline (NSSC) at 1-800-245-2480. The cause/symptom is as follows: Symptom: too many defines Cause: the number of #defines exceed the symbol table size: STATIC struct symtab stab[ symsiz ]; The fix is a new cpp which contains an increased symsiz to handle a larger number of defines. Unfortunately, unless you have source, you can't change it yourself. Hope this helps, Regards, ------------------------------------------------------------------------------ Richard A Meesters | Technical Support Specialist | Insert std.logo here AT&T Canada | | "Waste is a terrible thing ATTMAIL: ....attmail!rmeesters | to mind...clean up your act" UUCP: ...att!attcan!ram | ------------------------------------------------------------------------------