cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/27/18:47:46

Message-Id: <3.0.3.32.19980427165510.006a0c40@ns.coba.net>
Date: Mon, 27 Apr 1998 16:55:10 -0400
To: djgpp AT delorie DOT com
From: Daniel Delorme <daniel AT coba DOT net>
Subject: Re: SIGFPE
In-Reply-To: <3544D08B.FE3@cam.org>
References: <3 DOT 0 DOT 3 DOT 32 DOT 19980427104650 DOT 006936f8 AT ns DOT coba DOT net>
Mime-Version: 1.0

At 14:38 27/04/98 -0400, you wrote:
>Daniel Delorme wrote:
>> Put each function in a different file and compile them as a project
>> (I use RHIDE) and you'll get SIGFPE except if you run the program from
>> the RHIDE editor under win95. But if you do that, although it won't
>> crash, the output will be wrong.
>
>runs fine for me...
>first file:
>#include "stdio.h"
>double ReturnDouble(int I);
>main()
>{
>[...]

Since you declare the function in the first file, it's no wonder the 
program runs fine. It's as if the two functions are in the same file, 
and I never had any trouble with that

Just try to remove "double ReturnDouble(int I);" from the first file :)


- Raw text -


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