This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: Broken basename()
- To: glibc-linux@ricardo.ecn.wfu.edu
- Subject: Re: Broken basename()
- From: Jean Pierre Belanger <jpbelanger@originalsim.com>
- Date: Wed, 2 Jun 1999 10:16:57 -0400
- Organization: OriginalSim
- References: <199906012208.AAA07098@jupiter.strijp.Ehv.nl>
- Reply-To: glibc-linux@ricardo.ecn.wfu.edu
Hi!
I compile by doing:
g++ testbasename.cpp
On my system, glibc-2.1.1-6 is installed (RedHat 6.0)...
Thanks,
JP
Remco van den Berg wrote:
> >
> > Hi again!
> >
> > By the way, If I include string.h instead of libgen.h,
> > I get the following:
> >
> > warning: implicit declaration of function `int basename(...)
> >
> > Does it mean that something has to be included first ?
> > How can I get rid of that warning ?
> >
> > Thanks,
> > JP
>
> Hum strange, I don't get any warning.
>
> Perhaps you're not running the latest glibc-2.1.1 release?
>
> -Remco
--
Jean-Pierre Belanger, OSim Product Development Manager
OriginalSim - Framework for building distributed simulations.
Tel: 514-766-8868 Ex:28, Fax: 514-766-8861
mailto:jpbelanger@originalsim.com, http://www.originalsim.com