delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/16/06:50:13

Date: Thu, 16 Mar 2000 12:06:51 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Damon Hogan <damonh AT pgmincorporated DOT com>
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: <Pine.SUN.3.91.1000316120627.3117T-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019