This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Include libiberty.h in files that use htab_create()
- From: Geoff Keating <geoffk at geoffk dot org>
- To: nickc at cambridge dot redhat dot com
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 6 Jun 2002 12:03:23 -0700
- Subject: Re: Include libiberty.h in files that use htab_create()
- References: <m3d6v4ofcd.fsf@north-pole.nickc.cambridge.redhat.com>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> From: Nick Clifton <nickc@cambridge.redhat.com>
> Date: 06 Jun 2002 11:45:38 +0100
>
> Hi Guys,
>
> I am applying the patch below to #include "libiberty.h" in the two
> files in BFD that use the htab_create() function. The new version
> of hashtab.h in the FSF GCC source repository replaces this with a
> macro that references the xcalloc() function, and a prototype for
> this function is needed in order for the macro to work.
>
> Cheers
> Nick
Hi Nick,
this is incompatible with the patch I just posted. Could you look at
them both and work out which is correct?
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>