Path: utzoo!attcan!uunet!mcvax!harrnl!andy From: andy@harrnl.UUCP (Andy Warner) Newsgroups: comp.sources.bugs Subject: Re: ARC521 posted resently Keywords: arclzw.c and arcsqs.c compilation problems Message-ID: <357@harrnl.UUCP> Date: 11 Jul 88 11:08:13 GMT References: <394@nikhefk.UUCP> Reply-To: andy@harrnl.UUCP (Andy Warner) Organization: Harris Corporation B.V., Woerden, Holland Lines: 25 In article <394@nikhefk.UUCP> frankg@nikhefk.UUCP (Frank Geerling) writes: >I have trouble in compiling arclzw.c on my MEGA ST2 it goes wrong at line 57 >(MWC 1.1) The whole arc compiles without a hitch with MWC 3.0. I used the following in my makefile: CFLAGS= -VCOMPAC -VPEEP This gives you a smaller (and faster) arc. >In the file arcsqs.c the compiler complaints about to long array >in line 52, is this the well know bug of MWC 1.1 ? >34 #define HSIZE 10007 /* 80% occupancy */ >52 long htab[HSIZE]; /* hash code table (crunch) */ Yes, this is a well known bug (also MWC 2.0, 2.1) but has been fixed in 3.0. The early versions didn't allow arrays bigger than 32K bytes. Furthermore, MWC 3.0 supports memset (used in arc521), and much more. Better get you a copy!!! I also HIGHLY recommend the C source debugger (fully screen oriented -- puts unix debuggers to shame). If you don't want get the upgrade, I guess I could tarmail you the binary. + + + + + + + + + + + + + + + + + + + + Opinions/recommendations are all my own + + + + + + + + + + + + + + + + + + + +