From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16334 invoked by alias); 13 May 2002 03:44:34 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 16324 invoked from network); 13 May 2002 03:44:28 -0000 Received: from unknown (HELO FalDara.StarBlade.com) (64.219.19.189) by sources.redhat.com with SMTP; 13 May 2002 03:44:28 -0000 Received: from david.starblade.com (64.219.19.170) by StarBlade.com (64.219.19.187) with [XMail 1.0 (Linux/Ix86) ESMTP Server] id for from ; Sun, 12 May 2002 22:48:19 -0500 From: David Dudley Organization: StarBlade, Inc. To: gcc-help@gcc.gnu.org Subject: Re: Error Date: Sun, 12 May 2002 20:44:00 -0000 User-Agent: KMail/1.4.5 References: <20020512155016.12434.qmail@webmail10.rediffmail.com> <3CDE96D3.A5B6AD9D@tdcadsl.dk> In-Reply-To: <3CDE96D3.A5B6AD9D@tdcadsl.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200205122245.30139.david.dudley@starblade.com> X-SW-Source: 2002-05/txt/msg00119.txt.bz2 On Sunday 12 May 2002 11:22 am, bjorn rohde jensen wrote: > Hi Rahul, > > g++ is basically telling you, that the function Free is > not declared in your code or any included header files. > The int Free(...) bit, i think, comes from standard C, > where one did not have to prototype functions, but one > could rely on some implicit prototypes. ANSI C made > prototypes a requirement. Yes, but in that case, isn't it also capitalized wrong? its "free(...)", n= ot=20 "Free(...)" if thats what he was looking for. David > > Yours sincerely, > > Bjorn > > Rahul it wrote: > > I am running a Cpp program and when I compile it with g++ it gives > > me some error > > like this > > > > In function `int main(...)': > > program.cpp: implicit declaration of function `int Free(...) > > > > I donot know why is this? > > The only way Free() appears in my program is > > Free (str); > > where str type is > > char * str; > > > > Thanks > > > > _________________________________________________________ > > Click below to visit monsterindia.com and review jobs in India or > > Abroad > > http://monsterindia.rediff.com/jobs