On Dec 10, 2011, at 12:42 PM, Colin Law wrote: > On 10 December 2011 17:08, John Ralls <jra...@ceridwen.us> wrote: >> >> On Dec 10, 2011, at 8:58 AM, Colin Law wrote: >> >>> On 10 December 2011 16:51, John Ralls <jra...@ceridwen.us> wrote: >>>> >>>> On Dec 10, 2011, at 8:29 AM, Colin Law wrote: >>>> >>>>> On 10 December 2011 14:32, Colin Law <clan...@googlemail.com> wrote: >>>>>> I am testing the build of gnucash on ubuntu 12.04 alpha. I have >>>>>> checkout out the 2.4 branch from git and run >>>>>> ./autogen.sh >>>>>> ./configure --prefix=/usr/bin/gnucash2.4 --enable-compile-warnings >>>>>> --with-html-engine=webkit >>>>>> make >>>>>> >>>>>> I get the error: >>>>>> /bin/bash ../../../libtool --tag=CC --mode=compile gcc >>>>>> -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=\"qof\" >>>>>> -I../../../lib/libc -I../../../src -pthread -I/usr/include/glib-2.0 >>>>>> -I/usr/lib/i386-linux-gnu/glib-2.0/include -Werror >>>>>> -Wdeclaration-after-statement -g -O2 -Wall -Wunused >>>>>> -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT guid.lo >>>>>> -MD -MP -MF .deps/guid.Tpo -c -o guid.lo guid.c >>>>>> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. >>>>>> -DG_LOG_DOMAIN=\"qof\" -I../../../lib/libc -I../../../src -pthread >>>>>> -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include >>>>>> -Werror -Wdeclaration-after-statement -g -O2 -Wall -Wunused >>>>>> -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT guid.lo >>>>>> -MD -MP -MF .deps/guid.Tpo -c guid.c -fPIC -DPIC -o .libs/guid.o >>>>>> guid.c: In function 'guid_to_string': >>>>>> guid.c:680:5: error: 'g_static_private_get' is deprecated (declared at >>>>>> /usr/include/glib-2.0/glib/deprecated/gthread.h:245): Use >>>>>> 'g_private_get' instead [-Werror=deprecated-declarations] >>>>>> guid.c:684:9: error: 'g_static_private_set' is deprecated (declared at >>>>>> /usr/include/glib-2.0/glib/deprecated/gthread.h:248): Use >>>>>> 'g_private_set' instead [-Werror=deprecated-declarations] >>>>> >>>>> The version of glib is 2.31.2. The version on Ubuntu 11.10 that >>>>> compiles ok is 2.30.0 >>>> >>>> Yeah, I figured out what they're using. Matthias just deprecated those >>>> functions in October. >>>> >>>> Looks like a simple fix, though, and g_private_set has been around at >>>> least since 2.12, so we can change it in both 2.4 and trunk. >>>> >>>> Could you find all the deprecations and file a bug? >>> >>> Not sure how to find them all as the build stops after the first one. >>> Can I force the build to carry on somehow? >> >> make -k >> >> Redirect the output into a file and then grep -i on "deprecated". > > Reported bug > https://bugzilla.gnome.org/show_bug.cgi?id=665923
Excellent. Thanks. Regards, John Ralls _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel