build problem

John Ralls jralls at ceridwen.us
Mon Jul 18 08:03:47 EDT 2011


On Jul 18, 2011, at 5:15 AM, Mike Evans wrote:

> On Monday 18 Jul 2011 02:39:47 Bill Hammond wrote:
> > I've got the same problem under Ubuntu Natty.
> > 
> Same problem on Fedora14.
> LIne 374 is the issue as g_printf() isn't in glib.h it's in <glib/gprintf.h> so that needs to be included.
> There's also a small typo the line should be:
> g_printf("Received Error Message %s\n", msg);
> "I before E except after C"
> Mike E
> 
> > Regards,
> > 
> > Bill
> > 
> > On 07/17/2011 09:36 PM, John Ralls wrote:
> > > 
> > > On Jul 17, 2011, at 8:17 PM, J. Alex Aycinena wrote:
> > > 
> > >> John,
> > >>
> > >> One of your recent commits related to testing gives me this error when
> > >> I try to build:
> > >>
> > >> /home/gnucash-dev/svncheckouts/gnucash-clean/src/test-core/test-stuff.c:
> > >> In function 'test_handle_faults':
> > >> /home/gnucash-dev/svncheckouts/gnucash-clean/src/test-core/test-stuff.c:374:2:
> > >> error: implicit declaration of function 'g_printf'
> > >> [-Werror=implicit-function-declaration]
> > >> cc1: all warnings being treated as errors
> > > 
> > > 
> > > Alex,
> > > 
> > > That's very strange. g_printf() has been part of glib for a very long time. Surely you got something more, like not being able to find glib.h.
> > > 


OK, if that fixes it, done. r20939.

Strange that it worked on OSX. You're right that glib/gprintf.h isn't included by glib.h

Regards,
John Ralls



More information about the gnucash-devel mailing list