www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/06/05:54:44

From: 080970 AT bud DOT cc DOT swin DOT edu DOT au (Daniel Josef Dekok)
Newsgroups: comp.os.msdos.djgpp
Subject: Pseudo bugs?
Date: 29 Jun 1997 15:20:23 GMT
Organization: Swinburne University of Technology
Lines: 37
Message-ID: <5p5ufn$g1d$1@lucy.cc.swin.edu.au>
NNTP-Posting-Host: 136.186.1.113
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hey

I just had a weird experience with djgpp (havn't we all??)

Im working on a ray tracer, using djgpp, and its mostly working, but i 
kept getting sigfpe errors telling me that a co-processor wasn't found, 
which is fine, cos im using a 486SX.  But having/not having a 
co-processor shouldn't make a differnce to the program, just make it 
slower.  So i ran symify, and narrowed it down to a particular function, 
intsphere().  The respoonse from symify was something like: intsphere+219 
(BTW is the +219 number of characters? or something else)  This wasn't 
much help, so i recompiled using the -g switch, so symify would give me a 
valid number. But it didn't give me a vaild dumpfile, the program 
actually stop giving me the error!! It now seems to work ok, just by 
placing -g into the compile line.

This is my 2nd weird experience with my program, the 1st being that some 
variables wouldn't initialize properly (they read from the command line) 
and i could do nothing about it, but then i placed the variable 
declaration the next line down in the source code, and it worked.
(eg i had: int x,y,flag; and x and y wouldn't work, but i changed it to
int flag;
int x,y; 
and it worked fine)

Can anyone explain? or had something else similar, or should i 
re-install? :)

	Daniel

--
/=================================================================\
|     Click Here to have your mouse make that 'click' noise       |
|=================================================================|
|              Daniel Dekok - talor AT bud DOT swin DOT edu DOT au               |
\=================================================================/
             

- Raw text -


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