gda branch errors

Andreas Köhler andi5.py at gmx.net
Sun Apr 6 16:46:48 EDT 2008


Hi David,

Am Sonntag, den 06.04.2008, 16:11 -0400 schrieb David Reiser:
> If I enable error-on-warning, building gda-dev2, svn 17068 fails with:
> 
>   gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -DG_LOG_DOMAIN= 
> \"gnc.backend.xml\" -I/sw/include -I.. -I../.. -DLOCALE_DIR=\"/opt/ 
> gnucash-gda/share/locale\" -I../../../src/backend -I../../../src/ 
> engine -I../../../src/core-utils -I../../../lib/libc -I/sw/include/ 
> libxml2 -I../../../lib/libqof/qof -I../../../lib/libqof/qof -I/sw/ 
> include/glib-2.0 -I/sw/lib/glib-2.0/include -DORBIT2=1 -I/sw/include/ 
> glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/orbit-2.0 -I/sw/ 
> include/gconf/2 -Werror -Wdeclaration-after-statement -Wno-pointer- 
> sign -D_FORTIFY_SOURCE=2 -g -Wno-unused -MT io-gncxml-v2.lo -MD -MP - 
> MF .deps/io-gncxml-v2.Tpo -c io-gncxml-v2.c  -fno-common -DPIC - 
> o .libs/io-gncxml-v2.o
> cc1: warnings being treated as errors
> io-gncxml-v2.c: In function ‘try_gz_open’:
> io-gncxml-v2.c:1350: warning: passing argument 1 of  
> ‘g_atomic_pointer_get’ from incompatible pointer type
> io-gncxml-v2.c:1355: warning: passing argument 1 of  
> ‘g_atomic_pointer_get’ from incompatible pointer type
> io-gncxml-v2.c: In function ‘wait_for_gzip’:
> io-gncxml-v2.c:1366: warning: passing argument 1 of  
> ‘g_atomic_pointer_get’ from incompatible pointer type
> io-gncxml-v2.c:1374: warning: passing argument 1 of  
> ‘g_atomic_pointer_get’ from incompatible pointer type
> make[5]: *** [io-gncxml-v2.lo] Error 1
> 
> I'm using glib 2.16.2, so something might have changed recently with  
> respect to G_LOCK

Does the attached patch (against trunk) fix this warning for you?

Yours,
-- andi5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lock.patch
Type: text/x-patch
Size: 1340 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080406/ca92722d/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080406/ca92722d/attachment-0001.bin 


More information about the gnucash-devel mailing list