Date: Thu, 16 Mar 2000 12:06:51 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Damon Hogan cc: djgpp AT delorie DOT com Subject: Re: 388: fixed or forbidden register 0 (ax) was spilled for class AREG. fly. In-Reply-To: <38D02EB9.89DC1F89@pgmincorporated.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 15 Mar 2000, Damon Hogan wrote: > I am compiling the fly.exe program for the plush3d library and I get the > following error messages. I get the same error messages on other > libraries,/programs that I try to compile with inline assembly code. I > think that this is a problem with djgpp's gcc I'm > not sure. > > fly.c: In function `main': fly. > c:55: warning: return type of `main' is not `int' fly. > c: In function `mouse_init': fly. > c:388: Invalid `asm' statement: fly. > c:388: fixed or forbidden register 0 (ax) was spilled for class AREG. No, it's a problem with the inline assembly you are compiling. See section 8.17 of the DJGPP FAQ for details.