www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/01/01:25:37

Date: Sun, 1 Dec 1996 08:03:42 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Aaron M Clemmer <aclemmer AT juno DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: Page Faults
In-Reply-To: <19961201.003702.10791.1.aclemmer@juno.com>
Message-Id: <Pine.SUN.3.91.961201075739.12293A-100000@is>
Mime-Version: 1.0

On Sat, 30 Nov 1996, Aaron M Clemmer wrote:

> 	I've been working on this, and the problem just seems to get
> stranger and stranger... 

Please post a short but *complete* program, with all the declarations, 
the `main' function and everything else.  Make it the shortest possible 
program that gives you a page fault, but don't post fragments which leave 
declarations out.

Right now I'd guess that your `xform_vector' gets pointers that point to
nowhere, but I cannot verify this without seeing the declarations and
definitions which you left out.  If you post the shortest complete program
with your bug, chances are you will get your solution within hours. 

> void xform_vector(matrix m, vector svect, vector *result)
                                            ^^^^^^^^^^^^^^
Does this pointer point to a variable?  Your code doesn't include any 
assignment to that pointer.

- Raw text -


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