From: Thomas Demmer Newsgroups: comp.os.msdos.djgpp Subject: Re: SIGFPE Date: Tue, 28 Apr 1998 09:37:10 +0200 Organization: Lehrstuhl fuer Stroemungsmechanik Lines: 34 Message-ID: <35458726.F6741A6@LSTM.Ruhr-UNI-Bochum.De> References: <3 DOT 0 DOT 3 DOT 32 DOT 19980427104650 DOT 006936f8 AT ns DOT coba DOT net> <3544D08B DOT FE3 AT cam DOT org> NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Vic 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); Vic, maybe you should have told him to think about what prototypes are for... Maybe, also somebody should tell him the secrets of gcc -Wall -pedantic -- Ciao Tom ************************************************************* * Thomas Demmer * * Lehrstuhl fuer Stroemungsmechanik * * Ruhr-Uni-Bochum * * Universitaetsstr. 150 * * D-44780 Bochum * * Tel: +49 234 700 6434 * * Fax: +49 234 709 4162 * * http://www.lstm.ruhr-uni-bochum.de/~demmer * *************************************************************