Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rutgers!mcdchg!ddsw1!karl From: karl@ddsw1.MCS.COM (Karl Denninger) Newsgroups: comp.unix.xenix Subject: Re: compiler error.. Summary: And a fix for the same error Message-ID: <1990Feb22.194304.24887@ddsw1.MCS.COM> Date: 22 Feb 90 19:43:04 GMT References: <854@stsim.ocs.com> <945@chinacat.Lonestar.ORG> Reply-To: karl@mcs.MCS.COM (Karl Denninger) Organization: Macro Computer Solutions, Inc. - Mundelein, IL Lines: 27 In article <945@chinacat.Lonestar.ORG> chip@chinacat.Lonestar.ORG (Chip Rosenthal) writes: >In article <854@stsim.ocs.com> glenn@stsim (glenn ford) writes: >>I recieved the following error trying to get conquer4 running under SCO Xenix >>386, 2.3.1: >> Compiler error (internal): Infinite spill >>What causes this, and is it fixed? > >My understanding is that it is due to a problem in the register usage >scheme in the Microsoft compiler, and is activated by complex expressions. >About all you can do is locate the expression causing the problem and >simplify it. Here is a portion of code in rn's "rcln.c" file which has >this problem, and my fix: Before you go modifying the code, try adding: -Dregister= to your CFLAGS. This will remove register declarations (it may break things as well, if the user of the register didn't include a type; a common problem, but one easy to fix). This will usually get the offending code to compile. -- Karl Denninger (karl@ddsw1.MCS.COM, !ddsw1!karl) Public Access Data Line: [+1 708 566-8911], Voice: [+1 708 566-8910] Macro Computer Solutions, Inc. "Quality Solutions at a Fair Price"