This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix compilation error in libbid
- From: "H.J. Lu" <hjl at lucon dot org>
- To: Bernhard Fischer <rep dot dot dot nop at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 27 Dec 2007 08:55:03 -0800
- Subject: Re: [PATCH] fix compilation error in libbid
- References: <20071119154038.GA451@aon.at> <20071215175051.GL17973@aon.at> <20071215231831.GA26652@lucon.org>
Hi Bernhard,
Do you still have compilation problem in libbid?
H.J.
On Sat, Dec 15, 2007 at 03:18:31PM -0800, H.J. Lu wrote:
> On Sat, Dec 15, 2007 at 06:50:51PM +0100, Bernhard Fischer wrote:
> > ping
> > http://gcc.gnu.org/ml/gcc-patches/2007-11/msg01017.html
> >
> > thanks,
> > On Mon, Nov 19, 2007 at 04:40:38PM +0100, Bernhard Fischer wrote:
> > >Hi,
> > >
> > >I was getting errors due to conflicting types for __bid_convert_table et
> > >al ¹). Looks like it was missing a const.
> > >
> > >Untested. Hjl, please fix.
> > >
> > >Thanks,
> > >
> > >libgcc/ChangeLog:
> > >
> > >2007-11-19 Bernhard Fischer <aldot>
> > >
> > > * (config/libbid/bid64_div.c): Also extern decl of
> > > __bid_{convert_table,factors,packed_10000_zeros} have to be const.
> > >
> > >
> > >
> > >¹)
> > >../../../../src/gcc-4.3/libgcc/config/libbid/bid64_div.c:1369: error:
> > >conflicting types for '__bid_convert_table'
> > >../../../../src/gcc-4.3/libgcc/config/libbid/bid64_div.c:69: error:
> > >previous declaration of '__bid_convert_table' was here
> > >../../../../src/gcc-4.3/libgcc/config/libbid/bid64_div.c:1370: error:
> > >conflicting types for '__bid_factors'
> > >../../../../src/gcc-4.3/libgcc/config/libbid/bid64_div.c:70: error:
> > >previous declaration of '__bid_factors' was here
> > >../../../../src/gcc-4.3/libgcc/config/libbid/bid64_div.c:1371: error:
> > >conflicting types for '__bid_packed_10000_zeros'
> > >../../../../src/gcc-4.3/libgcc/config/libbid/bid64_div.c:71: error:
> > >previous declaration of '__bid_packed_10000_zeros' was here
> > >make[3]: *** [bid64_div.o] Error 1
> > >
> >
>
> Why didn't I see it? How can I reproduce it?