delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/08/23/14:02:48

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <412A2900.7C3658F9@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Djgpp, allegro and large datafile
References: <8abf3e27 DOT 0408222350 DOT 41002bd4 AT posting DOT google DOT com>
Lines: 19
Date: Mon, 23 Aug 2004 17:54:36 GMT
NNTP-Posting-Host: 12.76.143.44
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1093283676 12.76.143.44 (Mon, 23 Aug 2004 17:54:36 GMT)
NNTP-Posting-Date: Mon, 23 Aug 2004 17:54:36 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Artur wrote:
> 
... snip ...
> Problem appears when I try to call a function inside my program
> with values as parameters ( int some_fun( long double var1, long
> double var2, int var3)). During debugging I've noticed that
> although I call this function in this way : some_func(0,0,0), 
> var1, var2 and var3 are random values inside function. Is it

My guess is that you have failed to define the function before
using it.  Failure to include the appropriate header could do
this.  Make sure you compile with "gcc -ansi -pedantic -W -Wall"
for the most help from the compiler.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!

- Raw text -


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