delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/10/03:20:50

Date: Thu, 10 Jul 1997 10:20:25 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Eric Liao <su-lin DOT liao AT worldnet DOT att DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Help with errors
In-Reply-To: <33c2ba55.6066342@netnews.worldnet.att.net>
Message-ID: <Pine.SUN.3.91.970710101952.19359C-100000@is>
MIME-Version: 1.0

On Tue, 8 Jul 1997, Eric Liao wrote:

> >Is it possible that desty or destx have erroneous values?  A moderately
> >huge value of desty would overrun the bounds of your DS, which is 4.7MB
> >in size.  This would easily cause a GPF.  Try stepping through using GDB
> >when you get to this point.
> >
> >Eric Lange
> 
> 
> 	I'm pretty sure destx and desty are correct, because my game
> runs when I compile it in Borland Turbo C++ 3.1.
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is no proof!  DJGPP is much more sensitive about NULL pointer and
wild pointer dereferences, since protected mode makes catching these
bugs very easy.  So you might very well have a bug that just goes
unnoticed when you compile with TC.

- Raw text -


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