compile error r18884

Geert Janssens janssens-geert at telenet.be
Wed Mar 10 11:06:21 EST 2010


On Wednesday 10 March 2010, Derek Atkins wrote:
> Herbert,
> 
> Herbert Thoma <herbert.thoma at iis.fraunhofer.de> writes:
> > Hi!
> >
> > With latest trunk I get a complie error:
> >
> > cc1: warnings being treated as errors
> > gnc-main-window.c: In function ‘main_window_update_page_name’:
> > gnc-main-window.c:1928: error: implicit declaration of function
> > ‘g_strstr’ gnc-main-window.c:1928: error: comparison between pointer and
> > integer make[5]: *** [gnc-main-window.lo] Fehler 1
> > make[5]: Leaving directory
> > `/home/tma/gnucash/gnucash_cvs/gnucash_work/src/gnome-utils' make[4]: ***
> > [all-recursive] Fehler 1
> > make[4]: Leaving directory
> > `/home/tma/gnucash/gnucash_cvs/gnucash_work/src/gnome-utils'
> >
> > It seems that my glib does not have g_strstr but only g_strstr_len
> 
> In what version of glib was g_strstr() added/removed?
> In what version of glib was g_strstr_len() added/removed?
> 
> We need to make sure we support 2.10+
> 
As far as I can trace back, g_strstr() never existed and g_strstr_len() always 
has. It's not a compatibility issue here, but me goofing up while applying a 
patch.

It should be properly fixed now in r18885.

Geert


More information about the gnucash-devel mailing list