cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/28/19:11:59

Sender: nate AT cartsys DOT com
Message-ID: <35E734C3.66DBA53@cartsys.com>
Date: Fri, 28 Aug 1998 15:52:51 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Siddiqui <siddiqui AT dircon DOT co DOT uk>
CC: djgpp AT delorie DOT com
Subject: Re: type mismatch problem
References: <35e5bc22 DOT 0 AT newsread1 DOT dircon DOT co DOT uk> <35E60E4E DOT 9926FD6F AT cartsys DOT com> <35e6f002 DOT 0 AT newsread1 DOT dircon DOT co DOT uk>

Siddiqui wrote:
> 
> >You need to #include <math.h>, which declares `sqrt', `cos' and the
> >like.  Otherwise, they default to functions returning int, which is
> >clearly wrong.
> 
> Thanx, I have this problem so many times some one tells me the answer and I
> include the correct file but in the next prog I write I forget it agan :(

Any warning about "implicit declaration" usually means you've missed a
header.
-- 

Nate Eldredge
nate AT cartsys DOT com


- Raw text -


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