Sender: nate AT cartsys DOT com Message-ID: <36670A51.43C7538F@cartsys.com> Date: Thu, 03 Dec 1998 14:01:53 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: function parameter type cast missing? References: <01be1eac$7ec991a0$e9024ac3 AT vpk2 DOT sci DOT fi> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Reply-To: djgpp AT delorie DOT com > Veli-Pekka Kilpeläinen wrote: > > I'm a newbie with c/c++ so this might be a stupid question. > > Why I can't use header? When I try to Rhide my prog all I > get is an error message that function parameter typecasts are > missing(in that header). Like void function(int para1, para2); I can > change my own functions to void function(int para1, int para2); > which will be accepted, but that doesn't make sense with standarn > headers. > > Is this C or C++ header? my progs extension is .cpp and I'm trying to > learn C++. Should I use some other header and function to move lot's > of data around? The header works as either C or C++. There is a bug in it; it uses the type `size_t' to declare the functions, but neglects to define it first. You can work around this by including or another header which does define `size_t' before including . This is fixed in the 2.02 beta. -- Nate Eldredge nate AT cartsys DOT com