gda branch errors
David Reiser
dbreiser at earthlink.net
Sun Apr 6 16:11:32 EDT 2008
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
If I disable-error-on-warning, then the build completes, I can launch
gnucash, and I can create a new data file. However, if I try to open
an existing xml gnucash data file, I get a blank account screen and no
data, with a couple repetitions of
Implementation missing: database_constraints_update_list() in gda-dict-
database.c line 1217
in the terminal window.
If the xml file I'm trying to open has pending scheduled transactions,
I get
The server at URL/Users/dbr/.gnucash/data/datafile.db experienced an
error or encountered bad or corrupt data.
By the time it fails, gnucash has created a .db file in .gnucash/data
that's about 53kb in size.
Dave
--
David Reiser
dbreiser at earthlink.net
Mac OS X 10.5.2, gcc 4.0.1
More information about the gnucash-devel
mailing list