Unable to compile on current rawhide
Chris Shoemaker
c.shoemaker at cox.net
Fri Dec 23 13:05:17 EST 2005
On Fri, Dec 23, 2005 at 11:17:46AM -0600, Michael D. Wise wrote:
> On Fri, 2005-12-23 at 11:53 -0500, Chris Shoemaker wrote:
> > On Fri, Dec 23, 2005 at 10:26:24AM -0600, Michael D. Wise wrote:
> > > On Fri, 2005-12-23 at 10:11 -0500, Chris Shoemaker wrote:
> > > > On Fri, Dec 23, 2005 at 07:32:42AM -0600, Michael D. Wise wrote:
> > > > > I can't compile a current svn checkout on the current rawhide. I get
> > > > > the following error:
> > > > >
> > > > > gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../.. -I../../..
> > > > > -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> > > > > -Wno-uninitialized -Wall -Wunused -Wdeclaration-after-statement
> > > > > -Wno-pointer-sign -MT guid.lo -MD -MP -MF .deps/guid.Tpo -c guid.c -fPIC
> > > > > -DPIC -o .libs/guid.o
> > > > > guid.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__'
> > > > > before '*' token
> > > > > guid.c: In function 'guid_memchunk_init':
> >
> > Ok, hypothesis #2: Whatever version of glib2-devel you have finally
> > removed deprecated GMemChunk from the public api. Let me go see if
> > there's some private header we can include until we get around to
> > removing GMemChunk altogether.
> >
> > -chris
> >
> The glib2-devel version is glib2-devel-2.9.1-1.
>
> Mind you I don't really know anything about programming. I am learning
> though every time I compile gnucash. I was reading the API
> documentation on gtk.org. It does talk about how memory chunks have
> been deprecated in 2.10. Its replacement is the slice allocator.
Yeah, but the slice allocator is new in 2.10, so we're not going to be
using it any time soon. I think the RightWay to solve this is to make
the disabling of deprecated functions a configure flag. Then,
developers can enable it to test what our minimum library requirements
are. But we can't just disable deprecated functions by default.
That's silly.
-chris
More information about the gnucash-devel
mailing list