delorie.com/archives/browse.cgi | search |
From: | Vic <tudor AT cam DOT org> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: SIGFPE |
Date: | Mon, 27 Apr 1998 19:27:28 -0400 |
Organization: | Communications Accessibles Montreal, Quebec Canada |
Lines: | 11 |
Message-ID: | <35451460.55B9@cam.org> |
References: | <3 DOT 0 DOT 3 DOT 32 DOT 19980427104650 DOT 006936f8 AT ns DOT coba DOT net> <3 DOT 0 DOT 3 DOT 32 DOT 19980427165510 DOT 006a0c40 AT ns DOT coba DOT net> |
NNTP-Posting-Host: | dialup-778.hip.cam.org |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Daniel Delorme wrote: > > 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 > :) but that is normal. You MUST declare the function, otherwise the compiler has no ideea about the types the function takes, lik return value and parameters.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |