CVS broken in postgresq/test

Matthew Vanecek mevanecek at
Sat Feb 22 11:50:45 CST 2003

Dave submitted a bunch of changes this morning, and they broke two
things in postgres/test.

1) -- AM_CFLAGS needs to include "-I${top_srcdir}/src", in
order to pick up guile-mappings.h.

2) test-db.c uses gh_enter, and it was changed.  I get this error, which
I don't know how to resolve without reverting the change:

gcc -DHAVE_CONFIG_H -I. -I. -I../../../..   
-I../../../../src/gnc-module -I../../../../src/test-core
-I../../../../src/engine -I../../../../src/engine/test-core -I.. -I./..
-I../../../../src  -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -g
-O2 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  
-Werror -c test-db.c
cc1: warnings being treated as errors
test-db.c: In function `main':
test-db.c:1135: warning: passing arg 3 of `gh_enter' from incompatible
pointer type
test-db.c:1135: too many arguments to function `gh_enter'
make[5]: *** [test-db.o] Error 1

I'm hesitant to change it back without hearing from Dave re reasoning,
correctness of fix to support future guile, etc.
Matthew Vanecek
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
For 93 million miles, there is nothing between the sun and my shadow except me.
I'm always getting in the way of something...

More information about the gnucash-devel mailing list